com.jbase.jbuilder5vcs
Class Actions

java.lang.Object
  |
  +--com.jbase.jbuilder5vcs.Actions

public class Actions
extends java.lang.Object

Title: jBuilder/Perforce
Description: For integrate perforce on jBuilder5,
Found all the basic action and group for integrate P4,
each anonymous class is a menu.
Remark: The truth table for enable menu:
X -> Does not have
V -> Must be
Cmd File On DepotFile on PendingNew File
Sync V

Edit V X
Revert
V
Submit
V
Add X X V

If no connection, all menu without "connect" will be disable.

Company:
jBase.

Since:
JDK 1.3
Version:
1.0
Author:
Nicolas Jorand

Field Summary
static com.borland.primetime.actions.UpdateAction ACTION_Refresh
           
static com.borland.primetime.actions.UpdateAction ADD
          Add file(s) action
static com.borland.primetime.teamdev.vcs.CommitAction COMMIT
          Will be call by the VCSCommitBrowser.
static com.borland.primetime.actions.UpdateAction CONNECT
          Try to connect to P4
static com.borland.primetime.actions.UpdateAction EDIT
          Pass file from depot to default pending list
static java.lang.String MSG_DESCRIPTION
           
static int ON_DEP_OR_PEN_LIST
           
static int ON_DEPOT_LIST
           
static int ON_PENDING_LIST
           
static com.borland.primetime.actions.UpdateAction PROJECT_STATUS
          The project status window for a overview of all file on project
static com.borland.primetime.actions.UpdateAction REVERT
          Undo midification from P4
static com.borland.primetime.actions.UpdateAction SUBMIT
          Submit modifications to P4
static com.borland.primetime.actions.UpdateAction SYNC
          Synchronise file from P4
 
Constructor Summary
Actions()
           
 
Method Summary
static com.borland.primetime.actions.ActionGroup getP4ContextMenu()
          Create a new action group with the action for P4 for the context menu
static com.borland.primetime.actions.ActionGroup getP4Menu()
          Create a new action group with the action for P4 and the connect
static void main(java.lang.String[] argv)
          Just for tests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ON_PENDING_LIST

public static final int ON_PENDING_LIST

ON_DEPOT_LIST

public static final int ON_DEPOT_LIST

ON_DEP_OR_PEN_LIST

public static final int ON_DEP_OR_PEN_LIST

MSG_DESCRIPTION

public static final java.lang.String MSG_DESCRIPTION

CONNECT

public static com.borland.primetime.actions.UpdateAction CONNECT
Try to connect to P4

ADD

public static com.borland.primetime.actions.UpdateAction ADD
Add file(s) action

SUBMIT

public static com.borland.primetime.actions.UpdateAction SUBMIT
Submit modifications to P4

SYNC

public static com.borland.primetime.actions.UpdateAction SYNC
Synchronise file from P4

REVERT

public static com.borland.primetime.actions.UpdateAction REVERT
Undo midification from P4

EDIT

public static com.borland.primetime.actions.UpdateAction EDIT
Pass file from depot to default pending list

PROJECT_STATUS

public static com.borland.primetime.actions.UpdateAction PROJECT_STATUS
The project status window for a overview of all file on project

COMMIT

public static com.borland.primetime.teamdev.vcs.CommitAction COMMIT
Will be call by the VCSCommitBrowser. Take all files selected from the VCSFile info and create a list for the PerforcesVCS.commit
methode with all file selectionned on the CommitBrowser.

ACTION_Refresh

public static com.borland.primetime.actions.UpdateAction ACTION_Refresh
Constructor Detail

Actions

public Actions()
Method Detail

getP4ContextMenu

public static com.borland.primetime.actions.ActionGroup getP4ContextMenu()
Create a new action group with the action for P4 for the context menu

getP4Menu

public static com.borland.primetime.actions.ActionGroup getP4Menu()
Create a new action group with the action for P4 and the connect

main

public static void main(java.lang.String[] argv)
Just for tests