com.jbase.jbuilder5vcs
Class RevisionStatus

com.jbase.jbuilder5vcs.RevisionStatus

public class RevisionStatus

Title: jBuilder/Perforce
Description: Implementation of the VCSFileStatus abstract class to provide status information about
revisions stored in this VCS.
This is fundamental to provide support for the VCSCommitBrowser dialog.

Company:
jBase.

Since:
JDK 1.3
Version:
1.0
Author:
Nicolas Jorand

Field Summary
static java.lang.String COMMENT_MANDATORY
           
static int STATUS_NEW
           
static int STATUS_ON_DEPOT
           
static int STATUS_ON_WORKSPACE
           
static int STATUS_REMOVED
           
 
Constructor Summary
RevisionStatus(int status)
           
 
Method Summary
 com.borland.primetime.actions.ActionGroup getActions()
           
 java.lang.String getDescription()
           
 javax.swing.Icon getStatusIcon()
          Returns the icon that will be displayed in the VCSCommitBrowser
 boolean isModifiedInVCS()
          called by VCSCommitBrowser to determine if the file has repository changes
 boolean isModifiedLocally()
           
 boolean isNew()
           
 

Field Detail

COMMENT_MANDATORY

public static final java.lang.String COMMENT_MANDATORY

STATUS_NEW

public static final int STATUS_NEW

STATUS_ON_WORKSPACE

public static final int STATUS_ON_WORKSPACE

STATUS_ON_DEPOT

public static final int STATUS_ON_DEPOT

STATUS_REMOVED

public static final int STATUS_REMOVED
Constructor Detail

RevisionStatus

public RevisionStatus(int status)
Method Detail

getActions

public com.borland.primetime.actions.ActionGroup getActions()

getStatusIcon

public javax.swing.Icon getStatusIcon()
Returns the icon that will be displayed in the VCSCommitBrowser

isModifiedInVCS

public boolean isModifiedInVCS()
called by VCSCommitBrowser to determine if the file has repository changes

getDescription

public java.lang.String getDescription()

isModifiedLocally

public boolean isModifiedLocally()

isNew

public boolean isNew()