|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.view.treemasterdetail.internal.validation.TreeMasterDetailValidationInitiator
public class TreeMasterDetailValidationInitiator
The TreeMasterDatailValidationInitiator searches for VTreeMasterDetail VElements and registers the necessary
ViewModelContexts.
| Field Summary | |
|---|---|
static String |
DETAIL_KEY
The detail key passed to the view model context. |
static String |
ROOT_KEY
Context key for the root. |
| Constructor Summary | |
|---|---|
TreeMasterDetailValidationInitiator()
Constructor of the Initiator. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DETAIL_KEY
public static final String ROOT_KEY
| Constructor Detail |
|---|
public TreeMasterDetailValidationInitiator()
| Method Detail |
|---|
public void instantiate(ViewModelContext context)
ViewModelService
instantiate in interface ViewModelServicecontext - the ViewModelContextpublic void dispose()
ViewModelService
dispose in interface ViewModelServicepublic int getPriority()
ViewModelService
getPriority in interface ViewModelServicepublic 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||