Class EMFProfileModelingAssistantProvider
- java.lang.Object
-
- org.eclipse.gmf.runtime.common.core.service.AbstractProvider
-
- org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
-
- org.modelversioning.emfprofile.diagram.providers.EMFProfileModelingAssistantProvider
-
- All Implemented Interfaces:
org.eclipse.gmf.runtime.common.core.service.IProvider
,org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
public class EMFProfileModelingAssistantProvider extends org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
-
Constructor Summary
Constructors Constructor Description EMFProfileModelingAssistantProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getRelTypesOnSource(IAdaptable source)
List
getRelTypesOnSourceAndTarget(IAdaptable source, IAdaptable target)
List
getRelTypesOnTarget(IAdaptable target)
List
getTypesForPopupBar(IAdaptable host)
List
getTypesForSource(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
List
getTypesForTarget(IAdaptable source, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
protected boolean
isApplicableElement(EObject element, Collection types)
protected EObject
selectElement(EObject[] elements)
protected EObject
selectExistingElement(IAdaptable host, Collection types)
EObject
selectExistingElementForSource(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
EObject
selectExistingElementForTarget(IAdaptable source, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
-
Methods inherited from class org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
getRelTypesForSREOnSource, getRelTypesForSREOnTarget, getTypes, provides
-
Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider
addProviderChangeListener, fireProviderChange, removeProviderChangeListener
-
-
-
-
Method Detail
-
getTypesForPopupBar
public List getTypesForPopupBar(IAdaptable host)
- Specified by:
getTypesForPopupBar
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getTypesForPopupBar
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
getRelTypesOnSource
public List getRelTypesOnSource(IAdaptable source)
- Specified by:
getRelTypesOnSource
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getRelTypesOnSource
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
getRelTypesOnTarget
public List getRelTypesOnTarget(IAdaptable target)
- Specified by:
getRelTypesOnTarget
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getRelTypesOnTarget
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
getRelTypesOnSourceAndTarget
public List getRelTypesOnSourceAndTarget(IAdaptable source, IAdaptable target)
- Specified by:
getRelTypesOnSourceAndTarget
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getRelTypesOnSourceAndTarget
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
getTypesForSource
public List getTypesForSource(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
- Specified by:
getTypesForSource
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getTypesForSource
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
getTypesForTarget
public List getTypesForTarget(IAdaptable source, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
- Specified by:
getTypesForTarget
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
getTypesForTarget
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
selectExistingElementForSource
public EObject selectExistingElementForSource(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
- Specified by:
selectExistingElementForSource
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
selectExistingElementForSource
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
selectExistingElementForTarget
public EObject selectExistingElementForTarget(IAdaptable source, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType)
- Specified by:
selectExistingElementForTarget
in interfaceorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
- Overrides:
selectExistingElementForTarget
in classorg.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
selectExistingElement
protected EObject selectExistingElement(IAdaptable host, Collection types)
- Generated class or method.
-
isApplicableElement
protected boolean isApplicableElement(EObject element, Collection types)
- Generated class or method.
-
-