public class ToolTypeExtension extends ToolTypePart
Not intended to be sub-classed by clients.
| Constructor and Description |
|---|
ToolTypeExtension(java.lang.String pID,
java.lang.String pLabel,
java.lang.String pCategory,
org.eclipse.core.runtime.IConfigurationElement pConfigurationElement,
FunctionPackageExtension pPackage,
java.net.URL pIcon)
Basic constructor.
|
ToolTypeExtension(java.lang.String pID,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.Object pToolExecutor,
FunctionPackageExtension pPackage,
java.net.URL pIcon)
Deprecated.
Requires a tool executor instance, which is not ideal,
because a tool executor must be initialized right before it
is actually executed.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createToolExecutor()
Creates a new tool executor instance.
|
java.lang.String |
getCategory()
Gets the tool type category.
|
FunctionPackageExtension |
getFunctionPackage()
Gets the function package of the tool type.
|
java.net.URL |
getIcon()
Gets the icon URL for the tool descriptor (can be
null). |
java.util.List<ToolTypeInputParameter> |
getInputParameters()
Gets the the input parameters of this tool type.
|
java.util.List<ToolTypeOutputParameter> |
getOutputParameters()
Gets the the output parameters of this tool type.
|
EToolDescriptorType |
getToolDescriptorType()
Gets the toolDescriptorType.
|
java.lang.Object |
getToolExecutor()
Deprecated.
May not return a tool executor anymore, since tool executors
are now instantiated right before tool execution.
|
java.lang.String |
toString() |
getAllAttributes, getAllSimpleAttribues, getAttributes, getComplexAttributeReferences, getComplexAttributes, getReferenceAttributesgetFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId@Deprecated
public ToolTypeExtension(java.lang.String pID,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.Object pToolExecutor,
FunctionPackageExtension pPackage,
java.net.URL pIcon)
pID - the tool type IDpLabel - the tool type labelpCategory - the tool type category (can be null)pToolExecutor - the tool executorpPackage - the package of the tool typepIcon - the URL to the icon (can be null)public ToolTypeExtension(java.lang.String pID,
java.lang.String pLabel,
java.lang.String pCategory,
org.eclipse.core.runtime.IConfigurationElement pConfigurationElement,
FunctionPackageExtension pPackage,
java.net.URL pIcon)
pID - the tool type IDpLabel - the tool type labelpCategory - the tool type category (can be null)pConfigurationElement - the tool type configuration elementpPackage - the package of the tool typepIcon - the URL to the icon (can be null)@Deprecated public java.lang.Object getToolExecutor()
nullpublic java.lang.Object createToolExecutor()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if creating the executable extension failspublic java.util.List<ToolTypeInputParameter> getInputParameters()
public java.util.List<ToolTypeOutputParameter> getOutputParameters()
public java.lang.String toString()
toString in class ModelExtensionObjectpublic EToolDescriptorType getToolDescriptorType()
public java.net.URL getIcon()
null).nullpublic FunctionPackageExtension getFunctionPackage()
public java.lang.String getCategory()
null)Copyright © 2015 Micro Focus GmbH. All rights reserved.