Class IModelProcessorContribution.ModelElement

  • Enclosing interface:
    IModelProcessorContribution

    public static class IModelProcessorContribution.ModelElement
    extends Object
    A model element to be added to the context used to invoke the processor.
    • Constructor Detail

      • ModelElement

        public ModelElement​(String id)
        Parameters:
        id - Identifier of a model element to be added to the context.
      • ModelElement

        public ModelElement​(String id,
                            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 String getId()
        Returns:
        Identifier of a model element to be added to the context.
      • getContextKey

        public 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.