org.eclipse.egf.pde.internal.plugin.command.contract
Class SetContractElementCommand
java.lang.Object
org.eclipse.egf.pde.plugin.command.AbstractChangesCommand
org.eclipse.egf.pde.plugin.command.AbstractExtensionChangesCommand
org.eclipse.egf.pde.internal.plugin.command.contract.AbstractContractCommand
org.eclipse.egf.pde.internal.plugin.command.contract.AbstractContractElementCommand
org.eclipse.egf.pde.internal.plugin.command.contract.SetContractElementCommand
- All Implemented Interfaces:
- IPluginChangesCommand
public class SetContractElementCommand
- extends AbstractContractElementCommand
This command updates or creates a contractElement in an extension matching Contract extension-point.
Method Summary |
void |
execute()
Performs changes on the underlying plug-in. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetContractElementCommand
public SetContractElementCommand(String contractId_p,
String contractElementId_p,
String contractElementName_p,
String contractElementType_p,
List<String> contractElementReferenceIds_p,
String mandatory_p,
String description_p)
- Constructor.
- Parameters:
contractId_p
- contractElementName_p
- contractElementType_p
- contractElementReferenceIds_p
- if created contract element has no reference, use Collections.EMPTY_LIST
mandatory_p
-
execute
public void execute()
- Description copied from interface:
IPluginChangesCommand
- Performs changes on the underlying plug-in.
- Specified by:
execute
in interface IPluginChangesCommand
- Overrides:
execute
in class AbstractChangesCommand
- See Also:
org.eclipse.egf.internal.pde.plugin.command.contract.SetContractExtensionCommand#execute()
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.