|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gef.commands.Command
pl.edu.agh.cast.backward.command.EnhanceNodesCommand
public class EnhanceNodesCommand
A command that is to enhance Nodes from a IDiagram with
attributes from matching entities of given IDataSet.
This operation is not UnDo-able!
For details see
IDiagram.addAttributesFromEntities(java.util.Collection, java.util.Collection, java.util.Map, String, String,
String, org.eclipse.core.runtime.IProgressMonitor)| Constructor Summary | |
|---|---|
EnhanceNodesCommand(IDiagram diagram,
IDataSet dataSet)
Command constructor. |
|
| Method Summary | |
|---|---|
boolean |
canUndo()
This method always returns false. |
void |
execute()
|
void |
undo()
|
| Methods inherited from class org.eclipse.gef.commands.Command |
|---|
canExecute, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnhanceNodesCommand(IDiagram diagram,
IDataSet dataSet)
diagram - the diagram to enhancedataSet - enhancing data set| Method Detail |
|---|
public boolean canUndo()
false.
canUndo in class org.eclipse.gef.commands.CommandCommand.canUndo()public void execute()
execute in class org.eclipse.gef.commands.CommandCommand.execute()public void undo()
undo in class org.eclipse.gef.commands.CommandCommand.undo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||