|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.command.AbstractCommand
org.eclipse.uml2.edit.util.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.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 | |
boolean |
canUndo()
|
void |
execute()
|
protected ChangeDescription |
getChangeDescription()
|
EditingDomain |
getEditingDomain()
|
protected Runnable |
getRunnable()
|
protected boolean |
prepare()
|
void |
redo()
|
protected void |
setChangeDescription(ChangeDescription changeDescription)
|
void |
undo()
|
| Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
canExecute, chain, dispose, 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 |
public ChangeCommand(EditingDomain editingDomain,
Runnable runnable)
public ChangeCommand(EditingDomain editingDomain,
Runnable runnable,
String label)
public ChangeCommand(EditingDomain editingDomain,
Runnable runnable,
String label,
String description)
| Method Detail |
public EditingDomain getEditingDomain()
protected Runnable getRunnable()
protected ChangeDescription getChangeDescription()
protected void setChangeDescription(ChangeDescription changeDescription)
protected boolean prepare()
public boolean canUndo()
public void execute()
public void undo()
public void redo()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||