org.eclipse.emf.edit.ui.action
Class ControlAction.SelfAffectingCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.emf.common.command.CommandWrapper
          extended by org.eclipse.emf.edit.ui.action.ControlAction.SelfAffectingCommand
All Implemented Interfaces:
Command
Enclosing class:
ControlAction

protected class ControlAction.SelfAffectingCommand
extends CommandWrapper


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
AbstractCommand.NonDirtying
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.command.CommandWrapper
command
 
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
 
Method Summary
 java.util.Collection<?> getAffectedObjects()
          Delegates to the getAffectedObjects method of the command.
 java.util.Collection<?> getResult()
          Delegates to the getResult method of the command.
 
Methods inherited from class org.eclipse.emf.common.command.CommandWrapper
canUndo, createCommand, dispose, execute, getCommand, getDescription, getLabel, prepare, redo, toString, undo
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, chain, setDescription, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getResult

public java.util.Collection<?> getResult()
Description copied from class: CommandWrapper
Delegates to the getResult method of the command.

Specified by:
getResult in interface Command
Overrides:
getResult in class CommandWrapper
Returns:
the result.

getAffectedObjects

public java.util.Collection<?> getAffectedObjects()
Description copied from class: CommandWrapper
Delegates to the getAffectedObjects method of the command.

Specified by:
getAffectedObjects in interface Command
Overrides:
getAffectedObjects in class CommandWrapper
Returns:
the result.

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.