public class GenericAddCommand extends CommandBase
Modifier and Type | Field and Description |
---|---|
protected SVGElementModel |
model |
protected String |
name |
protected SVGModel |
owner |
protected SVGElementModel |
parentModel |
factory
DESCRIPTION, 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
|
getFactory
protected SVGElementModel model
protected SVGElementModel parentModel
protected String name
protected SVGModel owner
public GenericAddCommand(CommandFactoryBase factory, SVGElementModel model)
public String getDescription()
ICommand
public void commit()
ICommand
public void rollback()
ICommand
public com.extjs.gxt.ui.client.data.BeanModel asModel()
ICommand
Copyright © 2018. All Rights Reserved.