|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.plugins.ApplicationRunnerPlugin
public class ApplicationRunnerPlugin
Application runner plugin, runs external applications from the VDCT.
A menu Tools->Applications is added.
Applications are configured via plugins configuration file.
Add the following lines to the
${user.home}/.vdctplugins.xml or /etc/vdct/.vdctplugins.xml (system config)
file:
<plugin class="com.cosylab.vdct.plugins.ApplicationRunnerPlugin" autostart="true"> <param name="Calculator" value="calc" /> <param name="Minesweeper" value="winmine" /> <param name="Notepad" value="notepad" /> </plugin>
Field Summary | |
---|---|
protected javax.swing.JMenu |
menu
|
protected com.cosylab.vdct.plugins.ApplicationRunnerPlugin.MenuItemHandler |
menuitemHandler
|
Constructor Summary | |
---|---|
ApplicationRunnerPlugin()
|
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. |
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.ApplicationRunnerPlugin.MenuItemHandler menuitemHandler
protected javax.swing.JMenu menu
Constructor Detail |
---|
public ApplicationRunnerPlugin()
Method Detail |
---|
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 |