Class PalladioComponentModelModelingAssistantProvider
- java.lang.Object
-
- org.eclipse.gmf.runtime.common.core.service.AbstractProvider
-
- org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
-
- de.uka.ipd.sdq.pcm.gmf.composite.providers.PalladioComponentModelModelingAssistantProvider
-
- All Implemented Interfaces:
org.eclipse.gmf.runtime.common.core.service.IProvider
,org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
public class PalladioComponentModelModelingAssistantProvider extends org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
- Generated class or method.
-
-
Constructor Summary
Constructors Constructor Description PalladioComponentModelModelingAssistantProvider()
-
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)
Get the types to provide within a pop-up bar (hover context menu) in the editor.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)
Get the types to provide within a pop-up bar (hover context menu) in the editor. This method has been manually adopted to disable the creation of new Composed Providing Requiring Entities within the same system.- 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
- Parameters:
host
- the host- Returns:
- the types for popup bar
- Generated class or method.
- not
-
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.
-
-