Class ModelEditorConfigurer
- java.lang.Object
-
- net.ssehub.easy.dslCore.ui.editors.ModelEditorConfigurer
-
public class ModelEditorConfigurer extends java.lang.ObjectDefines an interface and registration methods to describe how top-level models shall be displayed in the EASy product line editor. This helps separating language editors from the EASy UI. Please note that for the plain editor functionality, there is the#EditorEmbedderFactorywhich may also be used outside the EASY UI.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelEditorConfigurer.IHeaderDefines the interface for a header component created by a configurer.static interfaceModelEditorConfigurer.IModelEditorConfigurerThe actual configurer interface.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<ModelEditorConfigurer.IModelEditorConfigurer>COMPARATORImplements a comparator to sort configurers according to the ordinal.private static java.util.List<ModelEditorConfigurer.IModelEditorConfigurer>CONFIGURERSstatic booleanEMBED_DEFAULT_EASY_EDITORS
-
Constructor Summary
Constructors Constructor Description ModelEditorConfigurer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregister(ModelEditorConfigurer.IModelEditorConfigurer configurer)Registers a configurer.static java.lang.Iterable<ModelEditorConfigurer.IModelEditorConfigurer>registered()Allows iterating over the registered configurers.static voidunregister(ModelEditorConfigurer.IModelEditorConfigurer configurer)Unregisters a configurer.
-
-
-
Field Detail
-
EMBED_DEFAULT_EASY_EDITORS
public static final boolean EMBED_DEFAULT_EASY_EDITORS
-
COMPARATOR
public static final java.util.Comparator<ModelEditorConfigurer.IModelEditorConfigurer> COMPARATOR
Implements a comparator to sort configurers according to the ordinal.
-
CONFIGURERS
private static final java.util.List<ModelEditorConfigurer.IModelEditorConfigurer> CONFIGURERS
-
-
Method Detail
-
register
public static void register(ModelEditorConfigurer.IModelEditorConfigurer configurer)
Registers a configurer.- Parameters:
configurer- the configurer to register
-
unregister
public static void unregister(ModelEditorConfigurer.IModelEditorConfigurer configurer)
Unregisters a configurer.- Parameters:
configurer- the configurer to unregister
-
registered
public static java.lang.Iterable<ModelEditorConfigurer.IModelEditorConfigurer> registered()
Allows iterating over the registered configurers.- Returns:
- an iterable on the configurers
-
-