Package ghidra.framework.plugintool.util
Class PluginPackage
java.lang.Object
ghidra.framework.plugintool.util.PluginPackage
- All Implemented Interfaces:
ExtensionPoint
,Comparable<PluginPackage>
- Direct Known Subclasses:
CorePluginPackage
,DeveloperPluginPackage
,ExamplesPluginPackage
,MiscellaneousPluginPackage
,UtilityPluginPackage
public abstract class PluginPackage
extends Object
implements ExtensionPoint, Comparable<PluginPackage>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ModifierConstructorDescriptionprotected
PluginPackage
(String name, Icon icon, String description) protected
PluginPackage
(String name, Icon icon, String description, int priority) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PluginPackage other) static boolean
Returns true if the system has found a plugin package for the given nameThe minimum level required to activate plugins when the entire package is activated by the user.getIcon()
getName()
static PluginPackage
getPluginPackage
(String packageName) Returns the existing plugin package with the given name.toString()
-
Field Details
-
UTILITY_PRIORITY
public static final int UTILITY_PRIORITY- See Also:
-
CORE_PRIORITY
public static final int CORE_PRIORITY- See Also:
-
FEATURE_PRIORITY
public static final int FEATURE_PRIORITY- See Also:
-
MISCELLANIOUS_PRIORITY
public static final int MISCELLANIOUS_PRIORITY- See Also:
-
DEVELOPER_PRIORITY
public static final int DEVELOPER_PRIORITY- See Also:
-
EXAMPLES_PRIORITY
public static final int EXAMPLES_PRIORITY- See Also:
-
EXPERIMENTAL_PRIORITY
public static final int EXPERIMENTAL_PRIORITY- See Also:
-
-
Constructor Details
-
PluginPackage
-
PluginPackage
-
-
Method Details
-
exists
Returns true if the system has found a plugin package for the given name- Parameters:
packageName
- the package name- Returns:
- true if the system has found a plugin package for the given name
-
getPluginPackage
Returns the existing plugin package with the given name. If no package exists, then theMiscellaneousPluginPackage
will be returned.- Parameters:
packageName
- the package name- Returns:
- the package
-
getName
-
getIcon
-
getDescription
-
getActivationLevel
The minimum level required to activate plugins when the entire package is activated by the user.- Returns:
- the minimum level
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PluginPackage>
-
toString
-