|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.ui.view.swt.DefaultReferenceService
public class DefaultReferenceService
Constructor Summary | |
---|---|
DefaultReferenceService()
|
Method Summary | |
---|---|
void |
addExistingModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Adds existing model elements to the EReference . |
void |
addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Adds new model elements to the EReference . |
void |
dispose()
Dispose. |
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 DefaultReferenceService()
Method Detail |
---|
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()
public void addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference)
EReference
.
The implementation is responsible for providing a selection meachsims, e.g. a dialog.
addNewModelElements
in interface ReferenceService
eObject
- the EObject
to addeReference
- the EReference
to add the EObject
topublic void openInNewContext(org.eclipse.emf.ecore.EObject eObject)
EObject
in a new context.
openInNewContext
in interface ReferenceService
eObject
- the EObject
to open in a new contextReferenceService.openInNewContext(org.eclipse.emf.ecore.EObject)
public void addExistingModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference)
EReference
.
The implementation is responsible for providing a selection meachsims, e.g. a dialog.
addExistingModelElements
in interface ReferenceService
eObject
- the EObject
to addeReference
- the EReference
to add the EObject
toReferenceService.addExistingModelElements(org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EReference)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |