|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.plugins.MenuPluginExample
public class MenuPluginExample
Example of simple menu plugin. Add the following line to the ${user.home}/.vdctplugins.xml file:
<plugin class="com.cosylab.vdct.plugins.MenuPluginExample" autostart="true" />Creation date: (8.12.2001 13:29:26)
Field Summary | |
---|---|
protected javax.swing.JMenu |
menu
|
protected com.cosylab.vdct.plugins.MenuPluginExample.MenuItemHandler |
menuitemHandler
|
Constructor Summary | |
---|---|
MenuPluginExample()
|
Method Summary | |
---|---|
void |
destroy()
Insert the method's description here. |
java.lang.String |
getAuthor()
Insert the method's description here. |
java.lang.String |
getDescription()
Insert the method's description here. |
javax.swing.JMenu |
getMenu()
Returns menu to be added to the VisualDCT tools menu Plugin should return always the same object. |
java.lang.String |
getName()
Insert the method's description here. |
protected javax.swing.JMenu |
getPluginMenu()
Insert the method's description here. |
java.lang.String |
getVersion()
Insert the method's description here. |
void |
init(java.util.Properties properties,
PluginContext context)
Insert the method's description here. |
void |
start()
Insert the method's description here. |
void |
stop()
Insert the method's description here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.cosylab.vdct.plugins.MenuPluginExample.MenuItemHandler menuitemHandler
protected javax.swing.JMenu menu
Constructor Detail |
---|
public MenuPluginExample()
Method Detail |
---|
protected javax.swing.JMenu getPluginMenu()
public void destroy()
destroy
in interface Plugin
- public java.lang.String getAuthor()
getAuthor
in interface Plugin
public java.lang.String getDescription()
getDescription
in interface Plugin
public java.lang.String getName()
getName
in interface Plugin
-
public java.lang.String getVersion()
getVersion
in interface Plugin
public void init(java.util.Properties properties, PluginContext context)
init
in interface Plugin
- public void start()
start
in interface Plugin
- public void stop()
stop
in interface Plugin
- public javax.swing.JMenu getMenu()
MenuPlugin
getMenu
in interface MenuPlugin
MenuPlugin.getMenu()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |