EGF Engine
Release 0.1.0

org.eclipse.egf.model.edit.command.plugin.mapping
Class SetMappingWrapperCommand

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.mapping.AbstractMappingWrapperCommand
              extended by org.eclipse.egf.model.edit.command.plugin.mapping.SetMappingWrapperCommand

public class SetMappingWrapperCommand
extends AbstractMappingWrapperCommand

Implements a command that wraps a mapping modification in a mapping extension.


Constructor Summary
SetMappingWrapperCommand(EditingDomain domain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
          Constructor.
 
Method Summary
protected  List<IPluginChangesCommand> getExecutablePluginChangeCommand()
          Returns the extension changes command used in the execute call.
protected  MappingModel getMapping()
          Get the mapping model element.
protected  void handleMappingFile(String mappingFileFullPath_p)
          Handle the mapping file for given parameters.
 
Methods inherited from class org.eclipse.egf.model.edit.command.plugin.mapping.AbstractMappingWrapperCommand
createMappingFile, getMappingPath, getUndoablePluginChangeCommand, initializeInputOrOutput
 
Methods inherited from class org.eclipse.egf.model.edit.command.plugin.PluginChangeWrapperCommand
doCanUndo, 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

SetMappingWrapperCommand

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

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

getMapping

protected MappingModel getMapping()
Description copied from class: AbstractMappingWrapperCommand
Get the mapping model element.

Specified by:
getMapping in class AbstractMappingWrapperCommand
Returns:
See Also:
AbstractMappingWrapperCommand.getMapping()

getExecutablePluginChangeCommand

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

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

handleMappingFile

protected void handleMappingFile(String mappingFileFullPath_p)
Description copied from class: AbstractMappingWrapperCommand
Handle the mapping file for given parameters.

Specified by:
handleMappingFile in class AbstractMappingWrapperCommand
Parameters:
mappingFileFullPath_p - relative path to the workspace.
See Also:
AbstractMappingWrapperCommand.handleMappingFile(java.lang.String)

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.