public interface IModelConnector
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.Notifier |
getNotifier(org.eclipse.viatra.query.runtime.api.IModelConnectorTypeEnum modelConnectorTypeEnum) |
org.eclipse.ui.IWorkbenchPart |
getOwner() |
java.util.Collection<org.eclipse.emf.ecore.EObject> |
getSelectedEObjects()
Returns the objects currently selected at the adapted model.
|
void |
loadModel(org.eclipse.viatra.query.runtime.api.IModelConnectorTypeEnum modelConnectorTypeEnum)
Loads the instance model into the
QueryExplorer . |
void |
showLocation(java.lang.Object[] locationObjects) |
void |
unloadModel()
Unloads the instance model from the
QueryExplorer . |
void loadModel(org.eclipse.viatra.query.runtime.api.IModelConnectorTypeEnum modelConnectorTypeEnum)
QueryExplorer
.modelConnectorTypeEnum
- The model type which should be loaded.void unloadModel()
QueryExplorer
.org.eclipse.emf.common.notify.Notifier getNotifier(org.eclipse.viatra.query.runtime.api.IModelConnectorTypeEnum modelConnectorTypeEnum)
modelConnectorTypeEnum
- void showLocation(java.lang.Object[] locationObjects)
locationObjects
- Shows the location of these objects inside the specific editor.org.eclipse.ui.IWorkbenchPart getOwner()
java.util.Collection<org.eclipse.emf.ecore.EObject> getSelectedEObjects()