org.eclipse.uml2.common.edit.command
Class ChangeCommand

java.lang.Object
  extended byorg.eclipse.emf.common.command.AbstractCommand
      extended byorg.eclipse.emf.edit.command.ChangeCommand
          extended byorg.eclipse.uml2.common.edit.command.ChangeCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
UMLCommandAction.RefreshingChangeCommand

public class ChangeCommand
extends ChangeCommand


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand
AbstractCommand.NonDirtying
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.command.ChangeCommand
changeDescription, changeRecorder, notifier, notifiers
 
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
 
Constructor Summary
ChangeCommand(EditingDomain editingDomain, Runnable runnable)
           
ChangeCommand(EditingDomain editingDomain, Runnable runnable, String label)
           
ChangeCommand(EditingDomain editingDomain, Runnable runnable, String label, String description)
           
 
Method Summary
protected  void doExecute()
           
 EditingDomain getEditingDomain()
           
protected  Runnable getRunnable()
           
 
Methods inherited from class org.eclipse.emf.edit.command.ChangeCommand
canUndo, createChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undo
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, chain, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeCommand

public ChangeCommand(EditingDomain editingDomain,
                     Runnable runnable)

ChangeCommand

public ChangeCommand(EditingDomain editingDomain,
                     Runnable runnable,
                     String label)

ChangeCommand

public ChangeCommand(EditingDomain editingDomain,
                     Runnable runnable,
                     String label,
                     String description)
Method Detail

getEditingDomain

public EditingDomain getEditingDomain()

getRunnable

protected Runnable getRunnable()

doExecute

protected void doExecute()

Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.