|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.spi.ui.ECPReferenceServiceImpl
public class ECPReferenceServiceImpl
| Constructor Summary | |
|---|---|
ECPReferenceServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addModelElement(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Adds a model element to the EReference. |
void |
dispose()
Dispose. |
org.eclipse.emf.ecore.EObject |
getExistingElementFor(org.eclipse.emf.ecore.EReference eReference)
Returns an existing EObject that is suitable for the passed EReference. |
org.eclipse.emf.ecore.EObject |
getNewElementFor(org.eclipse.emf.ecore.EReference eReference)
Returns a new EObject that is suitable for the passed EReference. |
int |
getPriority()
Returns the priority for this view service. |
void |
instantiate(ViewModelContext context)
Instantiate the view service. |
void |
openInNewContext(org.eclipse.emf.ecore.EObject eObject)
Opens an EObject in a new context. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECPReferenceServiceImpl()
| Method Detail |
|---|
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()
public void addModelElement(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
EReference.
addModelElement in interface ReferenceServiceeObject - the EObject to addeReference - the EReference to add the EObject toReferenceService.addModelElement(org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EReference)public org.eclipse.emf.ecore.EObject getNewElementFor(org.eclipse.emf.ecore.EReference eReference)
EObject that is suitable for the passed EReference.
getNewElementFor in interface ReferenceServiceeReference - the reference to create the element for
ReferenceService.getNewElementFor(org.eclipse.emf.ecore.EReference)public org.eclipse.emf.ecore.EObject getExistingElementFor(org.eclipse.emf.ecore.EReference eReference)
EObject that is suitable for the passed EReference.
getExistingElementFor in interface ReferenceServiceeReference - the EReference to find an existing Element for
EObject that can be used in this EReference, the returned EObject must
already be in the containment treeReferenceService.getExistingElementFor(org.eclipse.emf.ecore.EReference)public void openInNewContext(org.eclipse.emf.ecore.EObject eObject)
EObject in a new context.
openInNewContext in interface ReferenceServiceeObject - the EObject to open in a new contextReferenceService.openInNewContext(org.eclipse.emf.ecore.EObject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||