Class AddDataRole<T extends org.palladiosimulator.pcm.repository.Role>

java.lang.Object
org.palladiosimulator.indirections.editor.sirius.javaactions.AddDataRole<T>
All Implemented Interfaces:
org.eclipse.sirius.tools.api.ui.IExternalJavaAction
Direct Known Subclasses:
AddDataSinkRole, AddDataSourceRole

public abstract class AddDataRole<T extends org.palladiosimulator.pcm.repository.Role> extends Object implements org.eclipse.sirius.tools.api.ui.IExternalJavaAction
  • Constructor Details

    • AddDataRole

      public AddDataRole(String namePostExtension)
  • Method Details

    • setInterface

      protected abstract void setInterface(T role, DataInterface dInterface)
    • getRelevantRoles

      protected abstract Collection<T> getRelevantRoles(org.palladiosimulator.pcm.core.entity.InterfaceProvidingRequiringEntity entity)
    • canExecute

      public boolean canExecute(Collection<? extends EObject> arg0)
      Specified by:
      canExecute in interface org.eclipse.sirius.tools.api.ui.IExternalJavaAction
    • execute

      public void execute(Collection<? extends EObject> selection, Map<String,Object> parameters)
      Specified by:
      execute in interface org.eclipse.sirius.tools.api.ui.IExternalJavaAction