public class GenericRemoveCommand extends CommandBase
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
The command description
|
protected List<SVGElementModel> |
models
The models to remove
|
protected SVGModel |
owner
The owner of the models to remove
|
protected List<SVGElementModel> |
parentModels
The parent models of the models to remove
|
protected List<SVGElementModel> |
refModels
The next non-null siblings of the models to remove, or null if no such siblings exist
|
factoryDESCRIPTION, NAME| Constructor and Description |
|---|
GenericRemoveCommand(ICommandFactory factory,
List<SVGElementModel> models,
String description) |
| 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 List<SVGElementModel> models
protected List<SVGElementModel> parentModels
protected List<SVGElementModel> refModels
protected SVGModel owner
protected String description
public GenericRemoveCommand(ICommandFactory factory, List<SVGElementModel> models, String description)
public String getDescription()
ICommandpublic void commit()
ICommandpublic void rollback()
ICommandpublic com.extjs.gxt.ui.client.data.BeanModel asModel()
ICommandCopyright © 2018. All Rights Reserved.