Class EmitEventActionEditHelperAdvice

  • All Implemented Interfaces:
    org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice

    public class EmitEventActionEditHelperAdvice
    extends org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
    implements org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice
    Edit helper for the EmitEventAction. Features are: - Open EventType selection dialog when EmitEventAction is created
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand​(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request)
      When an EmitEventAction is created: - Open the dialog to select an EventType this action is able to emit - Get the selected EventType and store it in the action.
      • Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice

        approveRequest, configureRequest, createType, createType, getAfterCreateCommand, getAfterCreateRelationshipCommand, getAfterDestroyDependentsCommand, getAfterDestroyElementCommand, getAfterDestroyReferenceCommand, getAfterDuplicateCommand, getAfterEditCommand, getAfterEditContextCommand, getAfterMoveCommand, getAfterReorientReferenceRelationshipCommand, getAfterReorientRelationshipCommand, getAfterSetCommand, getBeforeConfigureCommand, 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

      • EmitEventActionEditHelperAdvice

        public EmitEventActionEditHelperAdvice()
    • Method Detail

      • getAfterConfigureCommand

        protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand​(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest request)
        When an EmitEventAction is created: - Open the dialog to select an EventType this action is able to emit - Get the selected EventType and store it in the action.
        Overrides:
        getAfterConfigureCommand in class org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice
        Parameters:
        request - the request
        Returns:
        the after configure command
        See Also:
        AbstractEditHelperAdvice.getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest)