ETrice/Development/Implementation ideas

From Eclipsepedia

< ETrice‎ | Development
Revision as of 08:03, 16 August 2012 by Hrr.protos.de (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Implementation Ideas and Details

Xtext

Graphiti

For the implementation of state machine animation we need

  • multiple instances of one diagram (several editors for one file)
  • highlighting of states and transitions
  • read-only mode of the editor

read-only mode of the editor

The read-only mode of the editor can be achieved by using the ConfigurableFeatureProviderWrapper. It checks whether the ToolBehaviorProvider is an instance of IFeatureCheckerHolder and if so retrieves its FeatureChecker. For this the FeatureCheckerAdapter can be used.