<!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 Actions
</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">
PREV CLASS
<A HREF="../../../com/jbase/jbuilder5vcs/ConfigPanel.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="Actions.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 Actions</H2>
<PRE>
java.lang.Object
|
+--<B>com.jbase.jbuilder5vcs.Actions</B>
</PRE>
<HR>
<DL>
<DT>public class <B>Actions</B><DT>extends java.lang.Object</DL>
<P>
Title: jBuilder/Perforce<br>
Description: For integrate perforce on jBuilder5,<br>
Found all the basic action and group for integrate P4,<br>
each anonymous class is a menu.<br>
Remark: The truth table for enable menu:<br>
X -> Does not have <br>
V -> Must be <br>
<table border="1">
<tr align="center"><td>Cmd</td><td> File On Depot</td><td>File on Pending</td><td>New File</td></tr>
<tr align="center"><td>Sync</td> <td>V</td> <td><BR></td> <td><BR></td></tr>
<tr align="center"><td>Edit</td> <td>V</td> <td>X</td> <td><BR></td></tr>
<tr align="center"><td>Revert</td> <td><BR></td> <td>V</td> <td><BR></td></tr>
<tr align="center"><td>Submit</td> <td><BR></td> <td>V</td> <td><BR></td></tr>
<tr align="center"><td>Add</td> <td>X</td> <td>X</td> <td>V</td> </tr>
</table><br>
If no connection, all menu without "connect" will be disable.
<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>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#ACTION_Refresh">ACTION_Refresh</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#ADD">ADD</A></B></CODE>
<BR>
Add file(s) action</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.teamdev.vcs.CommitAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#COMMIT">COMMIT</A></B></CODE>
<BR>
Will be call by the VCSCommitBrowser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.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>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#EDIT">EDIT</A></B></CODE>
<BR>
Pass file from depot to default pending list</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/Actions.html#MSG_DESCRIPTION">MSG_DESCRIPTION</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#ON_DEP_OR_PEN_LIST">ON_DEP_OR_PEN_LIST</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#ON_DEPOT_LIST">ON_DEPOT_LIST</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#ON_PENDING_LIST">ON_PENDING_LIST</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#PROJECT_STATUS">PROJECT_STATUS</A></B></CODE>
<BR>
The project status window for a overview of all file on project</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#REVERT">REVERT</A></B></CODE>
<BR>
Undo midification from P4</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#SUBMIT">SUBMIT</A></B></CODE>
<BR>
Submit modifications to P4</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.UpdateAction</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#SYNC">SYNC</A></B></CODE>
<BR>
Synchronise file from P4</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/Actions.html#Actions()">Actions</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>static com.borland.primetime.actions.ActionGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#getP4ContextMenu()">getP4ContextMenu</A></B>()</CODE>
<BR>
Create a new action group with the action for P4 for the context menu</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static com.borland.primetime.actions.ActionGroup</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/jbase/jbuilder5vcs/Actions.html#getP4Menu()">getP4Menu</A></B>()</CODE>
<BR>
Create a new action group with the action for P4 and the connect</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/Actions.html#main(java.lang.String[])">main</A></B>(java.lang.String[] argv)</CODE>
<BR>
Just for tests</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></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="ON_PENDING_LIST"><!-- --></A><H3>
ON_PENDING_LIST</H3>
<PRE>
public static final int <B>ON_PENDING_LIST</B></PRE>
<DL>
</DL>
<HR>
<A NAME="ON_DEPOT_LIST"><!-- --></A><H3>
ON_DEPOT_LIST</H3>
<PRE>
public static final int <B>ON_DEPOT_LIST</B></PRE>
<DL>
</DL>
<HR>
<A NAME="ON_DEP_OR_PEN_LIST"><!-- --></A><H3>
ON_DEP_OR_PEN_LIST</H3>
<PRE>
public static final int <B>ON_DEP_OR_PEN_LIST</B></PRE>
<DL>
</DL>
<HR>
<A NAME="MSG_DESCRIPTION"><!-- --></A><H3>
MSG_DESCRIPTION</H3>
<PRE>
public static final java.lang.String <B>MSG_DESCRIPTION</B></PRE>
<DL>
</DL>
<HR>
<A NAME="CONNECT"><!-- --></A><H3>
CONNECT</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>CONNECT</B></PRE>
<DL>
<DD>Try to connect to P4</DL>
<HR>
<A NAME="ADD"><!-- --></A><H3>
ADD</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>ADD</B></PRE>
<DL>
<DD>Add file(s) action</DL>
<HR>
<A NAME="SUBMIT"><!-- --></A><H3>
SUBMIT</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>SUBMIT</B></PRE>
<DL>
<DD>Submit modifications to P4</DL>
<HR>
<A NAME="SYNC"><!-- --></A><H3>
SYNC</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>SYNC</B></PRE>
<DL>
<DD>Synchronise file from P4</DL>
<HR>
<A NAME="REVERT"><!-- --></A><H3>
REVERT</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>REVERT</B></PRE>
<DL>
<DD>Undo midification from P4</DL>
<HR>
<A NAME="EDIT"><!-- --></A><H3>
EDIT</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>EDIT</B></PRE>
<DL>
<DD>Pass file from depot to default pending list</DL>
<HR>
<A NAME="PROJECT_STATUS"><!-- --></A><H3>
PROJECT_STATUS</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>PROJECT_STATUS</B></PRE>
<DL>
<DD>The project status window for a overview of all file on project</DL>
<HR>
<A NAME="COMMIT"><!-- --></A><H3>
COMMIT</H3>
<PRE>
public static com.borland.primetime.teamdev.vcs.CommitAction <B>COMMIT</B></PRE>
<DL>
<DD>Will be call by the VCSCommitBrowser.
Take all files selected from the VCSFile info and create a list for the PerforcesVCS.commit<br>
methode with all file selectionned on the CommitBrowser.</DL>
<HR>
<A NAME="ACTION_Refresh"><!-- --></A><H3>
ACTION_Refresh</H3>
<PRE>
public static com.borland.primetime.actions.UpdateAction <B>ACTION_Refresh</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="Actions()"><!-- --></A><H3>
Actions</H3>
<PRE>
public <B>Actions</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="getP4ContextMenu()"><!-- --></A><H3>
getP4ContextMenu</H3>
<PRE>
public static com.borland.primetime.actions.ActionGroup <B>getP4ContextMenu</B>()</PRE>
<DL>
<DD>Create a new action group with the action for P4 for the context menu</DL>
<HR>
<A NAME="getP4Menu()"><!-- --></A><H3>
getP4Menu</H3>
<PRE>
public static com.borland.primetime.actions.ActionGroup <B>getP4Menu</B>()</PRE>
<DL>
<DD>Create a new action group with the action for P4 and the connect</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[] argv)</PRE>
<DL>
<DD>Just for tests</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">
PREV CLASS
<A HREF="../../../com/jbase/jbuilder5vcs/ConfigPanel.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="Actions.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
|
939 |
nicolas_jorand |
First input of perforce integration for jBuilder5 |
|
|