Synergy Home Page

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

Field Summary
protected static String kDefaultName
           
protected static String kKeyName
           
protected static String kKeyWorkspace
           
 
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin
kernel
 
Constructor Summary
BWorkspace()
           
 
Method Summary
 void addProject(File projectFile, boolean toNewWorkspace)
           
 void addToolBarItems()
           
 BStringList getDependancies()
          Return a list of plugin dependancies
 void onBCommandEvent(Object source, BCommandEvent event)
          Catches any relevant events for the BWorkspace plugin
 void registerHelp()
           
 void setEditorReliantItems(boolean enabled)
           
 void setModelReliantItems(boolean enabled)
           
 void setProjectReliantItems(boolean enabled)
           
 void setup(BStringList params)
          Initialises the BWorkspace plugin
 void setWorkspaceReliantItems(boolean enabled)
           
 
Methods inherited from class au.edu.swin.synergy.kernel.BPlugin
dispatchEvent, dispatchEventAndWait, dispatchEventServer, dispatchEventServerAndWait, dispatchEventTo, dispatchEventToAndWait, getKernel, setKernel, setup, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kKeyName

protected static final String kKeyName

kDefaultName

protected static final String kDefaultName

kKeyWorkspace

protected static final String kKeyWorkspace
Constructor Detail

BWorkspace

public BWorkspace()
Method Detail

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 method
event - 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)

Synergy Home Page