Package ghidra.framework.plugintool.util
Class PluginPackage
java.lang.Object
ghidra.framework.plugintool.util.PluginPackage
- All Implemented Interfaces:
ExtensionPoint,Comparable<PluginPackage>
- Direct Known Subclasses:
BsimPluginPackage,CorePluginPackage,DeveloperPluginPackage,ExamplesPluginPackage,MiscellaneousPluginPackage,UtilityPluginPackage
public abstract class PluginPackage
extends Object
implements ExtensionPoint, Comparable<PluginPackage>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPluginPackage(String name, Icon icon, String description) protectedPluginPackage(String name, Icon icon, String description, int priority) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(PluginPackage other) static booleanReturns 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 PluginPackagegetPluginPackage(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 theMiscellaneousPluginPackagewill 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:
compareToin interfaceComparable<PluginPackage>
-
toString
-