<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Wed Sep 12 16:55:50 PDT 2001 --> <TITLE> : Class PerforceVCS </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> </HEAD> <BODY BGCOLOR="white"> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_top"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/jbase/jbuilder5vcs/P4SyncPanel.html"><B>PREV CLASS</B></A> <A HREF="../../../com/jbase/jbuilder5vcs/RevisionStatus.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="PerforceVCS.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.jbase.jbuilder5vcs</FONT> <BR> Class PerforceVCS</H2> <PRE> <B>com.jbase.jbuilder5vcs.PerforceVCS</B> </PRE> <HR> <DL> <DT>public class <B>PerforceVCS</B></DL> <P> Title: jBuilder/Perforce<br> 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<br> for some tests. <DL><DT><b>Company:</b></DT><DD>jBase.</DD></DL> <P> <DL> <DT><B>Since: </B><DD>JDK 1.3</DD> <DT><B>Version: </B><DD>1.0</DD> <DT><B>Author: </B><DD><a href="mailto:nicolasj@jbase.com">Nicolas Jorand</a></DD> </DL> <HR> <P> <!-- ======== INNER CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#connected">connected</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_CLIENT">PROP_CLIENT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_CLIENT_DEFAULT">PROP_CLIENT_DEFAULT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_HOST">PROP_HOST</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_ISNEW">PROP_ISNEW</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_P4">PROP_P4</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_PASSWORD">PROP_PASSWORD</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_PATH">PROP_PATH</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_PORT">PROP_PORT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_PORT_DEFAULT">PROP_PORT_DEFAULT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_USER">PROP_USER</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PROP_USER_DEFAULT">PROP_USER_DEFAULT</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#PerforceVCS()">PerforceVCS</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#addFile(com.borland.primetime.node.Node[])">addFile</A></B>(com.borland.primetime.node.Node[] workFiles)</CODE> <BR> Add file(s) on Pending list of P4,</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#addFile(java.util.Set, com.borland.primetime.node.Project)">addFile</A></B>(java.util.Set workFiles, com.borland.primetime.node.Project prj)</CODE> <BR> Add file(s) on Pending list of P4, file come from VCSBrowser</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#commitFile(java.util.Set, com.borland.primetime.util.runner.OutputRunnerListener, com.borland.primetime.node.Project)">commitFile</A></B>(java.util.Set workFiles, com.borland.primetime.util.runner.OutputRunnerListener outRunner, com.borland.primetime.node.Project prj)</CODE> <BR> For commit file from the VCSBrowser</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#connect()">connect</A></B>()</CODE> <BR> Try to connect to P4</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#editFile(com.borland.primetime.node.Node[])">editFile</A></B>(com.borland.primetime.node.Node[] workFiles)</CODE> <BR> Pass file(s) from depot to default pending list of P4,</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#editFile(java.util.Set, com.borland.primetime.node.Project)">editFile</A></B>(java.util.Set workFiles, com.borland.primetime.node.Project prj)</CODE> <BR> Pass file(s) from depot to default pending list of P4, file come from VCSBrowser</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> javax.swing.Action</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getAction(com.borland.primetime.actions.DelegateAction)">getAction</A></B>(com.borland.primetime.actions.DelegateAction delegate)</CODE> <BR> This is a test for create my refresh action, but it doesn't work ;-(</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.teamdev.vcs.DeleteDialogInterface</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getDeleteDialog()">getDeleteDialog</A></B>()</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getDescription()">getDescription</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getFileNameInRepository(java.io.File)">getFileNameInRepository</A></B>(java.io.File sourceFile)</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getName()">getName</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.properties.PropertyPage</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getProjectConfigPage(com.borland.jbuilder.node.JBProject)">getProjectConfigPage</A></B>(com.borland.jbuilder.node.JBProject project)</CODE> <BR> Return the property page to display when the user clicks on the Team tab.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Map</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getProjectStatus(com.borland.primetime.node.Project)">getProjectStatus</A></B>(com.borland.primetime.node.Project project)</CODE> <BR> Get the project status from the current P4cmd</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getRepositoryPath()">getRepositoryPath</A></B>()</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Vector</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getRevisions(com.borland.primetime.vfs.Url)">getRevisions</A></B>(com.borland.primetime.vfs.Url url)</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getSource(com.borland.primetime.vfs.Url, com.borland.primetime.teamdev.vcs.RevisionInfo)">getSource</A></B>(com.borland.primetime.vfs.Url url, com.borland.primetime.teamdev.vcs.RevisionInfo rev)</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.teamdev.frontend.VCSBrowserContextActionProvider</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getVCSBrowserContextActionProvider()">getVCSBrowserContextActionProvider</A></B>()</CODE> <BR> NOT USED</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.actions.ActionGroup</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getVCSContextMenuGroup()">getVCSContextMenuGroup</A></B>()</CODE> <BR> Return the list of actions that will be presented in the context menu in the project pane.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.actions.ActionGroup</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getVCSFileMenuGroup()">getVCSFileMenuGroup</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> javax.swing.Icon</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getVCSIcon()">getVCSIcon</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> com.borland.primetime.actions.ActionGroup</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#getVCSProjectMenuGroup()">getVCSProjectMenuGroup</A></B>()</CODE> <BR> The menu will be appear on the Team Menu of jBuilder</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#initOpenTool(byte, byte)">initOpenTool</A></B>(byte major, byte minor)</CODE> <BR> Register the PerforceVCS with the VCS Factory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#isBinary(com.borland.primetime.vfs.Url)">isBinary</A></B>(com.borland.primetime.vfs.Url url)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#isConfigureVCSMenuEnabled()">isConfigureVCSMenuEnabled</A></B>()</CODE> <BR> Set the menu enable for the configuration of Perfoce.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#isUnderVCS(com.borland.primetime.vfs.Url)">isUnderVCS</A></B>(com.borland.primetime.vfs.Url url)</CODE> <BR> The methode inherite of VCS, it's overload for add the depot or pending list.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#isUnderVCS(com.borland.primetime.vfs.Url, int)">isUnderVCS</A></B>(com.borland.primetime.vfs.Url url, int nDepotPending)</CODE> <BR> 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.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#revertFile(com.borland.primetime.node.Node[])">revertFile</A></B>(com.borland.primetime.node.Node[] workFiles)</CODE> <BR> Revert file(s) on Pending list of P4,</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#revertFile(java.util.Set, com.borland.primetime.node.Project)">revertFile</A></B>(java.util.Set workFiles, com.borland.primetime.node.Project prj)</CODE> <BR> Revert file(s) on Pending list of P4, file come from VCSBrowser</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#submitFile(com.borland.primetime.node.Node[], java.lang.String)">submitFile</A></B>(com.borland.primetime.node.Node[] workFiles, java.lang.String sDescription)</CODE> <BR> 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.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#syncFile(com.borland.primetime.node.Node[])">syncFile</A></B>(com.borland.primetime.node.Node[] workFiles)</CODE> <BR> Synchronize file(s) from depot of P4,</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/PerforceVCS.html#syncFile(java.util.Set, com.borland.primetime.node.Project)">syncFile</A></B>(java.util.Set workFiles, com.borland.primetime.node.Project prj)</CODE> <BR> Synchronize file(s) from depot of P4, file come from VCSBrowser</TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD> </TR> </TABLE> <A NAME="PROP_P4"><!-- --></A><H3> PROP_P4</H3> <PRE> public static final java.lang.String <B>PROP_P4</B></PRE> <DL> </DL> <HR> <A NAME="PROP_PATH"><!-- --></A><H3> PROP_PATH</H3> <PRE> public static final java.lang.String <B>PROP_PATH</B></PRE> <DL> </DL> <HR> <A NAME="PROP_CLIENT"><!-- --></A><H3> PROP_CLIENT</H3> <PRE> public static final java.lang.String <B>PROP_CLIENT</B></PRE> <DL> </DL> <HR> <A NAME="PROP_CLIENT_DEFAULT"><!-- --></A><H3> PROP_CLIENT_DEFAULT</H3> <PRE> public static final java.lang.String <B>PROP_CLIENT_DEFAULT</B></PRE> <DL> </DL> <HR> <A NAME="PROP_USER"><!-- --></A><H3> PROP_USER</H3> <PRE> public static final java.lang.String <B>PROP_USER</B></PRE> <DL> </DL> <HR> <A NAME="PROP_USER_DEFAULT"><!-- --></A><H3> PROP_USER_DEFAULT</H3> <PRE> public static final java.lang.String <B>PROP_USER_DEFAULT</B></PRE> <DL> </DL> <HR> <A NAME="PROP_PASSWORD"><!-- --></A><H3> PROP_PASSWORD</H3> <PRE> public static final java.lang.String <B>PROP_PASSWORD</B></PRE> <DL> </DL> <HR> <A NAME="PROP_HOST"><!-- --></A><H3> PROP_HOST</H3> <PRE> public static final java.lang.String <B>PROP_HOST</B></PRE> <DL> </DL> <HR> <A NAME="PROP_PORT"><!-- --></A><H3> PROP_PORT</H3> <PRE> public static final java.lang.String <B>PROP_PORT</B></PRE> <DL> </DL> <HR> <A NAME="PROP_PORT_DEFAULT"><!-- --></A><H3> PROP_PORT_DEFAULT</H3> <PRE> public static final java.lang.String <B>PROP_PORT_DEFAULT</B></PRE> <DL> </DL> <HR> <A NAME="PROP_ISNEW"><!-- --></A><H3> PROP_ISNEW</H3> <PRE> public static final java.lang.String <B>PROP_ISNEW</B></PRE> <DL> </DL> <HR> <A NAME="connected"><!-- --></A><H3> connected</H3> <PRE> public boolean <B>connected</B></PRE> <DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="PerforceVCS()"><!-- --></A><H3> PerforceVCS</H3> <PRE> public <B>PerforceVCS</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="initOpenTool(byte, byte)"><!-- --></A><H3> initOpenTool</H3> <PRE> public static void <B>initOpenTool</B>(byte major, byte minor)</PRE> <DL> <DD>Register the PerforceVCS with the VCS Factory. This will make the class available in the Team drop-down list.</DL> <HR> <A NAME="getProjectConfigPage(com.borland.jbuilder.node.JBProject)"><!-- --></A><H3> getProjectConfigPage</H3> <PRE> public com.borland.primetime.properties.PropertyPage <B>getProjectConfigPage</B>(com.borland.jbuilder.node.JBProject project)</PRE> <DL> <DD>Return the property page to display when the user clicks on the Team tab.</DL> <HR> <A NAME="isUnderVCS(com.borland.primetime.vfs.Url, int)"><!-- --></A><H3> isUnderVCS</H3> <PRE> public boolean <B>isUnderVCS</B>(com.borland.primetime.vfs.Url url, int nDepotPending)</PRE> <DL> <DD>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.</DL> <HR> <A NAME="isUnderVCS(com.borland.primetime.vfs.Url)"><!-- --></A><H3> isUnderVCS</H3> <PRE> public boolean <B>isUnderVCS</B>(com.borland.primetime.vfs.Url url)</PRE> <DL> <DD>The methode inherite of VCS, it's overload for add the depot or pending list. By default it look on Depot list</DL> <HR> <A NAME="isBinary(com.borland.primetime.vfs.Url)"><!-- --></A><H3> isBinary</H3> <PRE> public boolean <B>isBinary</B>(com.borland.primetime.vfs.Url url)</PRE> <DL> </DL> <HR> <A NAME="getName()"><!-- --></A><H3> getName</H3> <PRE> public java.lang.String <B>getName</B>()</PRE> <DL> </DL> <HR> <A NAME="getDescription()"><!-- --></A><H3> getDescription</H3> <PRE> public java.lang.String <B>getDescription</B>()</PRE> <DL> </DL> <HR> <A NAME="getVCSIcon()"><!-- --></A><H3> getVCSIcon</H3> <PRE> public javax.swing.Icon <B>getVCSIcon</B>()</PRE> <DL> </DL> <HR> <A NAME="getVCSProjectMenuGroup()"><!-- --></A><H3> getVCSProjectMenuGroup</H3> <PRE> public com.borland.primetime.actions.ActionGroup <B>getVCSProjectMenuGroup</B>()</PRE> <DL> <DD>The menu will be appear on the Team Menu of jBuilder</DL> <HR> <A NAME="getVCSFileMenuGroup()"><!-- --></A><H3> getVCSFileMenuGroup</H3> <PRE> public com.borland.primetime.actions.ActionGroup <B>getVCSFileMenuGroup</B>()</PRE> <DL> </DL> <HR> <A NAME="getVCSContextMenuGroup()"><!-- --></A><H3> getVCSContextMenuGroup</H3> <PRE> public com.borland.primetime.actions.ActionGroup <B>getVCSContextMenuGroup</B>()</PRE> <DL> <DD>Return the list of actions that will be presented in the context menu in the project pane.</DL> <HR> <A NAME="addFile(com.borland.primetime.node.Node[])"><!-- --></A><H3> addFile</H3> <PRE> public java.lang.String <B>addFile</B>(com.borland.primetime.node.Node[] workFiles) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Add file(s) on Pending list of P4,</DL> <HR> <A NAME="addFile(java.util.Set, com.borland.primetime.node.Project)"><!-- --></A><H3> addFile</H3> <PRE> public java.lang.String <B>addFile</B>(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Add file(s) on Pending list of P4, file come from VCSBrowser</DL> <HR> <A NAME="revertFile(com.borland.primetime.node.Node[])"><!-- --></A><H3> revertFile</H3> <PRE> public java.lang.String <B>revertFile</B>(com.borland.primetime.node.Node[] workFiles) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Revert file(s) on Pending list of P4,</DL> <HR> <A NAME="revertFile(java.util.Set, com.borland.primetime.node.Project)"><!-- --></A><H3> revertFile</H3> <PRE> public java.lang.String <B>revertFile</B>(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Revert file(s) on Pending list of P4, file come from VCSBrowser</DL> <HR> <A NAME="syncFile(com.borland.primetime.node.Node[])"><!-- --></A><H3> syncFile</H3> <PRE> public java.lang.String <B>syncFile</B>(com.borland.primetime.node.Node[] workFiles) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Synchronize file(s) from depot of P4,</DL> <HR> <A NAME="syncFile(java.util.Set, com.borland.primetime.node.Project)"><!-- --></A><H3> syncFile</H3> <PRE> public java.lang.String <B>syncFile</B>(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Synchronize file(s) from depot of P4, file come from VCSBrowser</DL> <HR> <A NAME="editFile(com.borland.primetime.node.Node[])"><!-- --></A><H3> editFile</H3> <PRE> public java.lang.String <B>editFile</B>(com.borland.primetime.node.Node[] workFiles) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Pass file(s) from depot to default pending list of P4,</DL> <HR> <A NAME="editFile(java.util.Set, com.borland.primetime.node.Project)"><!-- --></A><H3> editFile</H3> <PRE> public java.lang.String <B>editFile</B>(java.util.Set workFiles, com.borland.primetime.node.Project prj) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Pass file(s) from depot to default pending list of P4, file come from VCSBrowser</DL> <HR> <A NAME="submitFile(com.borland.primetime.node.Node[], java.lang.String)"><!-- --></A><H3> submitFile</H3> <PRE> public java.lang.String <B>submitFile</B>(com.borland.primetime.node.Node[] workFiles, java.lang.String sDescription) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>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.</DL> <HR> <A NAME="commitFile(java.util.Set, com.borland.primetime.util.runner.OutputRunnerListener, com.borland.primetime.node.Project)"><!-- --></A><H3> commitFile</H3> <PRE> public java.lang.String <B>commitFile</B>(java.util.Set workFiles, com.borland.primetime.util.runner.OutputRunnerListener outRunner, com.borland.primetime.node.Project prj) throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorApplication.html">P4ErrorApplication</A>, <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>For commit file from the VCSBrowser</DL> <HR> <A NAME="getProjectStatus(com.borland.primetime.node.Project)"><!-- --></A><H3> getProjectStatus</H3> <PRE> public java.util.Map <B>getProjectStatus</B>(com.borland.primetime.node.Project project)</PRE> <DL> <DD>Get the project status from the current P4cmd</DL> <HR> <A NAME="connect()"><!-- --></A><H3> connect</H3> <PRE> public void <B>connect</B>() throws <A HREF="../../../com/jbase/jbuilder5vcs/P4ErrorConnection.html">P4ErrorConnection</A></PRE> <DL> <DD>Try to connect to P4</DL> <HR> <A NAME="isConfigureVCSMenuEnabled()"><!-- --></A><H3> isConfigureVCSMenuEnabled</H3> <PRE> public boolean <B>isConfigureVCSMenuEnabled</B>()</PRE> <DL> <DD>Set the menu enable for the configuration of Perfoce.</DL> <HR> <A NAME="getAction(com.borland.primetime.actions.DelegateAction)"><!-- --></A><H3> getAction</H3> <PRE> public javax.swing.Action <B>getAction</B>(com.borland.primetime.actions.DelegateAction delegate)</PRE> <DL> <DD>This is a test for create my refresh action, but it doesn't work ;-(</DL> <HR> <A NAME="getRevisions(com.borland.primetime.vfs.Url)"><!-- --></A><H3> getRevisions</H3> <PRE> public java.util.Vector <B>getRevisions</B>(com.borland.primetime.vfs.Url url)</PRE> <DL> <DD>NOT USED</DL> <HR> <A NAME="getSource(com.borland.primetime.vfs.Url, com.borland.primetime.teamdev.vcs.RevisionInfo)"><!-- --></A><H3> getSource</H3> <PRE> public byte[] <B>getSource</B>(com.borland.primetime.vfs.Url url, com.borland.primetime.teamdev.vcs.RevisionInfo rev)</PRE> <DL> <DD>NOT USED</DL> <HR> <A NAME="getVCSBrowserContextActionProvider()"><!-- --></A><H3> getVCSBrowserContextActionProvider</H3> <PRE> public com.borland.primetime.teamdev.frontend.VCSBrowserContextActionProvider <B>getVCSBrowserContextActionProvider</B>()</PRE> <DL> <DD>NOT USED</DL> <HR> <A NAME="getDeleteDialog()"><!-- --></A><H3> getDeleteDialog</H3> <PRE> public com.borland.primetime.teamdev.vcs.DeleteDialogInterface <B>getDeleteDialog</B>()</PRE> <DL> <DD>NOT USED</DL> <HR> <A NAME="getRepositoryPath()"><!-- --></A><H3> getRepositoryPath</H3> <PRE> public static java.io.File <B>getRepositoryPath</B>()</PRE> <DL> <DD>NOT USED</DL> <HR> <A NAME="getFileNameInRepository(java.io.File)"><!-- --></A><H3> getFileNameInRepository</H3> <PRE> public static java.lang.String <B>getFileNameInRepository</B>(java.io.File sourceFile)</PRE> <DL> <DD>NOT USED</DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_bottom"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/jbase/jbuilder5vcs/P4SyncPanel.html"><B>PREV CLASS</B></A> <A HREF="../../../com/jbase/jbuilder5vcs/RevisionStatus.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="PerforceVCS.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> </BODY> </HTML>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1072 | rmg |
Integrate the "jBuilder5VCS" frmo Nicolas Jorand into //public; Plan is to add some top-level documentation before linking it into the "roadmap", or making any sort of general public announcement. |
||
//guest/nicolas_jorand/jBuilder5VCS/doc/com/jbase/jbuilder5vcs/PerforceVCS.html | |||||
#1 | 939 | nicolas_jorand | First input of perforce integration for jBuilder5 |