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 GlobalViewModelServicechildContext - The ViewModelContext that was added.GlobalViewModelService.childViewModelContextAdded(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)public void instantiate(ViewModelContext context)
instantiate in interface ViewModelServicecontext - the ViewModelContextViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)public void dispose()
dispose in interface ViewModelServiceViewModelService.dispose()public int getPriority()
getPriority in interface ViewModelServiceViewModelService.getPriority()Copyright © 2020. All rights reserved.