Task #2105

Task #2113: Use the new TXMResult and TXMEditor hierarchy and centralization

TXMResult and TXMEditor hierarchy, modify Progression related classes to use the new hierarchy

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

Status:Closed Start date:04/05/2017
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Development Spent time: -
Target version:TXM 0.8.0a (split/restructuration)

Description

TXMResult and TXMEditor hierarchy, modify Progression related classes to use the new hierarchy.

Steps

  • implement "public boolean compute(ProgressWatcher watcher, TXMCommandParameters parameters)" in result class
    => TODO
  • check the abstract handler to extract all computing code to the result compute() method
    => TODO
  • check the editor part code
    • use the methods getIntParametersValue(), etc. to fill the widgets in the command parameters area
      => TODO
    • "public void computeResult(boolean update)" and use in it a TXMCommandParameters created with the values from the parameters area widget to compute the result
      => TODO
    • check that "public void createPartControl(final Composite parent)" method call "super.createPartControl(parent)" to create the parameters widgets inside the hideable parameters area controlled by hide/show the editor tool bar button
      => TODO

getName() generated string (Editor/Tab title and Status bar when clicking on a result node)

PARENT_CORPUS_SIMPLE_NAME + ": " + QUERIES

eg.: VOEUX: ["faire", "voir"]

getDetails() generated string (Editor/Tab tool tip)

Idem

getSimpleName() generated string (Tree node label)

QUERIES

eg.: ["faire", "voir"]

History

#1 Updated by Sebastien Jacquot about 2 years ago

  • Subject changed from Progression, modify classes to use the new TXMResult and TXMEditor hierarchy to TXMResult and TXMEditor hierarchy, modify Progression related classes to use the new hierarchy
  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 2 years ago

  • Parent task set to #2113

#3 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • % Done changed from 0 to 80

#4 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)
  • % Done changed from 80 to 50

#6 Updated by Sebastien Jacquot about 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF