|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--allensoft.javacvs.client.ui.swing.DefaultGraphicalClient
Provides the features and implementation for the default graphical client. This class could be extended to provide new features for the browser or change the implementation of a particular feature.
Constructor Summary | |
DefaultGraphicalClient(CVSClient client)
Creates a DefaultGraphicalClient that will perfrom requests using the supplied client. |
Method Summary | |
protected void |
add(java.awt.Frame parentFrame,
java.io.File[] files)
Adds the supplied files to the repository. |
protected void |
addAddRequests(java.awt.Frame parentFrame,
CVSRequestBatch batch,
java.io.File[] files)
Adds add requests to the specified batch to add the specified files. |
void |
addCVSActions(CVSActionPool actionPool)
Adds any actions this graphical client supports to the supplied action pool for operating on files that are under CVS control. |
void |
addDirectoryActions(CVSActionPool actionPool)
Adds any actions this graphical client supports to the supplied action pool for operating on a single directory. |
void |
addGeneralActions(CVSActionPool actionPool)
Adds any actions this graphical client supports to the supplied action pool for operating on any general files. |
void |
addNonCVSActions(CVSActionPool actionPool)
Adds any actions this graphical client supports to the supplied action pool for operating on files that are not under CVS control. |
protected boolean |
askQuestion(java.awt.Frame parentFrame,
java.lang.Object message)
|
protected void |
checkForFilesToAdd(java.awt.Frame parentFrame,
CVSRequestBatch batch,
java.io.File[] files)
Checks for files to add from the specified files, recursing sub directories if necessary, and adds requests to the batch to add the required files. |
protected void |
checkForFilesToRemove(java.awt.Frame parentFrame,
CVSRequestBatch batch,
java.io.File[] files)
|
protected CVSAction |
createAbortAction()
|
protected CVSAction |
createAddAction()
Creates an action used for adding files. |
protected CVSAction |
createCheckForFilesToAddAction()
|
protected CVSAction |
createCheckoutAction()
Creates an action used for checking out a repository. |
protected CVSAction |
createCommitAction()
Creates an action used for committing files. |
protected CVSAction |
createDiffAction()
Creates an action used for diffing files. |
protected CVSAction |
createEditRepositoriesAction()
|
protected CVSAction |
createLogAction()
Creates an action used for ogging files. |
protected CVSAction |
createRemoveAction()
Creates an action used for removing files. |
protected CVSAction |
createStatusAction()
Creates an action used for getting status of files. |
protected CVSAction |
createTagAction()
Creates an action used for adding files. |
protected CVSAction |
createUpdateAction()
Creates an action used for updating files. |
protected void |
displayError(java.awt.Frame parentFrame,
java.lang.Object message)
|
protected void |
displayInformation(java.awt.Frame parentFrame,
java.lang.Object message)
|
CVSClient |
getClient()
Gets the client that requests will be used by this graphical client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultGraphicalClient(CVSClient client)
Method Detail |
public CVSClient getClient()
getClient
in interface GraphicalClient
public void addGeneralActions(CVSActionPool actionPool)
addGeneralActions
in interface GraphicalClient
public void addCVSActions(CVSActionPool actionPool)
addCVSActions
in interface GraphicalClient
public void addNonCVSActions(CVSActionPool actionPool)
addNonCVSActions
in interface GraphicalClient
public void addDirectoryActions(CVSActionPool actionPool)
addDirectoryActions
in interface GraphicalClient
protected CVSAction createAbortAction()
protected CVSAction createCheckForFilesToAddAction()
protected CVSAction createAddAction()
protected CVSAction createRemoveAction()
protected CVSAction createCommitAction()
protected CVSAction createUpdateAction()
protected CVSAction createDiffAction()
protected CVSAction createLogAction()
protected CVSAction createStatusAction()
protected CVSAction createTagAction()
protected CVSAction createCheckoutAction()
protected CVSAction createEditRepositoriesAction()
protected void displayError(java.awt.Frame parentFrame, java.lang.Object message)
protected void displayInformation(java.awt.Frame parentFrame, java.lang.Object message)
protected boolean askQuestion(java.awt.Frame parentFrame, java.lang.Object message)
protected void checkForFilesToAdd(java.awt.Frame parentFrame, CVSRequestBatch batch, java.io.File[] files)
protected void checkForFilesToRemove(java.awt.Frame parentFrame, CVSRequestBatch batch, java.io.File[] files)
protected void addAddRequests(java.awt.Frame parentFrame, CVSRequestBatch batch, java.io.File[] files)
protected void add(java.awt.Frame parentFrame, java.io.File[] files)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |