au.edu.swin.synergy.plugin.cmdgui
Class BCommandGui
java.lang.Object
|
+--au.edu.swin.synergy.kernel.BPlugin
|
+--au.edu.swin.synergy.plugin.cmdgui.BCommandGui
- public class BCommandGui
- extends BPlugin
Command line GUI
- Dispatches Event:
- BSetCmdStreamCE, BAddWindowCE
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin |
kernel |
Method Summary |
protected void |
doDialect()
Sets the screen text to the appropriate values for the current Locale |
BStringList |
getDependancies()
Return a list of plugin dependancies
This is currently not used by the kernel |
void |
onBCommandEvent(Object source,
BCommandEvent event)
Process kernel events |
protected void |
selectCommandLine()
This will tell the windo wmanager to bring the command line window
to the front for whatever reason. |
void |
setup(BStringList params)
Setup the command line GUI plugin |
void |
showWindow()
This will show the window the window manager |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BCommandGui
public BCommandGui()
getDependancies
public BStringList getDependancies()
- Return a list of plugin dependancies
This is currently not used by the kernel
- Returns:
- a list of plugins such as "au.edu.swin.synergy.plugin.mod13.BWindowManager"
or null if there are no dependancies
- Overrides:
- getDependancies in class BPlugin
setup
public void setup(BStringList params)
- Setup the command line GUI plugin
- Parameters:
params
- no command line parameters are processed by this plugin- Overrides:
- setup in class BPlugin
- Post Condition:
- the gui is ready to perform IO
showWindow
public void showWindow()
- This will show the window the window manager
onBCommandEvent
public void onBCommandEvent(Object source,
BCommandEvent event)
- Process kernel events
- Parameters:
source
- the plugin sending the eventevent
- the event to process- Overrides:
- onBCommandEvent in class BPlugin
selectCommandLine
protected void selectCommandLine()
- This will tell the windo wmanager to bring the command line window
to the front for whatever reason.
doDialect
protected void doDialect()
- Sets the screen text to the appropriate values for the current Locale