|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.pde.internal.plugin.extension.ContextExtensionFactory
public class ContextExtensionFactory
This factory creates commands to deal with "context" extension-point.
| Method Summary | |
|---|---|
static ContextExtensionFactory |
getInstance()
Get the unique instance. |
IPluginChangesCommand |
setContextElementBasedOnContractElementRef(String contextId_p,
String contextElementId_p,
String contractElementReferenceId_p,
String value_p)
Set a context element based on a contract element reference in a context extension for given parameters. |
IPluginChangesCommand |
setContextElementBasedOnKey(String contextId_p,
String contextElementId_p,
String keyValue_p,
String keyType_p,
String value_p)
Set a context element based on a key in a context extension for given parameters. |
IPluginChangesCommand |
setContextExtension(String contextId_p)
Set an extension matching "context" extension-point for given parameters. |
IPluginChangesCommand |
unsetContextElement(String contextId_p,
String contextElementId_p)
Unset a context element from a context extension for given parameters. |
IPluginChangesCommand |
unsetContextExtension(String contextId_p)
Unset an extension matching "context" extension-point for given parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ContextExtensionFactory getInstance()
public IPluginChangesCommand setContextExtension(String contextId_p)
IContextExtensionFactory
setContextExtension in interface IContextExtensionFactoryIPluginChangesCommand instance that performs this change.IContextExtensionFactory.setContextExtension(java.lang.String)public IPluginChangesCommand unsetContextExtension(String contextId_p)
IContextExtensionFactory
unsetContextExtension in interface IContextExtensionFactoryIPluginChangesCommand instance that performs this change.IContextExtensionFactory.unsetContextExtension(java.lang.String)
public IPluginChangesCommand setContextElementBasedOnContractElementRef(String contextId_p,
String contextElementId_p,
String contractElementReferenceId_p,
String value_p)
IContextExtensionFactory
setContextElementBasedOnContractElementRef in interface IContextExtensionFactorycontextId_p - context that the context element is added in.contextElementId_p - id of the created context element.contractElementReferenceId_p - reference to a contract element defined in a ContractReferences extension-point.value_p - string value.
IPluginChangesCommand instance that performs this change.IContextExtensionFactory.setContextElementBasedOnContractElementRef(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public IPluginChangesCommand setContextElementBasedOnKey(String contextId_p,
String contextElementId_p,
String keyValue_p,
String keyType_p,
String value_p)
IContextExtensionFactory
setContextElementBasedOnKey in interface IContextExtensionFactorycontextId_p - context that the context element is added in.contextElementId_p - id of the created context element.keyValue_p - key value.keyType_p - key type.value_p - the value to set.
IPluginChangesCommand instance that performs this change.IContextExtensionFactory.setContextElementBasedOnKey(java.lang.String, java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public IPluginChangesCommand unsetContextElement(String contextId_p,
String contextElementId_p)
IContextExtensionFactory
unsetContextElement in interface IContextExtensionFactoryIContextExtensionFactory.unsetContextElement(java.lang.String, java.lang.String)
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.