MetaDone
metadone.client.plugin.MetadonePlugin Interface Reference
Inheritance diagram for metadone.client.plugin.MetadonePlugin:

List of all members.

Public Member Functions

String getName ()
JMenuItem createMenu ()
void startUp (MetadoneEvents eventManager, Workspace workspace)
void dispose ()
MetadoneEvents getEventManager ()

Detailed Description

A interface specifying a plugin service for metadone.

Author:
kma

Member Function Documentation

JMenuItem metadone.client.plugin.MetadonePlugin.createMenu ( )

Creates a menu to show in the main window.

This method should be called from the swing thread.

Returns:
A new menu for this instance of the plugin or null

Implemented in metadone.client.plugin.AbstractMetadonePlugin, metadone.plugin.grasyla.generator.GrasylaGenerator, and metadone.plugin.helloworld.HelloPlugin.

Referenced by metadone.client.MainClientMetadone.reactivatePlugin().

void metadone.client.plugin.MetadonePlugin.dispose ( )

Cleans up all the injections. This method should be called just before unloading the plugin.

Implemented in metadone.client.plugin.AbstractMetadonePlugin, and metadone.plugin.helloworld.HelloPlugin.

Referenced by metadone.client.MainClientMetadone.removePlugin().

MetadoneEvents metadone.client.plugin.MetadonePlugin.getEventManager ( )

Returns an event tower associated with this plugin.

Returns:
An event tower

Implemented in metadone.client.plugin.AbstractMetadonePlugin.

void metadone.client.plugin.MetadonePlugin.startUp ( MetadoneEvents  eventManager,
Workspace  workspace 
)

Called just before the plugin is used.

Parameters:
eventManagerThe event manager
workspaceThe current workspace or null

Implemented in metadone.client.plugin.AbstractMetadonePlugin.

Referenced by metadone.client.MainClientMetadone.reactivatePlugin().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations