java.lang.Object
de.grogra.pf.registry.Plugin
de.grogra.pf.ui.UI
- All Implemented Interfaces:
RegistryContext
,ResourceConverter
-
Field Summary
Fields inherited from interface de.grogra.util.ResourceConverter
CAT, LINK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandleConversion
(String name) static Map
configureViewerParams
(Map params, URL url, String mimeType, RegistryContext ctx) static void
convert
(String name, String argument, I18NBundle bundle) static ProgressMonitor
static void
dumpCommand
(Item item, Object info, Context ctx) static void
executeHyperlinkURL
(String url, Context ctx) static void
executeLockedly
(Lockable resource, boolean write, Command cmd, Object arg, Context ctx, int flags) static void
executeLockedly
(Lockable resource, boolean write, Command cmd, Object arg, Context ctx, int flags, boolean passLockAsArg) static StringMap
static String
getClassDescription
(Class cls) static String[]
getDocuments
(Map params) static IconSource
static IconSource
getIcon
(String systemId, String mimeType, IconSource base, RegistryContext ctx, boolean useDefaultIcon) static JobManager
getJobManager
(Context ctx) static ModifiableMap
getOptions
(Context ctx) static Registry
getRegistry
(Context ctx) static Node
static ThreadContext
getThreadContext
(Context ctx) static UITree
getUITreeForMenu
(Context ctx, Item menu, Map pipelineParams) static boolean
isAvailable
(Item i, Context ctx) static boolean
static boolean
static Described
nodeToDescribed
(UINodeHandler h, Object node) static Point
static Point[]
static void
putDocuments
(TextEditor e, ModifiableMap out) static void
setField
(Node node, PersistenceField field, Object value, Context ctx) static void
void
startup()
This method is invoked when the plugin is activated, i.e., when the first class defined by the plugin is loaded (except for the Plugin class itself).Methods inherited from class de.grogra.pf.registry.Plugin
checkConfigure, getI18NBundle, getPluginDescriptor, getRegistry, initialize, shutdown
-
Field Details
-
I18N
-
-
Constructor Details
-
UI
public UI()
-
-
Method Details
-
getIcon
-
startup
public void startup()Description copied from class:Plugin
This method is invoked when the plugin is activated, i.e., when the first class defined by the plugin is loaded (except for the Plugin class itself). The default implementation executes all executable items in the directory/hooks/startup/name
, wherename
is the name of the plugin.The method
Plugin.initialize()
has been invoked before. Only if this invocation has returnedtrue
, the plugin may be activated. -
canHandleConversion
- Specified by:
canHandleConversion
in interfaceResourceConverter
-
convert
- Specified by:
convert
in interfaceResourceConverter
-
getJobManager
-
getThreadContext
-
getRootOfProjectGraph
-
getRegistry
-
getArgs
-
getUITreeForMenu
-
setMenu
-
isAvailable
-
isEnabled
-
isConsumed
-
consume
-
dumpCommand
-
createProgressAdapter
-
getClassDescription
-
nodeToDescribed
-
configureViewerParams
-
executeHyperlinkURL
-
parsePlainTextRange
-
parsePlainTextLocation
-
putDocuments
-
getDocuments
-
getIcon
public static IconSource getIcon(String systemId, String mimeType, IconSource base, RegistryContext ctx, boolean useDefaultIcon) -
getOptions
-
executeLockedly
-
executeLockedly
-
setField
-