|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--vc.gui.client.ui.ClientFrame
ClientFrame is the main GUI class of VersionControl client. Its inherited from swing's JFrame to show a main frame having a menu for operations, a tree for project content navigation and a table for display of the trees.
Inner classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Inner classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
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 | |
static int |
activePane
Keeps track of the pane that is currently being used with the integer value it holds |
FileTableManipulator |
fileTableManipulator
fileTableManipulator is responsibe for showing the fileses in a table and then refreshing the visual presentation according to the changes made to the system. |
javax.swing.JMenu |
menu_Edit
Menu for the editing related operations |
javax.swing.JMenu |
menu_File
Menu for the file related operations |
javax.swing.JMenu |
menu_Help
Menu for the Help operations |
javax.swing.JMenu |
menu_Tools
Menu for the VersionControl tool operations |
javax.swing.JMenu |
menu_Version
Menu for the versioning related operations |
javax.swing.JMenu |
menu_View
Menu for the viewing related operations |
MenuHandler |
menuHandler
MenuHandler object handles the menu related events and commands |
javax.swing.JMenuItem |
menuItem_About
Menu item for showing basic info about this tool |
javax.swing.JMenuItem |
menuItem_AddDirectories
Menu item for adding filesystem directories as project directories |
javax.swing.JMenuItem |
menuItem_AddFiles
Menu item for adding files to a directory |
javax.swing.JMenuItem |
menuItem_CancelSearch
Menu item for canceling the searching of the files |
javax.swing.JMenuItem |
menuItem_ChangePassword
Menu item for changing the password of the current user |
javax.swing.JMenuItem |
menuItem_CheckIn
Menu item for checking in the files or directories |
javax.swing.JMenuItem |
menuItem_CheckOut
Menu item for checking out the files or directories |
javax.swing.JMenuItem |
menuItem_Contents
Menu item for showing the contents of help files |
javax.swing.JMenuItem |
menuItem_Copy
Menu item for copying a file or a directory |
javax.swing.JMenuItem |
menuItem_CreateProject
Menu item for creating the project/directory |
javax.swing.JMenuItem |
menuItem_CustomizeToolbar
Menu item for customizing the buttons on the toolbar |
javax.swing.JMenuItem |
menuItem_Cut
Menu item for cutting a file or a directory |
javax.swing.JMenuItem |
menuItem_EditFile
Menu item for editing a file's content |
javax.swing.JMenuItem |
menuItem_Exit
Menu item for Exiting this application |
javax.swing.JMenuItem |
menuItem_FindInFiles
Menu item for finding some text in all the files |
javax.swing.JMenuItem |
menuItem_Font
Menu item for changing or viewing the fonts |
javax.swing.JMenuItem |
menuItem_GetLatestVersion
Menu item for getting the latest versions of the files or directories |
javax.swing.JMenuItem |
menuItem_InvertSelection
Menu item for unselecting all the shown files or directories |
javax.swing.JMenuItem |
menuItem_Label
Menu item for adding a label to a file or a directory |
javax.swing.JMenuItem |
menuItem_OnTheWeb
Menu item for showing the related content on the web |
javax.swing.JMenuItem |
menuItem_OpenDB
Menu item for opening a VersionControl database |
javax.swing.JMenuItem |
menuItem_Options
Menu item for showing the options |
javax.swing.JMenuItem |
menuItem_Paste
Menu item for pasting a file or a directory |
javax.swing.JMenuItem |
menuItem_Properties
Menu item for viewing the properties of a directory or a file |
javax.swing.JMenuItem |
menuItem_Refresh
Menu item for refreshing the view |
javax.swing.JMenuItem |
menuItem_Remove
Menu item for removing eigther a directory or a file |
javax.swing.JMenuItem |
menuItem_Rename
Menu item for renaming a directory |
javax.swing.JMenuItem |
menuItem_Search
Menu item for searching files |
javax.swing.JMenuItem |
menuItem_Select
Menu item for selecting a file or a directory |
javax.swing.JMenuItem |
menuItem_SelectAll
Menu item for selecting all the shown files or directories |
javax.swing.JMenuItem |
menuItem_SetWorkingFolder
Menu item for mapping a file system directory with a project directory |
javax.swing.JMenuItem |
menuItem_ShowDifferences
Menu item for showing the differences between two versions of a file |
javax.swing.JMenuItem |
menuItem_ShowHistory
Menu item for showing the versions and labels of the files or directories |
javax.swing.JMenuItem |
menuItem_Sort
Menu item for sorting all the shown files |
javax.swing.JMenuItem |
menuItem_UndoCheckOut
Menu item for undo checkout of the files or directories |
javax.swing.JMenuItem |
menuItem_View
Menu item for viewing the contents of a file |
TreeManipulator |
treeManipulator
treeManipulator is responsibe for showing the directories in a tree and then refreshing the visual presentation according to the changes made to the system. |
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
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 | |
ClientFrame(TreeManipulator treeManipulator)
Constructs and does the initialization of the object by setting the relations etc. |
Method Summary | |
void |
setStatusBarText(boolean clearStatus,
java.lang.String statusInfo)
Method to set and reset the status bar for indicating the processing status |
void |
terminateClient()
Terminates the execution of this application forcibly |
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, isResizable, remove, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle |
Methods inherited from class java.awt.Window |
addWindowListener, applyResourceBundle, applyResourceBundle, dispose, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, show, 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, 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, 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 |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public static int activePane
public MenuHandler menuHandler
public javax.swing.JMenu menu_File
public javax.swing.JMenu menu_Edit
public javax.swing.JMenu menu_View
public javax.swing.JMenu menu_Version
public javax.swing.JMenu menu_Tools
public javax.swing.JMenu menu_Help
public TreeManipulator treeManipulator
public FileTableManipulator fileTableManipulator
public javax.swing.JMenuItem menuItem_OpenDB
public javax.swing.JMenuItem menuItem_CreateProject
public javax.swing.JMenuItem menuItem_AddFiles
public javax.swing.JMenuItem menuItem_AddDirectories
public javax.swing.JMenuItem menuItem_Remove
public javax.swing.JMenuItem menuItem_Rename
public javax.swing.JMenuItem menuItem_Properties
public javax.swing.JMenuItem menuItem_SetWorkingFolder
public javax.swing.JMenuItem menuItem_Label
public javax.swing.JMenuItem menuItem_Exit
public javax.swing.JMenuItem menuItem_EditFile
public javax.swing.JMenuItem menuItem_Cut
public javax.swing.JMenuItem menuItem_Copy
public javax.swing.JMenuItem menuItem_Paste
public javax.swing.JMenuItem menuItem_Select
public javax.swing.JMenuItem menuItem_SelectAll
public javax.swing.JMenuItem menuItem_InvertSelection
public javax.swing.JMenuItem menuItem_View
public javax.swing.JMenuItem menuItem_Sort
public javax.swing.JMenuItem menuItem_Search
public javax.swing.JMenuItem menuItem_CancelSearch
public javax.swing.JMenuItem menuItem_Refresh
public javax.swing.JMenuItem menuItem_GetLatestVersion
public javax.swing.JMenuItem menuItem_CheckIn
public javax.swing.JMenuItem menuItem_CheckOut
public javax.swing.JMenuItem menuItem_UndoCheckOut
public javax.swing.JMenuItem menuItem_ShowHistory
public javax.swing.JMenuItem menuItem_ShowDifferences
public javax.swing.JMenuItem menuItem_FindInFiles
public javax.swing.JMenuItem menuItem_Options
public javax.swing.JMenuItem menuItem_Font
public javax.swing.JMenuItem menuItem_CustomizeToolbar
public javax.swing.JMenuItem menuItem_ChangePassword
public javax.swing.JMenuItem menuItem_Contents
public javax.swing.JMenuItem menuItem_OnTheWeb
public javax.swing.JMenuItem menuItem_About
Constructor Detail |
public ClientFrame(TreeManipulator treeManipulator) throws java.lang.Throwable
treeManipulator
- for intializing the field treeManipulator and other dependent fieldsMethod Detail |
public void terminateClient()
public void setStatusBarText(boolean clearStatus, java.lang.String statusInfo)
clearStatus
- if this is true then the status bar will show emptystatusInfo
- Status bar will show this string if clearStatus is false
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |