Class SetVariableActionEditHelperAdvice
java.lang.Object
org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
de.uka.ipd.sdq.pcm.gmf.seff.helper.SetVariableActionEditHelperAdvice
- All Implemented Interfaces:
org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice
public class SetVariableActionEditHelperAdvice
extends org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
implements org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice
This class defines an EditHelper to handle the creation of an SetVariableAction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.gmf.runtime.common.core.command.ICommand
getBeforeConfigureCommand
(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request) Gets the before configure command.protected boolean
hasReturn
(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request) Checks whether the SEFF corresponding to the request has a signature with at least one return type specified.Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
approveRequest, configureRequest, createType, createType, getAfterConfigureCommand, getAfterCreateCommand, getAfterCreateRelationshipCommand, getAfterDestroyDependentsCommand, getAfterDestroyElementCommand, getAfterDestroyReferenceCommand, getAfterDuplicateCommand, getAfterEditCommand, getAfterEditContextCommand, getAfterMoveCommand, getAfterReorientReferenceRelationshipCommand, getAfterReorientRelationshipCommand, getAfterSetCommand, getBeforeCreateCommand, getBeforeCreateRelationshipCommand, getBeforeDestroyDependentsCommand, getBeforeDestroyElementCommand, getBeforeDestroyReferenceCommand, getBeforeDuplicateCommand, getBeforeEditCommand, getBeforeEditContextCommand, getBeforeMoveCommand, getBeforeReorientReferenceRelationshipCommand, getBeforeReorientRelationshipCommand, getBeforeSetCommand
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.emf.type.core.edithelper.IEditHelperAdvice
approveRequest, configureRequest, getAfterEditCommand, getBeforeEditCommand
-
Constructor Details
-
SetVariableActionEditHelperAdvice
public SetVariableActionEditHelperAdvice()
-
-
Method Details
-
getBeforeConfigureCommand
protected org.eclipse.gmf.runtime.common.core.command.ICommand getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request) Gets the before configure command.- Overrides:
getBeforeConfigureCommand
in classorg.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
- Parameters:
request
- the request- Returns:
- the before configure command
- See Also:
-
AbstractEditHelperAdvice.getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest)
-
hasReturn
protected boolean hasReturn(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request) Checks whether the SEFF corresponding to the request has a signature with at least one return type specified.- Parameters:
request
- to be checked- Returns:
- true if return parameter(s) of signature specified
-