Feature #1103

Clone results and editors/tabs

Added by Sebastien Jacquot almost 5 years ago. Updated 6 months ago.

Status:Feedback Start date:11/04/2014
Priority:Normal Due date:
Assignee:- % Done:

50%

Category:Development Spent time: -
Target version:TXM 0.8.1

Description

FR : commande 'Cloner la vue' -> duplique entièrement l'éditeur pour que l'utilisateur puisse explorer une configuration de vues particulière sans altérer la vue courante

SJ: should this feature be introduced to all the editors in TXM?

Prerequisite: add function to clone a TXMResult.

Solution

  • implement ITXMResult.clone()
  • create and add a command "Clone result" in plugin.xml visible on instanceof ITXMREsult test
  • add a button to the TXMEditor tool bar to clone the result from the editor and open the new editor?

History

#1 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#2 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 2 years ago

  • Subject changed from RCP: 0.7.6, clone an editor/tab to Clone results and editor/tab
  • Category changed from Charts to Development

#4 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot over 2 years ago

  • Subject changed from Clone results and editor/tab to Clone results and editors/tabs

#6 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot about 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#8 Updated by Sebastien Jacquot about 1 year ago

The command is partially implemented but has been disabled from menus in plugin.xml of org.txm.partition.rcp by adding a fake test.
Also see: org.txm.rcp.handlers.results.CloneTXMResult

#9 Updated by Sebastien Jacquot 9 months ago

  • % Done changed from 0 to 80

Done.
Notes:
The command is accessible via context menu of a result node in the corpora view.
1) "Cloner" => clone the result
- but does not open the new result editor, maybe modify this behavior?
2) "Cloner tout" clone the result and all its descendants
- "Cloner tout", the label doesn't seem to be explicit enough, it's like if the command would clone all the results of the view
3) add some buttons in the editor or in the main toolbar?
4) the chart cloning doesn't keep all the rendering parameters (pan, zoom are lost)
5) the functionality may do not what we expect, eg. cloning a CA does not clone the parent Lexical Table, the 2 new CAs shared the same parent, therefore editing the cloned CA will also edit the original CA. Need to specify what you want to offer

#10 Updated by Sebastien Jacquot 6 months ago

  • % Done changed from 80 to 50

#11 Updated by Sebastien Jacquot 6 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF