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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canExecute
(Collection<? extends EObject> arg0) void
protected abstract Collection<T>
getRelevantRoles
(org.palladiosimulator.pcm.core.entity.InterfaceProvidingRequiringEntity entity) protected abstract void
setInterface
(T role, DataInterface dInterface)
-
Constructor Details
-
AddDataRole
-
-
Method Details
-
setInterface
-
getRelevantRoles
protected abstract Collection<T> getRelevantRoles(org.palladiosimulator.pcm.core.entity.InterfaceProvidingRequiringEntity entity) -
canExecute
- Specified by:
canExecute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
execute
- Specified by:
execute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-