EGF Engine
Release 0.1.0

org.eclipse.egf.pde.pattern.internal.plugin.command
Class AbstractPatternTemplateCommand

java.lang.Object
  extended by org.eclipse.egf.pde.plugin.command.AbstractChangesCommand
      extended by org.eclipse.egf.pde.plugin.command.AbstractExtensionChangesCommand
          extended by org.eclipse.egf.pde.pattern.internal.plugin.command.AbstractPatternTemplateCommand
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
SetPatternTemplateCommand, UnsetPatternTemplateCommand, UpdatePatternTemplateCommand

public class AbstractPatternTemplateCommand
extends AbstractExtensionChangesCommand

Base class to implement commands that change something regarding 'generatedPattern' extensions.


Constructor Summary
protected AbstractPatternTemplateCommand(String patternFullId_p)
          Constructor.
 
Method Summary
protected  String getExtensionChildName()
          Get the node name of the children for the extension.
protected  String getExtensionPointId()
          Get the extension point id.
 String getPatternFullId()
          Get the pattern element full id.
 
Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractExtensionChangesCommand
createExtension, createExtensionElementChild, getElement, getExtensionChildIdAttribute, getExtensionElementFromUniqueExtension, getExtensionElementFromUniqueExtension, getExtensionElementWithId, getExtensionElementWithNodeName, getExtensions, getExtensions, getFirstExtensionElement, removeExtension, removeExtensionElementChild, setDescription, setSingleChild
 
Methods inherited from class org.eclipse.egf.pde.plugin.command.AbstractChangesCommand
execute, getPluginModelBase, setPluginModelBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPatternTemplateCommand

protected AbstractPatternTemplateCommand(String patternFullId_p)
Constructor.

Parameters:
id_p - Pattern full id.
Method Detail

getExtensionChildName

protected String getExtensionChildName()
Description copied from class: AbstractExtensionChangesCommand
Get the node name of the children for the extension.

Specified by:
getExtensionChildName in class AbstractExtensionChangesCommand
Returns:
See Also:
AbstractExtensionChangesCommand.getExtensionChildName()

getExtensionPointId

protected String getExtensionPointId()
Description copied from class: AbstractExtensionChangesCommand
Get the extension point id.

Specified by:
getExtensionPointId in class AbstractExtensionChangesCommand
Returns:
See Also:
AbstractExtensionChangesCommand.getExtensionPointId()

getPatternFullId

public String getPatternFullId()
Get the pattern element full id.

Returns:

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.