jas2.plugin
Interface BasicPluginContext
-
- All Known Subinterfaces:
- ExtensionPluginContext, PluginContext
public interface BasicPluginContextA base class for both ExtensionPluginContext and PluginContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddMenu(javax.swing.JMenu menu)voiderror(java.lang.String message)Used to popup an error messagevoiderror(java.lang.String message, java.lang.Throwable detail)java.io.PrintWritergetPrintStream()Printwriter used to write output to the output areaPageContextinstallConsole(java.lang.String name, java.awt.Component console)Used to add a console to the "Console" area of the GUIPageContextinstallControl(java.lang.String name, java.awt.Component control)Used to add a control to the "Tree" area of the GUIPageContextinstallPage(java.lang.String name, java.awt.Component page)Used to add a page to the "Window" area of the GUIbooleanisApplet()Used by a plugin to tell if it is running in an Applet or not (added for WIRED, currently always returns false)voidremoveMenu(javax.swing.JMenu menu)voidsendMessage(java.lang.String message)Puts a message in the status bar
-
-
-
Method Detail
-
addMenu
void addMenu(javax.swing.JMenu menu)
-
removeMenu
void removeMenu(javax.swing.JMenu menu)
-
sendMessage
void sendMessage(java.lang.String message)
Puts a message in the status bar
-
getPrintStream
java.io.PrintWriter getPrintStream()
Printwriter used to write output to the output area
-
error
void error(java.lang.String message)
Used to popup an error message
-
error
void error(java.lang.String message, java.lang.Throwable detail)
-
installPage
PageContext installPage(java.lang.String name, java.awt.Component page)
Used to add a page to the "Window" area of the GUI
-
installControl
PageContext installControl(java.lang.String name, java.awt.Component control)
Used to add a control to the "Tree" area of the GUI
-
installConsole
PageContext installConsole(java.lang.String name, java.awt.Component console)
Used to add a console to the "Console" area of the GUI
-
isApplet
boolean isApplet()
Used by a plugin to tell if it is running in an Applet or not (added for WIRED, currently always returns false)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG