|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cosylab.vdct.plugins.CosyBeansPlugin
public class CosyBeansPlugin
CosyBeans VisualDCT popup plugin. Add the following line to the ${user.home}/.vdctplugins.xml file:
<plugin class="com.cosylab.vdct.plugins.CosyBeansPlugin" autostart="true" />
Creation date: (8.12.2001 13:29:26)
| Field Summary | |
|---|---|
protected javax.swing.JMenu |
menu
|
protected com.cosylab.vdct.plugins.CosyBeansPlugin.MenuHandler |
menuHandler
|
| Constructor Summary | |
|---|---|
CosyBeansPlugin()
|
|
| 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. |
protected static java.lang.String |
getFieldType(int type)
Insert the method's description here. |
java.util.Vector |
getItems(java.util.Vector selectedObjects)
This metod is called each time request of popup menu is gived to VisualDCT. |
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.CosyBeansPlugin.MenuHandler menuHandler
protected javax.swing.JMenu menu
| Constructor Detail |
|---|
public CosyBeansPlugin()
| Method Detail |
|---|
protected static java.lang.String getFieldType(int type)
protected javax.swing.JMenu getPluginMenu()
public void destroy()
destroy in interface Plugin - public java.lang.String getAuthor()
getAuthor in interface Pluginpublic java.lang.String getDescription()
getDescription in interface Pluginpublic 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 java.util.Vector getItems(java.util.Vector selectedObjects)
ContextPopupPlugin
getItems in interface ContextPopupPluginselectedObjects - List of selected elements. All elements inhereit from
com.cosylab.vdct.graphics.objects.Selectable interface. Typical there are objects:
null, then popup over empty workspace is issued.
javax.swing.JMenuItems and/or javax.swing.JMenu and/or javax.swing.JSeparator objects
to be added to the default list of popup items. Can also be null.ContextPopupPlugin.getItems(Vector)public javax.swing.JMenu getMenu()
MenuPlugin
getMenu in interface MenuPluginMenuPlugin.getMenu()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||