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 |
factory
DESCRIPTION, 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() |
getFactory
protected SVGElementModel model
protected String description
public GenericEditCommand(CommandFactoryBase factory, SVGElementModel model, Map<String,Object> oldValues, String description)
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.