EGF Engine
Release 0.1.0

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

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
              extended by org.eclipse.egf.pde.internal.plugin.command.contract.AbstractContractElementCommand
All Implemented Interfaces:
IPluginChangesCommand
Direct Known Subclasses:
SetContractElementCommand, UnsetContractElementCommand

public abstract class AbstractContractElementCommand
extends AbstractContractCommand

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


Constructor Summary
protected AbstractContractElementCommand(String contractId_p, String contractElementId_p)
           
 
Method Summary
protected  IPluginElement getContractElement()
          Get the contract element.
protected  String getIdAttribute()
          Get the contract element id attribute.
protected  String getIdAttributeValue()
          Get the value of the contract element id attribute.
 
Methods inherited from class org.eclipse.egf.pde.internal.plugin.command.contract.AbstractContractCommand
getContractId, getExtensionChildName, getExtensionPointId
 
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

AbstractContractElementCommand

protected AbstractContractElementCommand(String contractId_p,
                                         String contractElementId_p)
Method Detail

getIdAttribute

protected String getIdAttribute()
Get the contract element id attribute.

Returns:

getIdAttributeValue

protected String getIdAttributeValue()
Get the value of the contract element id attribute.

Returns:

getContractElement

protected IPluginElement getContractElement()
Get the contract element.

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.