Task #2689

RCP: X.X, clarify TXMResult persisted values

Added by Matthieu Decorde almost 4 years ago. Updated over 2 years ago.

Status:New Start date:12/03/2019
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Toolbox Spent time: -
Target version:TXM 0.8.4

Description

In the TXMResult class use the "@Parameter type=INTERNAL" annotation instead of calling autoSaveParametersFromAnnotations&autoLoading to load the following class fields :

  • in TXMResult() constructor, clone(), importParameters() : TXMPreferences.PARENT_PARAMETERS_NODE_PATH
  • in autoSaveParametersFromAnnotations(), importParameters() : TXMPreferences.BUNDLE_ID
  • in autoSaveParametersFromAnnotations(), importParameters() : TXMPreferences.RESULT_PARAMETERS_NODE_PATH
  • in autoSaveParametersFromAnnotations(), importParameters() : TXMPreferences.CLASS

Values are stored&read manually in these methods which makes it hard to maintain

History

#1 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)
  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF