Synergy Home Page

au.edu.swin.synergy.plugin.rtp
Class BRepositoryClient

java.lang.Object
  |
  +--au.edu.swin.synergy.kernel.BPlugin
        |
        +--au.edu.swin.synergy.plugin.rtp.BRepositoryClient

public class BRepositoryClient
extends BPlugin

Repository client plugin

Author:
Shane Fitzgibbon

Field Summary
static String kMetaFileName
           
 
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin
kernel
 
Constructor Summary
BRepositoryClient()
           
 
Method Summary
 void doDialect()
          This is the method that is called whenever the locale is changed
 BMetaData getClientMetaData(String fFileName)
           
 void getDir(String dir, BResFileModel fileModel)
          gets directory information from the repository and adds it to the table model
 File makeFile(String fileName)
           
 void onBCommandEvent(Object source, BCommandEvent event)
          This metod is called whenever this plugin recieves an event
 boolean setClientMetaData(File destFile, BMetaData fMetaData)
           
 boolean setClientMetaData(String fFileName, BMetaData fMetaData)
           
 void setup(BStringList params)
          This is where to call constructor like events for classes that extend BPlugin
 
Methods inherited from class au.edu.swin.synergy.kernel.BPlugin
dispatchEvent, dispatchEventAndWait, dispatchEventServer, dispatchEventServerAndWait, dispatchEventTo, dispatchEventToAndWait, getDependancies, getKernel, setKernel, setup, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kMetaFileName

public static final String kMetaFileName
Constructor Detail

BRepositoryClient

public BRepositoryClient()
Method Detail

setup

public void setup(BStringList params)
This is where to call constructor like events for classes that extend BPlugin
Parameters:
params - any arguments that were passed to this plugin when it was loaded
Overrides:
setup in class BPlugin

makeFile

public File makeFile(String fileName)

onBCommandEvent

public void onBCommandEvent(Object source,
                            BCommandEvent event)
This metod is called whenever this plugin recieves an event
Parameters:
source - the Object that sent the event
event - the event the has been recieved
Overrides:
onBCommandEvent in class BPlugin

doDialect

public void doDialect()
This is the method that is called whenever the locale is changed

setClientMetaData

public boolean setClientMetaData(String fFileName,
                                 BMetaData fMetaData)

setClientMetaData

public boolean setClientMetaData(File destFile,
                                 BMetaData fMetaData)

getClientMetaData

public BMetaData getClientMetaData(String fFileName)

getDir

public void getDir(String dir,
                   BResFileModel fileModel)
gets directory information from the repository and adds it to the table model
Parameters:
dir - the name of the directory to get info on

Synergy Home Page