Task #2689

RCP: X.X, clarify TXMResult persisted values

Added by Matthieu Decorde about 2 years ago. Updated 7 months ago.

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

0%

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

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 7 months ago

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

Also available in: Atom PDF