public class TestGlobalViewModelService extends Object implements GlobalViewModelService
Constructor and Description |
---|
TestGlobalViewModelService() |
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 instantiate(ViewModelContext context)
ViewModelService
instantiate
in interface ViewModelService
context
- the ViewModelContext
public void dispose()
ViewModelService
dispose
in interface ViewModelService
public int getPriority()
ViewModelService
getPriority
in interface ViewModelService
public void childViewModelContextAdded(ViewModelContext childContext)
GlobalViewModelService
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.Copyright © 2018. All rights reserved.