Class EReferenceReorientCommand

  • All Implemented Interfaces:
    IUndoableOperation, org.eclipse.gmf.runtime.common.core.command.ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult

    public class EReferenceReorientCommand
    extends org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
    Generated class or method.
    • Constructor Detail

      • EReferenceReorientCommand

        public EReferenceReorientCommand​(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest request)
        Generated class or method.
    • Method Detail

      • canExecute

        public boolean canExecute()
        Specified by:
        canExecute in interface IUndoableOperation
        Overrides:
        canExecute in class org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
        Generated class or method.
      • canReorientSource

        protected boolean canReorientSource()
        Generated class or method.
      • canReorientTarget

        protected boolean canReorientTarget()
        Generated class or method.
      • doExecuteWithResult

        protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult​(IProgressMonitor monitor,
                                                                                                IAdaptable info)
                                                                                         throws ExecutionException
        Specified by:
        doExecuteWithResult in class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
        Throws:
        ExecutionException
        Generated class or method.
      • reorientSource

        protected org.eclipse.gmf.runtime.common.core.command.CommandResult reorientSource()
                                                                                    throws ExecutionException
        Throws:
        ExecutionException
        Generated class or method.
      • reorientTarget

        protected org.eclipse.gmf.runtime.common.core.command.CommandResult reorientTarget()
                                                                                    throws ExecutionException
        Throws:
        ExecutionException
        Generated class or method.
      • getLink

        protected EReference getLink()
        Generated class or method.
      • getOldSource

        protected EClass getOldSource()
        Generated class or method.
      • getNewSource

        protected EClass getNewSource()
        Generated class or method.
      • getOldTarget

        protected EClassifier getOldTarget()
        Generated class or method.
      • getNewTarget

        protected EClassifier getNewTarget()
        Generated class or method.