org.eclipse.emf.emfstore.internal.client.model.util
Class EMFStoreCommandWithParameter<T>

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.EMFStoreCommandWithParameter<T>
Type Parameters:
T - parameter type
All Implemented Interfaces:
org.eclipse.emf.common.command.Command

public abstract class EMFStoreCommandWithParameter<T>
extends AbstractEMFStoreCommand

Command with a parameter.

Author:
emueller

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Constructor Summary
EMFStoreCommandWithParameter()
           
 
Method Summary
 void run(T parameter, 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

EMFStoreCommandWithParameter

public EMFStoreCommandWithParameter()
Method Detail

run

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

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


Copyright © 2015. All Rights Reserved.