|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCompoundCommand
org.eclipse.egf.model.edit.command.AbstractModelElementCommand
org.eclipse.egf.core.ui.command.ChangeRecorderWrapperCommand
public class ChangeRecorderWrapperCommand
Provides a support to have undo, redo mechanism for model element object changes performed through a change recorder.
Constructor Summary | |
---|---|
ChangeRecorderWrapperCommand(ChangeDescription changes,
EditingDomain editingDomain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Constructor. |
Method Summary | |
---|---|
protected Command |
getCrudCommand(EditingDomain editingDomain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Get the initial EMF CRUD command to execute : SetCommand, AddCommand, ... |
String |
getLabel()
|
Methods inherited from class org.eclipse.egf.model.edit.command.AbstractModelElementCommand |
---|
doExecute, execute, getDetailedLabel, setPluginChangeCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeRecorderWrapperCommand(ChangeDescription changes, EditingDomain editingDomain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
editingDomain_p
- modelElement_p
- feature_p
- value_p
- Method Detail |
---|
protected Command getCrudCommand(EditingDomain editingDomain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
AbstractModelElementCommand
getCrudCommand
in class AbstractModelElementCommand
org.eclipse.egf.model.edit.command.AbstractModelElementCommand#getCrudCommand(org.eclipse.emf.edit.domain.EditingDomain,
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature, java.lang.Object)
public String getLabel()
getLabel
in class AbstractModelElementCommand
AbstractModelElementCommand.getLabel()
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.