public class TestGlobalViewModelService2 extends Object implements ITestGlobalViewModelService
Constructor and Description |
---|
TestGlobalViewModelService2() |
Modifier and Type | Method and Description |
---|---|
void |
childViewModelContextAdded(ViewModelContext childContext)
This method is called whenever a new
ViewModelContext is added as a child context to the root
ViewModelContext this GlobalViewModelService belongs to. |
void |
dispose()
Dispose.
|
int |
getPriority()
Returns the priority for this view service.
|
void |
instantiate(ViewModelContext context)
Instantiate the view service.
|
public void childViewModelContextAdded(ViewModelContext childContext)
ViewModelContext
is added as a child context to the root
ViewModelContext
this GlobalViewModelService
belongs to.childViewModelContextAdded
in interface GlobalViewModelService
childContext
- The ViewModelContext
that was added.GlobalViewModelService.childViewModelContextAdded(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public void instantiate(ViewModelContext context)
instantiate
in interface ViewModelService
context
- the ViewModelContext
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public void dispose()
dispose
in interface ViewModelService
ViewModelService.dispose()
public int getPriority()
getPriority
in interface ViewModelService
ViewModelService.getPriority()
Copyright © 2018. All rights reserved.