EGF Engine
Release 0.1.0

org.eclipse.egf.pde.internal.plugin.command.context
Class AbstractContextCommand

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.internal.plugin.command.context.AbstractContextCommand
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
AbstractContextElementCommand, SetContextCommand, UnsetContextCommand

public abstract class AbstractContextCommand
extends AbstractExtensionChangesCommand

Base class to implement commands that deal with context extension-point.


Constructor Summary
protected AbstractContextCommand(String contextId_p)
          Constructor.
 
Method Summary
protected  String getContextId()
          Get the context id value.
protected  String getExtensionChildName()
          Get the node name of the children for the extension.
protected  String getExtensionPointId()
          Get the extension point 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

AbstractContextCommand

protected AbstractContextCommand(String contextId_p)
Constructor.

Parameters:
contextId_p - id of the context used as parent.
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()

getContextId

protected String getContextId()
Get the context id value.

Returns:
the contextId

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.