Task #2067

Updated by Sebastien Jacquot over 1 year ago

First proposals:

* define the class TXMEditor/ResultEditor replacing the interface CustomizableEditor *DONE*
* define a root class TXMEditorInput/ResultEditorInput *DONE*
** containing at least a TXMResult and a getResult() method *DONE*
** if needed, link the names of TXMEditorInput and TXMResult (using TXMTResult.getName() or other methods, need to be defined) *DONE*
** link the names and tool tip of TXMEditor to TXMResult (using TXMTResult.getName() or other methods, need to be defined). The purpose here is to offer the possibility to have a dynamic name based on the real TXM result computation *DONE*
* add some wrapper methods to return the TXMResult from the TXMEditor *DONE*
* define a shared toolbar as TXMEditorToolBar/ResultToolBar and register it to menu contribution *DONE*
** containing an "Export data" button *TODO, move to new issue?*
** a "Show/hide parameters" to display/hide the command parameters (*open* by default when the result is not computed and *hidden* if the result is already computed) *DONE based on TXMResult.canCompute() and TXMResult.isDirty()*
* modify actual editors and editor inputs used for result to make them inherit from the above classes *DONE*
* modify ChartEditorPart, ChartEditorInput to make them inherit from the above classes *ALMOST DONE*

Back