|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.gui.plugins.ScriptManager
Searches the 'script' directory for files to run and adds them to the script menu. It also watches the 'script' directory for changes.
Constructor Summary | |
ScriptManager()
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Runs the script found specified in the action command string. |
ViperViewMediator |
getMediator()
Gets the viper UI mediator the script manager should link with. |
com.hp.hpl.jena.rdf.model.Resource |
getParentResource()
Gets the URI that this bean is attached to. |
javax.swing.Action |
getResetAction()
|
void |
resetScriptMenu()
Reloads the script menu from the file system. |
void |
setMediator(ViperViewMediator mediator)
Sets the viper UI mediator the script manager should link with. |
void |
setParentResource(com.hp.hpl.jena.rdf.model.Resource parentResource)
Sets the URI that this bean is attached to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScriptManager()
Method Detail |
public ViperViewMediator getMediator()
null
if none is setpublic void setMediator(ViperViewMediator mediator)
mediator
- the UI mediatorpublic void resetScriptMenu()
public com.hp.hpl.jena.rdf.model.Resource getParentResource()
public void setParentResource(com.hp.hpl.jena.rdf.model.Resource parentResource)
parentResource
- the URI of the containerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the action event objectpublic javax.swing.Action getResetAction()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |