java.lang.Object
de.grogra.pf.registry.Plugin
de.grogra.pf.ui.UI
- All Implemented Interfaces:
RegistryContext,ResourceConverter
-
Field Summary
FieldsFields inherited from interface de.grogra.util.ResourceConverter
CAT, LINK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleConversion(String name) static MapconfigureViewerParams(Map params, URL url, String mimeType, RegistryContext ctx) static voidconvert(String name, String argument, I18NBundle bundle) static ProgressMonitorstatic voiddumpCommand(Item item, Object info, Context ctx) static voidexecuteHyperlinkURL(String url, Context ctx) static voidexecuteLockedly(Lockable resource, boolean write, Command cmd, Object arg, Context ctx, int flags) static voidexecuteLockedly(Lockable resource, boolean write, Command cmd, Object arg, Context ctx, int flags, boolean passLockAsArg) static StringMapstatic StringgetClassDescription(Class cls) static String[]getDocuments(Map params) static IconSourcestatic IconSourcegetIcon(String systemId, String mimeType, IconSource base, RegistryContext ctx, boolean useDefaultIcon) static JobManagergetJobManager(Context ctx) static ModifiableMapgetOptions(Context ctx) static RegistrygetRegistry(Context ctx) static Nodestatic ThreadContextgetThreadContext(Context ctx) static UITreegetUITreeForMenu(Context ctx, Item menu, Map pipelineParams) static booleanisAvailable(Item i, Context ctx) static booleanstatic booleanstatic DescribednodeToDescribed(UINodeHandler h, Object node) static Pointstatic Point[]static voidputDocuments(TextEditor e, ModifiableMap out) static voidsetField(Node node, PersistenceField field, Object value, Context ctx) static voidvoidstartup()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:PluginThis 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, wherenameis 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:
canHandleConversionin interfaceResourceConverter
-
convert
- Specified by:
convertin 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
-