Class IModelProcessorContribution.ModelElement
- java.lang.Object
-
- org.eclipse.e4.ui.workbench.modeling.IModelProcessorContribution.ModelElement
-
- Enclosing interface:
- IModelProcessorContribution
public static class IModelProcessorContribution.ModelElement extends java.lang.ObjectA model element to be added to the context used to invoke the processor.
-
-
Constructor Summary
Constructors Constructor Description ModelElement(java.lang.String id)ModelElement(java.lang.String id, java.lang.String contextKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContextKey()java.lang.StringgetId()
-
-
-
Constructor Detail
-
ModelElement
public ModelElement(java.lang.String id)
- Parameters:
id- Identifier of a model element to be added to the context.
-
ModelElement
public ModelElement(java.lang.String id, java.lang.String contextKey)- Parameters:
id- Identifier of a model element to be added to the context.contextKey- An optional key under which to store the model element in the context. The value of "id" is used if this value is not specified.
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- Identifier of a model element to be added to the context.
-
getContextKey
public java.lang.String getContextKey()
- Returns:
- An optional key under which to store the model element in the context. The value of "id" is used if this value is not specified.
-
-