Class 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 Detail

      • PalladioComponentModelModelingAssistantProvider

        public PalladioComponentModelModelingAssistantProvider()
    • 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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getTypesForPopupBar in class org.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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getRelTypesOnSource in class org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
        Generated class or method.
      • getRelTypesOnTarget

        public List getRelTypesOnTarget​(IAdaptable target)
        Specified by:
        getRelTypesOnTarget in interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getRelTypesOnTarget in class org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
        Generated class or method.
      • getRelTypesOnSourceAndTarget

        public List getRelTypesOnSourceAndTarget​(IAdaptable source,
                                                 IAdaptable target)
        Specified by:
        getRelTypesOnSourceAndTarget in interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getRelTypesOnSourceAndTarget in class org.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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getTypesForSource in class org.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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        getTypesForTarget in class org.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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        selectExistingElementForSource in class org.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 interface org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.IModelingAssistantProvider
        Overrides:
        selectExistingElementForTarget in class org.eclipse.gmf.runtime.emf.ui.services.modelingassistant.ModelingAssistantProvider
        Generated class or method.
      • isApplicableElement

        protected boolean isApplicableElement​(EObject element,
                                              Collection types)
        Generated class or method.
      • selectElement

        protected EObject selectElement​(EObject[] elements)
        Generated class or method.