jsynoptic.plugins.lookandfeel
Class LookAndFeelPlugin
java.lang.Object
jsynoptic.base.Plugin
jsynoptic.plugins.lookandfeel.LookAndFeelPlugin
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class LookAndFeelPlugin
- extends Plugin
- implements java.awt.event.ActionListener
- Author:
- nbrodu
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Field Summary |
protected javax.swing.JMenuItem |
jmi
|
static java.util.ResourceBundle |
resources
|
Method Summary |
java.lang.String |
about()
The information returned here will be displayed in the about box. |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
static void |
searchLookAndFeel()
Search all look and feels available in the current classpath, and add them to the UIManager list |
void |
setMenu(javax.swing.JMenuBar mb)
Adds a menu entry in the tools menu |
Methods inherited from class jsynoptic.base.Plugin |
addPluginHashMap, createShape, createSource, exit, getDataSourceIcons, getFileFilters, getHelp, getOptionPanelForFilter, getShapeName, getShapes, getShapesMap, getSources, getTemplates, load, newComponent, newDesktopComponent, newSourceComponent, newSourceComponent, processDataSourceCollection, processFile, processSynoptic, setMenu, setToolBarItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
public static java.util.ResourceBundle resources
jmi
protected javax.swing.JMenuItem jmi
LookAndFeelPlugin
public LookAndFeelPlugin()
searchLookAndFeel
public static void searchLookAndFeel()
- Search all look and feels available in the current classpath, and add them to the UIManager list
setMenu
public void setMenu(javax.swing.JMenuBar mb)
- Adds a menu entry in the tools menu
- Overrides:
setMenu
in class Plugin
- Parameters:
mb
- The menubar in which to add menus. Typically, the plugin is
expected to call tb.add on each of its menus, and should add
MenuListeners on them too.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
about
public java.lang.String about()
- Description copied from class:
Plugin
- The information returned here will be displayed in the about box. You
should return an HTML 3.2 text content. This text will be included in a
- tag. Returning null is permitted, and disables completely this
plugin information. Default is to use the class name, without the package
prefix.
- Overrides:
about
in class Plugin
- Returns:
- the information about this plugin, including authors, license,
etc..