vc.gui.client.ui
Class FileCheckingDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--vc.gui.client.ui.FileCheckingDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class FileCheckingDialog
extends javax.swing.JDialog

FileCheckingDialog is the main class for taking the options related to the different checking operations to be performed by the system. It provides the customized view or options based upon the checking operation for which it is used at a particular moment

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
 javax.swing.JButton button_Cancel
          Button to cancel the operation
 javax.swing.JButton button_Diff
          Button for showing the difference between two versions
 javax.swing.JButton button_FileChooser
          A button that is to be used for triggering the FileChooser dialog to select the files or directories
 javax.swing.JButton button_Help
          A button that shows the help
 javax.swing.JButton button_Ok
          Button for proceed with the operation
 javax.swing.JCheckBox checkBox_DontGetLocalCopy
          If this is true then the file copies wont be created in the file sysytem after the checkout operation
 javax.swing.JCheckBox checkBox_KeepCheckedOut
          If this is true the files or directories will be kept checked out even after they are checked in
 javax.swing.JCheckBox checkBox_MakeWritable
          If this is true then the files will be left witable after the completion of the operation
 javax.swing.JCheckBox checkBox_OverRideWoringFolders
          If this is true then the actual folders to be used will be overloaded
 javax.swing.JCheckBox checkBox_Recursive
          If this is true then the operation will be applied recursively
 javax.swing.JCheckBox checkBox_RemoveLocalCopy
          If this is true then the directories and files will be removed from the filesystem afer checking in / undo check out the files or directories
 javax.swing.JComboBox combo_LocalCopy
          This is to select what to do with the local copy of files or directories after checking operattions are done
 javax.swing.JComboBox combo_ReplaceWritable
          Cobmo box which gets the input if the files are to be replaced if a copy alredy exists, or should be asked it to repace with latest version, or to skip putting new copy etc.
 javax.swing.JComboBox combo_SetFileTime
          This is to select what timestamp will be set for the files after doing the checking operation
 javax.swing.JTextField edit_Comment
          Edit box for giving the decription to a version
 javax.swing.JTextField edit_File_From_To
          Edit Box to specify the file system directory used for checking the contents
 javax.swing.JTextField edit_VersionName
          Edit Box giving the new version anme
 java.awt.GridLayout gridLayout1
          Grid layout for showing the check boxes
 java.awt.GridLayout gridLayout2
          Grid layout for showing the combo boxes and edit boxes
 javax.swing.JLabel label_Comment
          A label for giving title to another GUI component
 javax.swing.JLabel label_File_From_To
          A label for giving title to another GUI component
 javax.swing.JLabel label_Heading
          A label for giving title to another GUI component
 javax.swing.JLabel label_LocalCopy
          A label for giving title to another GUI component
 javax.swing.JLabel label_ReplaceWritable
          A label for giving title to another GUI component
 javax.swing.JLabel label_SetFileTime
          A label for giving title to another GUI component
 javax.swing.JLabel label_VersionName
          A label for giving title to another GUI component
 boolean okeyed
          To track if the operation is seleted to be done or cancelled
 javax.swing.JPanel panel_CheckBoxes
          Panel for showing the check boxes according to the checking operation for which they are to be shown
 javax.swing.JPanel panel_ComboEdits
          Panel for showing the combo/edit boxes according to the checking operation for which they are to be shown
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FileCheckingDialog()
          Constructs and initializes the object
 
Method Summary
 void showCheckInDirectory(java.lang.String initialDir)
          Shows this dialog for the Checking In of the directory.
 void showCheckInFile(java.lang.String initialDir)
          Shows this dialog for the Checking In of the files.
 void showCheckOutDirectory(java.lang.String initialDir)
          Shows this dialog for the Checking out of the directory.
 void showCheckOutFile(java.lang.String initialDir)
          Shows this dialog for the Checking Out of the files.
 void showGetLatestVersionDirectory(java.lang.String initialDir)
          Shows this dialog for getting the latest version of the directories.
 void showGetLatestVersionFile(java.lang.String initialDir)
          Shows this dialog for getting the latest vaersion of the files.
 void showUndoCheckOutDirectory(java.lang.String initialDir)
          Shows this dialog for the Checking Out of the directory.
 void showUndoCheckOutFile(java.lang.String initialDir)
          Shows this dialog for the undo Checking Out of the files.
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

edit_File_From_To

public javax.swing.JTextField edit_File_From_To
Edit Box to specify the file system directory used for checking the contents

combo_ReplaceWritable

public javax.swing.JComboBox combo_ReplaceWritable
Cobmo box which gets the input if the files are to be replaced if a copy alredy exists, or should be asked it to repace with latest version, or to skip putting new copy etc.

edit_VersionName

public javax.swing.JTextField edit_VersionName
Edit Box giving the new version anme

label_ReplaceWritable

public javax.swing.JLabel label_ReplaceWritable
A label for giving title to another GUI component

checkBox_KeepCheckedOut

public javax.swing.JCheckBox checkBox_KeepCheckedOut
If this is true the files or directories will be kept checked out even after they are checked in

edit_Comment

public javax.swing.JTextField edit_Comment
Edit box for giving the decription to a version

button_Cancel

public javax.swing.JButton button_Cancel
Button to cancel the operation

checkBox_Recursive

public javax.swing.JCheckBox checkBox_Recursive
If this is true then the operation will be applied recursively

checkBox_MakeWritable

public javax.swing.JCheckBox checkBox_MakeWritable
If this is true then the files will be left witable after the completion of the operation

button_Diff

public javax.swing.JButton button_Diff
Button for showing the difference between two versions

label_Comment

public javax.swing.JLabel label_Comment
A label for giving title to another GUI component

checkBox_OverRideWoringFolders

public javax.swing.JCheckBox checkBox_OverRideWoringFolders
If this is true then the actual folders to be used will be overloaded

label_Heading

public javax.swing.JLabel label_Heading
A label for giving title to another GUI component

button_Help

public javax.swing.JButton button_Help
A button that shows the help

label_File_From_To

public javax.swing.JLabel label_File_From_To
A label for giving title to another GUI component

button_FileChooser

public javax.swing.JButton button_FileChooser
A button that is to be used for triggering the FileChooser dialog to select the files or directories

label_VersionName

public javax.swing.JLabel label_VersionName
A label for giving title to another GUI component

button_Ok

public javax.swing.JButton button_Ok
Button for proceed with the operation

okeyed

public boolean okeyed
To track if the operation is seleted to be done or cancelled

checkBox_DontGetLocalCopy

public javax.swing.JCheckBox checkBox_DontGetLocalCopy
If this is true then the file copies wont be created in the file sysytem after the checkout operation

checkBox_RemoveLocalCopy

public javax.swing.JCheckBox checkBox_RemoveLocalCopy
If this is true then the directories and files will be removed from the filesystem afer checking in / undo check out the files or directories

combo_SetFileTime

public javax.swing.JComboBox combo_SetFileTime
This is to select what timestamp will be set for the files after doing the checking operation

label_SetFileTime

public javax.swing.JLabel label_SetFileTime
A label for giving title to another GUI component

combo_LocalCopy

public javax.swing.JComboBox combo_LocalCopy
This is to select what to do with the local copy of files or directories after checking operattions are done

label_LocalCopy

public javax.swing.JLabel label_LocalCopy
A label for giving title to another GUI component

panel_CheckBoxes

public javax.swing.JPanel panel_CheckBoxes
Panel for showing the check boxes according to the checking operation for which they are to be shown

gridLayout1

public java.awt.GridLayout gridLayout1
Grid layout for showing the check boxes

panel_ComboEdits

public javax.swing.JPanel panel_ComboEdits
Panel for showing the combo/edit boxes according to the checking operation for which they are to be shown

gridLayout2

public java.awt.GridLayout gridLayout2
Grid layout for showing the combo boxes and edit boxes
Constructor Detail

FileCheckingDialog

public FileCheckingDialog()
Constructs and initializes the object
Method Detail

showCheckInFile

public void showCheckInFile(java.lang.String initialDir)
Shows this dialog for the Checking In of the files. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showCheckInDirectory

public void showCheckInDirectory(java.lang.String initialDir)
Shows this dialog for the Checking In of the directory. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showCheckOutFile

public void showCheckOutFile(java.lang.String initialDir)
Shows this dialog for the Checking Out of the files. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showCheckOutDirectory

public void showCheckOutDirectory(java.lang.String initialDir)
Shows this dialog for the Checking out of the directory. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showUndoCheckOutFile

public void showUndoCheckOutFile(java.lang.String initialDir)
Shows this dialog for the undo Checking Out of the files. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showUndoCheckOutDirectory

public void showUndoCheckOutDirectory(java.lang.String initialDir)
Shows this dialog for the Checking Out of the directory. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showGetLatestVersionFile

public void showGetLatestVersionFile(java.lang.String initialDir)
Shows this dialog for getting the latest vaersion of the files. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default

showGetLatestVersionDirectory

public void showGetLatestVersionDirectory(java.lang.String initialDir)
Shows this dialog for getting the latest version of the directories. Customizes the GUI and sets the parameters for validating input data specific to this operation.
Parameters:
initialDir - the directory where this operation is going to take place by default