public class GenericEditCommand extends CommandBase
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected SVGElementModel |
model |
protected Map<String,Object> |
newValues |
protected Map<String,Object> |
oldValues |
factoryDESCRIPTION, NAME| Constructor and Description |
|---|
GenericEditCommand(CommandFactoryBase factory,
SVGElementModel model,
Map<String,Object> oldValues,
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
|
String |
toString() |
getFactoryprotected SVGElementModel model
protected String description
public GenericEditCommand(CommandFactoryBase factory, SVGElementModel model, Map<String,Object> oldValues, 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.