Class PluginItem


  • public class PluginItem
    extends Object
    Encapsulates the generic information for a plug-in item.

    The information is composed of the type of the plug-in, the name of the class that implements it, and optional class information for the optional parameters editor associated with the plug-in.

    • Constructor Detail

      • PluginItem

        public PluginItem​(int type,
                          String className)
        Creates a new plug-in item of a given type and class name.
        Parameters:
        type - the type of the new plug-in.
        className - the class name of the new plug-in.
    • Method Detail

      • getType

        public int getType()
        Gets the type of this plug-in.
        Returns:
        the type of this plug-in.
      • getClassName

        public String getClassName()
        Gets the name of the class implementing this plug-in.
        Returns:
        the name of the class implementing this plug-in.
      • getParamsEditor

        public ClassInfo getParamsEditor()
        Gets the class information for the IParameterEditor class associated with this plug-in, or null if there is none.
        Returns:
        the class information for the IParameterEditor class associated with this plug-in.
      • getEmbeddableParamsEditor

        public ClassInfo getEmbeddableParamsEditor()
        Gets the class information for the IEmbeddableParamsEditor class associated with this plug-in, or null if there is none.
        Returns:
        the class information for the IEmbeddableParamsEditor class associated with this plug-in.
      • getEditorDescriptionProvider

        public ClassInfo getEditorDescriptionProvider()
        Gets the class information for the IEditorDescriptionProvider class associated with this plug-in, or null if there is none.
        Returns:
        the class information for the IEditorDescriptionProvider class associated with this plug-in.