EGF Engine
Release 0.1.0

org.eclipse.egf.model.edit.command.plugin.context
Class RemoveContextInFcInvocationWrapperCommand

java.lang.Object
  extended by AbstractOverrideableCommand
      extended by org.eclipse.egf.model.edit.command.plugin.PluginChangeWrapperCommand
          extended by org.eclipse.egf.model.edit.command.plugin.fci.AbstractFactoryComponentInvocationWrapperCommand
              extended by org.eclipse.egf.model.edit.command.plugin.fci.SetFactoryComponentInvocationWrapperCommand
                  extended by org.eclipse.egf.model.edit.command.plugin.context.RemoveContextInFcInvocationWrapperCommand

public class RemoveContextInFcInvocationWrapperCommand
extends SetFactoryComponentInvocationWrapperCommand

Implements a command that wraps a Context modification (delete) in factoryComponentConfiguration & context extensions.


Constructor Summary
RemoveContextInFcInvocationWrapperCommand(EditingDomain domain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
          Constructor.
 
Method Summary
 boolean doCanUndo()
           
 List<IPluginChangesCommand> getExecutablePluginChangeCommand()
          Returns the extension changes command used in the execute call.
protected  List<IPluginChangesCommand> getUndoablePluginChangeCommand()
          Returns the extension changes command used in the undo call.
 
Methods inherited from class org.eclipse.egf.model.edit.command.plugin.fci.AbstractFactoryComponentInvocationWrapperCommand
addFactoryComponentDependency, getFactoryComponentDependencyPluginId, removeFactoryComponentDependency
 
Methods inherited from class org.eclipse.egf.model.edit.command.plugin.PluginChangeWrapperCommand
doExecute, doRedo, doUndo, getCommandRunner, getFeature, getMDSoFaPde, getModelElement, getPluginId, getRedoablePluginChangeCommand, getValue, prepare, setPluginId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveContextInFcInvocationWrapperCommand

public RemoveContextInFcInvocationWrapperCommand(EditingDomain domain_p,
                                                 EObject modelElement_p,
                                                 EStructuralFeature feature_p,
                                                 Object value_p)
Constructor.

Parameters:
domain_p -
modelElement_p -
feature_p -
value_p -
Method Detail

getExecutablePluginChangeCommand

public List<IPluginChangesCommand> getExecutablePluginChangeCommand()
Description copied from class: PluginChangeWrapperCommand
Returns the extension changes command used in the execute call.

Overrides:
getExecutablePluginChangeCommand in class SetFactoryComponentInvocationWrapperCommand
Returns:
See Also:
SetFactoryComponentInvocationWrapperCommand.getExecutablePluginChangeCommand()

getUndoablePluginChangeCommand

protected List<IPluginChangesCommand> getUndoablePluginChangeCommand()
Description copied from class: PluginChangeWrapperCommand
Returns the extension changes command used in the undo call.

Overrides:
getUndoablePluginChangeCommand in class SetFactoryComponentInvocationWrapperCommand
Returns:
See Also:
SetFactoryComponentInvocationWrapperCommand.getUndoablePluginChangeCommand()

doCanUndo

public boolean doCanUndo()
Overrides:
doCanUndo in class AbstractFactoryComponentInvocationWrapperCommand
See Also:
PluginChangeWrapperCommand.doCanUndo()

EGF Engine
Release 0.1.0

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.