|
||||||||||
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.command.CreatePropertiesCommand
public class CreatePropertiesCommand
Adds custom properties to given IPropertyContainer
. If required, registers new MetaProperty
. Existing
properties are ignored.
Note: if a new MetaProperty
is registered, it is unregistered during undo action.
Constructor Summary | |
---|---|
CreatePropertiesCommand(IPropertyContainer container,
Collection<CustomProperty> properties)
Constructor. |
Method Summary | |
---|---|
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, 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 CreatePropertiesCommand(IPropertyContainer container, Collection<CustomProperty> properties)
container
- property containerproperties
- new custom propertiesMethod Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |