Servoy 3.5.x Public API

com.servoy.j2db.plugins
Interface IDeveloperPlugin

All Superinterfaces:
EventListener, IPlugin, PropertyChangeListener

public interface IDeveloperPlugin
extends IPlugin, PropertyChangeListener

Base interface for all developer plugins.


Field Summary
 
Fields inherited from interface com.servoy.j2db.plugins.IPlugin
DISPLAY_NAME
 
Method Summary
 Icon getImage()
          Get the plugin image (16x16 px), used in the developer debugger treeview and preference tabpanel.
 String getName()
          returns the (JavaScript)name for the plugin,name SHOULD apply to the JAVA identifier rules.
 PreferencePanel[] getPreferencePanels()
          Create panels for the Preferences dialog.
 IScriptObject getScriptObject()
          returns the object which has 'js_xxxx' methods for script calling, or null if not scriptable
 void initialize(IDeveloperPluginAccess app)
          Called on application startup after application started.
 
Methods inherited from interface com.servoy.j2db.plugins.IPlugin
getProperties, load, unload
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Method Detail

getImage

Icon getImage()
Get the plugin image (16x16 px), used in the developer debugger treeview and preference tabpanel.

Returns:
ImageIcon (null means not availeble)

getName

String getName()
returns the (JavaScript)name for the plugin,name SHOULD apply to the JAVA identifier rules.


getPreferencePanels

PreferencePanel[] getPreferencePanels()
Create panels for the Preferences dialog.

Returns:
Array of PreferencePanel panels. Return empty array or null if this plugin doesn't require any panels in the Preferences Dialog.

getScriptObject

IScriptObject getScriptObject()
returns the object which has 'js_xxxx' methods for script calling, or null if not scriptable


initialize

void initialize(IDeveloperPluginAccess app)
                throws PluginException
Called on application startup after application started.

Throws:
PluginException

Copyright © 2009 Servoy B.V.