Class TestGlobalViewModelService
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.legacy.TestGlobalViewModelService
-
- All Implemented Interfaces:
GlobalViewModelService
,ViewModelService
public class TestGlobalViewModelService extends java.lang.Object implements GlobalViewModelService
-
-
Constructor Summary
Constructors Constructor Description TestGlobalViewModelService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
childViewModelContextAdded(ViewModelContext childContext)
This method is called whenever a newViewModelContext
is added as a child context to the rootViewModelContext
thisGlobalViewModelService
belongs to.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)
Description copied from interface:ViewModelService
Instantiate the view service.- Specified by:
instantiate
in interfaceViewModelService
- Parameters:
context
- theViewModelContext
-
dispose
public void dispose()
Description copied from interface:ViewModelService
Dispose.- Specified by:
dispose
in interfaceViewModelService
-
getPriority
public int getPriority()
Description copied from interface:ViewModelService
Returns the priority for this view service.- Specified by:
getPriority
in interfaceViewModelService
- Returns:
- the priority
-
childViewModelContextAdded
public void childViewModelContextAdded(ViewModelContext childContext)
Description copied from interface:GlobalViewModelService
This method is called whenever a newViewModelContext
is added as a child context to the rootViewModelContext
thisGlobalViewModelService
belongs to.- Specified by:
childViewModelContextAdded
in interfaceGlobalViewModelService
- Parameters:
childContext
- TheViewModelContext
that was added.
-
-