|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.jbase.jbuilder5vcs.PerforceVCS
Title: jBuilder/Perforce
Description: For integrate perforce on jBuilder, This is the start class. It implement
the VCS class from jBuilder. It implement DelegateHandler too, but it's just
for some tests.
Field Summary | |
boolean |
connected
|
static java.lang.String |
PROP_CLIENT
|
static java.lang.String |
PROP_CLIENT_DEFAULT
|
static java.lang.String |
PROP_HOST
|
static java.lang.String |
PROP_ISNEW
|
static java.lang.String |
PROP_P4
|
static java.lang.String |
PROP_PASSWORD
|
static java.lang.String |
PROP_PATH
|
static java.lang.String |
PROP_PORT
|
static java.lang.String |
PROP_PORT_DEFAULT
|
static java.lang.String |
PROP_USER
|
static java.lang.String |
PROP_USER_DEFAULT
|
Constructor Summary | |
PerforceVCS()
|
Method Summary | |
java.lang.String |
addFile(com.borland.primetime.node.Node[] workFiles)
Add file(s) on Pending list of P4, |
java.lang.String |
addFile(java.util.Set workFiles,
com.borland.primetime.node.Project prj)
Add file(s) on Pending list of P4, file come from VCSBrowser |
java.lang.String |
commitFile(java.util.Set workFiles,
com.borland.primetime.util.runner.OutputRunnerListener outRunner,
com.borland.primetime.node.Project prj)
For commit file from the VCSBrowser |
void |
connect()
Try to connect to P4 |
java.lang.String |
editFile(com.borland.primetime.node.Node[] workFiles)
Pass file(s) from depot to default pending list of P4, |
java.lang.String |
editFile(java.util.Set workFiles,
com.borland.primetime.node.Project prj)
Pass file(s) from depot to default pending list of P4, file come from VCSBrowser |
javax.swing.Action |
getAction(com.borland.primetime.actions.DelegateAction delegate)
This is a test for create my refresh action, but it doesn't work ;-( |
com.borland.primetime.teamdev.vcs.DeleteDialogInterface |
getDeleteDialog()
NOT USED |
java.lang.String |
getDescription()
|
static java.lang.String |
getFileNameInRepository(java.io.File sourceFile)
NOT USED |
java.lang.String |
getName()
|
com.borland.primetime.properties.PropertyPage |
getProjectConfigPage(com.borland.jbuilder.node.JBProject project)
Return the property page to display when the user clicks on the Team tab. |
java.util.Map |
getProjectStatus(com.borland.primetime.node.Project project)
Get the project status from the current P4cmd |
static java.io.File |
getRepositoryPath()
NOT USED |
java.util.Vector |
getRevisions(com.borland.primetime.vfs.Url url)
NOT USED |
byte[] |
getSource(com.borland.primetime.vfs.Url url,
com.borland.primetime.teamdev.vcs.RevisionInfo rev)
NOT USED |
com.borland.primetime.teamdev.frontend.VCSBrowserContextActionProvider |
getVCSBrowserContextActionProvider()
NOT USED |
com.borland.primetime.actions.ActionGroup |
getVCSContextMenuGroup()
Return the list of actions that will be presented in the context menu in the project pane. |
com.borland.primetime.actions.ActionGroup |
getVCSFileMenuGroup()
|
javax.swing.Icon |
getVCSIcon()
|
com.borland.primetime.actions.ActionGroup |
getVCSProjectMenuGroup()
The menu will be appear on the Team Menu of jBuilder |
static void |
initOpenTool(byte major,
byte minor)
Register the PerforceVCS with the VCS Factory. |
boolean |
isBinary(com.borland.primetime.vfs.Url url)
|
boolean |
isConfigureVCSMenuEnabled()
Set the menu enable for the configuration of Perfoce. |
boolean |
isUnderVCS(com.borland.primetime.vfs.Url url)
The methode inherite of VCS, it's overload for add the depot or pending list. |
boolean |
isUnderVCS(com.borland.primetime.vfs.Url url,
int nDepotPending)
Retrun true, if the file passed in parameter are on P4 nDepotPending -> On P4, a file should be on the depot or on a pending list. |
java.lang.String |
revertFile(com.borland.primetime.node.Node[] workFiles)
Revert file(s) on Pending list of P4, |
java.lang.String |
revertFile(java.util.Set workFiles,
com.borland.primetime.node.Project prj)
Revert file(s) on Pending list of P4, file come from VCSBrowser |
java.lang.String |
submitFile(com.borland.primetime.node.Node[] workFiles,
java.lang.String sDescription)
Pass file(s) from default pending list to depot of P4, if some files must be merge, the user must be launch P4 for make manualy merge. |
java.lang.String |
syncFile(com.borland.primetime.node.Node[] workFiles)
Synchronize file(s) from depot of P4, |
java.lang.String |
syncFile(java.util.Set workFiles,
com.borland.primetime.node.Project prj)
Synchronize file(s) from depot of P4, file come from VCSBrowser |
Field Detail |
public static final java.lang.String PROP_P4
public static final java.lang.String PROP_PATH
public static final java.lang.String PROP_CLIENT
public static final java.lang.String PROP_CLIENT_DEFAULT
public static final java.lang.String PROP_USER
public static final java.lang.String PROP_USER_DEFAULT
public static final java.lang.String PROP_PASSWORD
public static final java.lang.String PROP_HOST
public static final java.lang.String PROP_PORT
public static final java.lang.String PROP_PORT_DEFAULT
public static final java.lang.String PROP_ISNEW
public boolean connected
Constructor Detail |
public PerforceVCS()
Method Detail |
public static void initOpenTool(byte major, byte minor)
public com.borland.primetime.properties.PropertyPage getProjectConfigPage(com.borland.jbuilder.node.JBProject project)
public boolean isUnderVCS(com.borland.primetime.vfs.Url url, int nDepotPending)
public boolean isUnderVCS(com.borland.primetime.vfs.Url url)
public boolean isBinary(com.borland.primetime.vfs.Url url)
public java.lang.String getName()
public java.lang.String getDescription()
public javax.swing.Icon getVCSIcon()
public com.borland.primetime.actions.ActionGroup getVCSProjectMenuGroup()
public com.borland.primetime.actions.ActionGroup getVCSFileMenuGroup()
public com.borland.primetime.actions.ActionGroup getVCSContextMenuGroup()
public java.lang.String addFile(com.borland.primetime.node.Node[] workFiles) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String addFile(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String revertFile(com.borland.primetime.node.Node[] workFiles) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String revertFile(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String syncFile(com.borland.primetime.node.Node[] workFiles) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String syncFile(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String editFile(com.borland.primetime.node.Node[] workFiles) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String editFile(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String submitFile(com.borland.primetime.node.Node[] workFiles, java.lang.String sDescription) throws P4ErrorApplication, P4ErrorConnection
public java.lang.String commitFile(java.util.Set workFiles, com.borland.primetime.util.runner.OutputRunnerListener outRunner, com.borland.primetime.node.Project prj) throws P4ErrorApplication, P4ErrorConnection
public java.util.Map getProjectStatus(com.borland.primetime.node.Project project)
public void connect() throws P4ErrorConnection
public boolean isConfigureVCSMenuEnabled()
public javax.swing.Action getAction(com.borland.primetime.actions.DelegateAction delegate)
public java.util.Vector getRevisions(com.borland.primetime.vfs.Url url)
public byte[] getSource(com.borland.primetime.vfs.Url url, com.borland.primetime.teamdev.vcs.RevisionInfo rev)
public com.borland.primetime.teamdev.frontend.VCSBrowserContextActionProvider getVCSBrowserContextActionProvider()
public com.borland.primetime.teamdev.vcs.DeleteDialogInterface getDeleteDialog()
public static java.io.File getRepositoryPath()
public static java.lang.String getFileNameInRepository(java.io.File sourceFile)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |