Class AddResourceCommand

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

    public class AddResourceCommand
    extends org.eclipse.emf.edit.command.ChangeCommand
    Command to add a metamodel resource to 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doExecute()
      • Methods inherited from class org.eclipse.emf.edit.command.ChangeCommand

        dispose, execute, getChangeRecorder, redo, undo
      • Methods inherited from class org.eclipse.emf.common.command.AbstractCommand

        canExecute, canUndo, chain, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString
    • Constructor Detail

      • AddResourceCommand

        public AddResourceCommand​(EditingDomainListener listener,
                                  org.eclipse.emf.ecore.resource.Resource resource)
        Constructor.
    • Method Detail

      • doExecute

        public void doExecute()