org.eclipse.emf.emfstore.internal.client.model.util
Class EMFStoreCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand
          extended by org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command
Direct Known Subclasses:
EMFStoreCommandWithException

public abstract class EMFStoreCommand
extends AbstractEMFStoreCommand

Recording command that can buffer a result for later retrieval.

Author:
koegel

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Constructor Summary
EMFStoreCommand()
          Default Constructor.
EMFStoreCommand(String label)
          Constructor.
 
Method Summary
 void run()
          Executes the command on the workspaces editing domain with ignoring runtime exceptions.
 void run(boolean ignoreExceptions)
          Executes the command on the workspaces editing domain.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand
canUndo, execute, getRuntimeException, redo, shouldIgnoreExceptions
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, chain, dispose, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString, undo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMFStoreCommand

public EMFStoreCommand(String label)
Constructor.

Parameters:
label - the commands label.

EMFStoreCommand

public EMFStoreCommand()
Default Constructor.

Method Detail

run

public void run(boolean ignoreExceptions)
Executes the command on the workspaces editing domain.

Parameters:
ignoreExceptions - true if any thrown exception in the execution of the command should be ignored.

run

public void run()
Executes the command on the workspaces editing domain with ignoring runtime exceptions.



Copyright © 2015. All Rights Reserved.