Class GenModelGroupExpansionViewModelService
- java.lang.Object
-
- org.eclipse.emfforms.internal.editor.genmodel.service.GenModelGroupExpansionViewModelService
-
- All Implemented Interfaces:
ViewModelService
public class GenModelGroupExpansionViewModelService extends java.lang.Object implements ViewModelService
ThisViewModelService
tracks the collapsed state of the groups used inview model
of theGenModelEditor
. The group state is stored statically so it is the same across all input models.- Author:
- Martin Fleck
-
-
Constructor Summary
Constructors Constructor Description GenModelGroupExpansionViewModelService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Dispose.int
getPriority()
Returns the priority for this view service.void
instantiate(ViewModelContext context)
Instantiate the view service.
-
-
-
Method Detail
-
instantiate
public void instantiate(ViewModelContext context)
Instantiate the view service.- Specified by:
instantiate
in interfaceViewModelService
- Parameters:
context
- theViewModelContext
- See Also:
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
-
dispose
public void dispose()
Dispose.- Specified by:
dispose
in interfaceViewModelService
- See Also:
ViewModelService.dispose()
-
getPriority
public int getPriority()
Returns the priority for this view service.- Specified by:
getPriority
in interfaceViewModelService
- Returns:
- the priority
- See Also:
ViewModelService.getPriority()
-
-