EGF Engine
Release 0.1.0

org.eclipse.egf.pde.internal.plugin.command.contract
Class AbstractContractCommand

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.contract.AbstractContractCommand
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
AbstractContractElementCommand, SetContractExtensionCommand

public abstract class AbstractContractCommand
extends AbstractExtensionChangesCommand

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


Constructor Summary
protected AbstractContractCommand(String contractId_p)
          Constructor.
 
Method Summary
protected  String getContractId()
          Get the contract Id.
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

AbstractContractCommand

protected AbstractContractCommand(String contractId_p)
Constructor.

Parameters:
contractId_p -
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()

getContractId

protected String getContractId()
Get the contract Id.

Returns:
the contractId

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.