|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.portable.ObjectImpl | +--vc.corba.common.intf._ProjectDBManagerCBImplBase | +--vc.corba.client.VCClient
VCClient is the main class of VersionControl client. It initializes the ORB and then the GUI. After the GUI is shown this goes out of picture so that the GUI classes will work with the user request processing and the communication with VersionControl server.
Field Summary | |
static CheckingUtility |
checkingUtility
Gives the functionality for doing the checking related operations files/projects |
static ClientFrame |
clientFrame
Object of the GUI class that shows the main window for VersionControl client application |
static java.lang.String |
connectionID
connection id of the connection to the VersionControl server |
static FileCheckingDialog |
fileCheckingDialog
Object of the GUI class to get the options related to the file/project checking |
static FileSystemHandler |
fileSystemHandler
Gives the access to the native filesystem operations like changing file settings etc. |
static FileVersionManager |
fileVersionManager
Reference to the CORBA implementaion for the IDL interface FileVersionManager |
static LabelHandlingDialog |
labelHandlingDialog
Object of the GUI class to get the options related to version selection and viewing the version details of files/projects |
static Logger |
logger
Logger object which will be shared by all the client classes |
static ProjectDBManager |
projectDBManager
Reference to the CORBA implementaion for the IDL interface ProjectDBHandler |
static java.lang.String |
properiesFile
Property file where the properties specific to VersionClient are set |
static java.lang.String |
userID
user id with which the connection is made to the VersionControl server |
Constructor Summary | |
VCClient()
Constructs the VCClient object , by doing the house keeping operations like loading the properties, Initializing logger etc. |
Method Summary | |
void |
directoryAdded(java.lang.String parentID,
Directory newDirectory)
CORBA callback method which is invoked by VersionControl server when a new directory is created by another VersionControl client. |
void |
directoryDeleted(java.lang.String directoryID)
CORBA callback method which is invoked by VersionControl server when a directory is deleted by another VersionControl client. |
void |
directoryUpdated(Directory newDirectory)
CORBA callback method which is invoked by VersionControl server when a directory is modified by another VersionControl client. |
void |
fileAdded(java.lang.String parentID,
File newFile)
CORBA callback method which is invoked by VersionControl server when a new file is created by another VersionControl client. |
void |
fileCheckStatusChanged(java.lang.String fileID,
boolean ckeckedOut,
java.lang.String checkOutUser)
CORBA callback method which is invoked by VersionControl server when a file's checking status is changed by another VersionControl client. |
void |
fileDeleted(java.lang.String fileID)
CORBA callback method which is invoked by VersionControl server when a file is deleted by another VersionControl client. |
void |
fileUpdated(File newFile)
CORBA callback method which is invoked by VersionControl server when a file is updated by another VersionControl client. |
void |
initializeGUI()
Initializes the GUI for the application and shows the GUI |
void |
initializeORB()
Initializes the client side ORB for the application. |
static void |
main(java.lang.String[] a)
Starting point for the VersionControl client application |
void |
multipleFileCheckStatusChanged(java.lang.String[] fileIDs,
boolean ckeckedOut,
java.lang.String checkOutUser)
CORBA callback method which is invoked by VersionControl server when the checking status is changed for multiple files by another VersionControl client. |
void |
run()
Starts the GUI on a new thread |
Methods inherited from class vc.corba.common.intf._ProjectDBManagerCBImplBase |
_ids, _invoke |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Field Detail |
public static java.lang.String connectionID
public static java.lang.String userID
public static java.lang.String properiesFile
public static FileCheckingDialog fileCheckingDialog
public static LabelHandlingDialog labelHandlingDialog
public static Logger logger
public static CheckingUtility checkingUtility
public static FileSystemHandler fileSystemHandler
public static ProjectDBManager projectDBManager
public static FileVersionManager fileVersionManager
public static ClientFrame clientFrame
Constructor Detail |
public VCClient() throws java.lang.Throwable
Method Detail |
public static void main(java.lang.String[] a)
a
- first string in this array is the properties file namepublic void run()
run
in interface java.lang.Runnable
public void initializeGUI() throws java.lang.Throwable
public void initializeORB() throws java.lang.Throwable
public void directoryAdded(java.lang.String parentID, Directory newDirectory)
parentID
- parentID of the directory which is newly creatednewDirectory
- information of the directory which is newly createdpublic void directoryUpdated(Directory newDirectory)
newDirectory
- information of the directory which is modifiedpublic void directoryDeleted(java.lang.String directoryID)
directoryID
- directoryID of the directory which is deletedpublic void fileAdded(java.lang.String parentID, File newFile)
parentID
- parentID of the file which is newly creatednewFile
- information of the file which is newly createdpublic void fileUpdated(File newFile)
newFile
- information of the file which is updatedpublic void fileDeleted(java.lang.String fileID)
fileID
- fileID of the file which is deletedpublic void fileCheckStatusChanged(java.lang.String fileID, boolean ckeckedOut, java.lang.String checkOutUser)
fileID
- fileID of the file whose checking status is changedckeckedOut
- indicates if the file is checked out or checked in recentlycheckOutUser
- the user who is responsible for the change in checking statuspublic void multipleFileCheckStatusChanged(java.lang.String[] fileIDs, boolean ckeckedOut, java.lang.String checkOutUser)
fileIDs
- fileIDs of the files whose checking status has changedckeckedOut
- indicates if the file is checked out or checked in recentlycheckOutUser
- the user who is responsible for the change in checking status
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |