public class GenericAddCommand extends CommandBase
| Modifier and Type | Field and Description |
|---|---|
protected SVGElementModel |
model |
protected String |
name |
protected SVGModel |
owner |
protected SVGElementModel |
parentModel |
factoryDESCRIPTION, NAME| Constructor and Description |
|---|
GenericAddCommand(CommandFactoryBase factory,
SVGElementModel model) |
| Modifier and Type | Method and Description |
|---|---|
com.extjs.gxt.ui.client.data.BeanModel |
asModel()
Returns a BeanModel wrapping this command
|
void |
commit()
Applies the modification represented by this command to the model
|
String |
getDescription()
Provides a detailed description of this command.
|
void |
rollback()
Restores the model to its previous state
|
getFactoryprotected SVGElementModel model
protected SVGElementModel parentModel
protected String name
protected SVGModel owner
public GenericAddCommand(CommandFactoryBase factory, SVGElementModel model)
public String getDescription()
ICommandpublic void commit()
ICommandpublic void rollback()
ICommandpublic com.extjs.gxt.ui.client.data.BeanModel asModel()
ICommandCopyright © 2018. All Rights Reserved.