Package org.graffiti.managers.pluginmgr
Interface PluginEntry
- All Known Implementing Classes:
DefaultPluginEntry
public interface PluginEntry
An entry in the plugin manager.
- See Also:
PluginManager
-
Method Summary
Modifier and Type Method Description PluginDescriptiongetDescription()Returns the plugin description of this entry.StringgetFileName()Returns the file name of the plugin.BooleangetLoadOnStartup()Returnstrue, if the plugin should be loaded at startup.GenericPlugingetPlugin()Returns the plugin of this entry.URLgetPluginLocation()Returns the location of the plugin.URLgetPluginUrl()voidsetDescription(PluginDescription description)Sets the description.voidsetLoadOnStartup(Boolean loadOnStartup)Sets the flag indicating whether a plugin should be loaded on the startup of the editor.voidsetPlugin(GenericPlugin plugin)Sets the plugin.voidsetPluginLocation(URL pluginLocation)Sets the plugin location.
-
Method Details
-
setDescription
Sets the description.- Parameters:
description- the description to be set.
-
getDescription
PluginDescription getDescription()Returns the plugin description of this entry.- Returns:
- the plugin description of this entry.
-
getFileName
String getFileName()Returns the file name of the plugin.- Returns:
- the file name of the plugin.
-
setLoadOnStartup
Sets the flag indicating whether a plugin should be loaded on the startup of the editor.- Parameters:
loadOnStartup- the flag indicating whether a plugin should be loaded on the startup of the editor.
-
getLoadOnStartup
Boolean getLoadOnStartup()Returnstrue, if the plugin should be loaded at startup.- Returns:
true, if the plugin should be loaded at startup.
-
setPlugin
Sets the plugin.- Parameters:
plugin- the plugin to be set.
-
getPlugin
GenericPlugin getPlugin()Returns the plugin of this entry.- Returns:
- the plugin of this entry.
-
setPluginLocation
Sets the plugin location.- Parameters:
pluginLocation- plugin location to be set.
-
getPluginLocation
URL getPluginLocation()Returns the location of the plugin.- Returns:
- the location of the plugin.
-
getPluginUrl
- Throws:
MalformedURLException
-