Class TestGlobalViewModelService2
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.legacy.TestGlobalViewModelService2
-
- All Implemented Interfaces:
GlobalViewModelService
,ViewModelService
,ITestGlobalViewModelService
public class TestGlobalViewModelService2 extends java.lang.Object implements ITestGlobalViewModelService
-
-
Constructor Summary
Constructors Constructor Description TestGlobalViewModelService2()
-
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
-
childViewModelContextAdded
public void childViewModelContextAdded(ViewModelContext childContext)
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.- See Also:
GlobalViewModelService.childViewModelContextAdded(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
-
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()
-
-