Task #2067

Mutualize and clarify the TXMEditor part, root of all editors

Added by Sebastien Jacquot over 2 years ago. Updated about 1 year ago.

Status:In Progress Start date:03/04/2017
Priority:Normal Due date:
Assignee:- % Done:

80%

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

Description

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

History

#1 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 50

#6 Updated by Sebastien Jacquot about 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.1
  • % Done changed from 50 to 80

Need to formalize the new mechanism in the Specs/Wiki.

Also available in: Atom PDF