Class CreateHistoryCommand

  • All Implemented Interfaces:
    org.eclipse.emf.common.command.Command

    public class CreateHistoryCommand
    extends org.eclipse.emf.common.command.AbstractCommand
    Command to create the history.
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand

        org.eclipse.emf.common.command.AbstractCommand.NonDirtying
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateHistoryCommand​(org.eclipse.emf.ecore.presentation.EcoreEditor editor, List<org.eclipse.emf.ecore.resource.Resource> metamodelResources, org.eclipse.emf.common.util.URI historyURI)
      Constructor.
    • Constructor Detail

      • CreateHistoryCommand

        public CreateHistoryCommand​(org.eclipse.emf.ecore.presentation.EcoreEditor editor,
                                    List<org.eclipse.emf.ecore.resource.Resource> metamodelResources,
                                    org.eclipse.emf.common.util.URI historyURI)
        Constructor.
    • Method Detail

      • execute

        public void execute()
      • canUndo

        public boolean canUndo()
        Specified by:
        canUndo in interface org.eclipse.emf.common.command.Command
        Overrides:
        canUndo in class org.eclipse.emf.common.command.AbstractCommand
      • redo

        public void redo()