EGF Engine
Release 0.1.0

org.eclipse.egf.pde.plugin.extension
Interface IContractExtensionFactory

All Known Implementing Classes:
ContractExtensionFactory

public interface IContractExtensionFactory

This factory creates commands to deal with "Contract" extension-point.


Method Summary
 IPluginChangesCommand setContract(String contractId_p)
          Set a new contract extension.
 IPluginChangesCommand setContractElement(String contractId_p, String contractElementId_p, String contractElementName_p, String contractElementType_p, List<String> contractElementReferenceIds_p, String mandatory_p, String description_p)
          Set a contractElement object in a contract extension.
 IPluginChangesCommand unsetContractElement(String contractId_p, String contractElementId_p)
          Unset a contractElement object existing in a contract extension.
 

Method Detail

setContract

IPluginChangesCommand setContract(String contractId_p)
Set a new contract extension.

Parameters:
contractId_p -
Returns:

setContractElement

IPluginChangesCommand setContractElement(String contractId_p,
                                         String contractElementId_p,
                                         String contractElementName_p,
                                         String contractElementType_p,
                                         List<String> contractElementReferenceIds_p,
                                         String mandatory_p,
                                         String description_p)
Set a contractElement object in a contract extension.

Parameters:
contractId_p -
contractElementId_p -
contractElementName_p -
contractElementType_p -
contractElementReferenceId_p - if created contract element has no reference, use Collections.EMPTY_LIST.
mandatory_p -
description_p -
Returns:
an IPluginChangesCommand instance that performs this change.

unsetContractElement

IPluginChangesCommand unsetContractElement(String contractId_p,
                                           String contractElementId_p)
Unset a contractElement object existing in a contract extension.

Parameters:
contractId_p -
contractElementId_p -
Returns:
an IPluginChangesCommand instance that performs this change.

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.