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
-
Method Summary
Modifier and TypeMethodDescriptiongetRelTypesOnSource
(IAdaptable source) getRelTypesOnSourceAndTarget
(IAdaptable source, IAdaptable target) getRelTypesOnTarget
(IAdaptable target) Get the types to provide within a pop-up bar (hover context menu) in the editor.getTypesForSource
(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType) 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) selectExistingElementForSource
(IAdaptable target, org.eclipse.gmf.runtime.emf.type.core.IElementType relationshipType) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider
addProviderChangeListener, removeProviderChangeListener
-
Constructor Details
-
PalladioComponentModelModelingAssistantProvider
public PalladioComponentModelModelingAssistantProvider()
-
-
Method Details
-
getTypesForPopupBar
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
- 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
- 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
- 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
- Generated class or method.
-
isApplicableElement
- Generated class or method.
-
selectElement
- Generated class or method.
-