au.edu.swin.synergy.plugin.workspace
Class BWorkspace
java.lang.Object
|
+--au.edu.swin.synergy.kernel.BPlugin
|
+--au.edu.swin.synergy.plugin.workspace.BWorkspace
- public class BWorkspace
- extends BPlugin
The workspace plugin
- Author:
- Matthew Evans
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin |
kernel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
kKeyName
protected static final String kKeyName
kDefaultName
protected static final String kDefaultName
kKeyWorkspace
protected static final String kKeyWorkspace
BWorkspace
public BWorkspace()
setup
public void setup(BStringList params)
- Initialises the BWorkspace plugin
- Overrides:
- setup in class BPlugin
registerHelp
public void registerHelp()
getDependancies
public BStringList getDependancies()
- Return a list of plugin dependancies
- 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
onBCommandEvent
public void onBCommandEvent(Object source,
BCommandEvent event)
- Catches any relevant events for the BWorkspace plugin
- Parameters:
source
- the instigator of the event caught by this methodevent
- the command evend in question- Overrides:
- onBCommandEvent in class BPlugin
addToolBarItems
public void addToolBarItems()
addProject
public void addProject(File projectFile,
boolean toNewWorkspace)
setProjectReliantItems
public void setProjectReliantItems(boolean enabled)
setWorkspaceReliantItems
public void setWorkspaceReliantItems(boolean enabled)
setModelReliantItems
public void setModelReliantItems(boolean enabled)
setEditorReliantItems
public void setEditorReliantItems(boolean enabled)