public class PluginItem extends Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_IEDITORDESCRIPTIONPROVIDER
Identifies a plug-in implementing
IEditorDescriptionProvider. |
static int |
TYPE_IEMBEDDABLEPARAMETERSEDITOR
Identifies a plug-in implementing
IEmbeddableParametersEditor. |
static int |
TYPE_IFILTER
Identifies a plug-in implementing
IFilter. |
static int |
TYPE_IPARAMETERSEDITOR
Identifies a plug-in implementing
IParametersEditor. |
static int |
TYPE_IPIPELINESTEP
Identifies a plug-in implementing
IPipelineStep. |
static int |
TYPE_IQUERY
Identifies a plug-in implementing
IQuery. |
static int |
TYPE_MAIN
Convenience mask for all main types of plug-ins.
|
| Constructor and Description |
|---|
PluginItem(int type,
String className)
Creates a new plug-in item of a given type and class name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets the name of the class implementing this plug-in.
|
ClassInfo |
getEditorDescriptionProvider()
Gets the class information for the IEditorDescriptionProvider class associated with this plug-in,
or null if there is none.
|
ClassInfo |
getEmbeddableParamsEditor()
Gets the class information for the IEmbeddableParamsEditor class associated with this plug-in,
or null if there is none.
|
ClassInfo |
getParamsEditor()
Gets the class information for the IParameterEditor class associated with this plug-in,
or null if there is none.
|
int |
getType()
Gets the type of this plug-in.
|
public static final int TYPE_IFILTER
IFilter.public static final int TYPE_IPIPELINESTEP
IPipelineStep.public static final int TYPE_MAIN
public static final int TYPE_IPARAMETERSEDITOR
IParametersEditor.public static final int TYPE_IEMBEDDABLEPARAMETERSEDITOR
IEmbeddableParametersEditor.public static final int TYPE_IEDITORDESCRIPTIONPROVIDER
IEditorDescriptionProvider.public static final int TYPE_IQUERY
IQuery.public PluginItem(int type,
String className)
type - the type of the new plug-in.className - the class name of the new plug-in.public int getType()
public String getClassName()
public ClassInfo getParamsEditor()
public ClassInfo getEmbeddableParamsEditor()
public ClassInfo getEditorDescriptionProvider()
Copyright © 2022. All rights reserved.