Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      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 interface org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice

        approveRequest, configureRequest, getAfterEditCommand, getBeforeEditCommand
    • Constructor Detail

      • SetVariableActionEditHelperAdvice

        public SetVariableActionEditHelperAdvice()
    • Method Detail

      • 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 class org.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