wt.clients.filevault
Class FileVaultTreeFrame

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended bywt.clients.filevault.FileVaultTreeFrame
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RefreshListener, Serializable

public class FileVaultTreeFrame
extends Frame
implements RefreshListener

See Also:
Serialized Form

Nested Class Summary
(package private)  class FileVaultTreeFrame.InitTreeViewThread
           
(package private)  class FileVaultTreeFrame.StringLocal
           
(package private)  class FileVaultTreeFrame.SymAction
           
(package private)  class FileVaultTreeFrame.SymContainer
           
(package private)  class FileVaultTreeFrame.SymFocus
           
(package private)  class FileVaultTreeFrame.SymItem
           
(package private)  class FileVaultTreeFrame.SymMouse
           
(package private)  class FileVaultTreeFrame.SymPropertyChange
           
(package private)  class FileVaultTreeFrame.SymWindow
           
 
Nested classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
private  ThreadGroup _contextGroup
          Name of the resource bundle class.
private  boolean _firstTime
           
private  Hashtable _hashHead
          This keeps track of the multilist headings.
private  HelpContext _helpContext
           
private  HelpSystem _helpSystem
           
private  symantec.itools.awt.TreeNode _lastSelNode
           
private  Date _lastTime
           
private  boolean _listLast
           
private  FvMountInfoMaster _master
          Reference to the object which provides a uniform snapshot of all the views.
private  boolean _nodeExpanded
           
private  boolean _nodeReady
          State variable to determine whether the nodes collection is ready
private  boolean _nodesReady
          Says whether the nodes are ready.
private  Hashtable _oldExpanded
          Stores the expanded states of the tree view items.
private static ResourceBundle _resources
          ResourceBundle from which localized text is retrieved.
private  SiteInfoMaster _siteMaster
          Reference to the object which is needed by SiteCreate
(package private)  Checkbox allPossibleCheckbox
           
(package private)  MenuItem bcastMenuItem
           
(package private)  symantec.itools.awt.BorderPanel borderPanel1
           
(package private)  MenuItem closeMenuItem
           
private  Font crossLocaleFont
           
private  long DBLCLICK_DELTA
           
private  boolean DEBUG
           
(package private)  symantec.itools.awt.ImageButton deleteImageButton
           
(package private)  MenuItem deleteMenuItem
           
(package private)  MenuItem enableMenuItem
           
(package private)  Checkbox existingCheckbox
           
(package private)  boolean fComponentsAdjusted
           
private static int FOLDER_LIST
           
(package private)  MenuItem generateBackup
           
(package private)  CheckboxGroup Group1
           
(package private)  MenuItem helpAbout
           
(package private)  MenuItem helpAdmin
           
private static int HOST_LIST
          Keeps track of type of multilist panel is needed.
private  boolean isPDMLinkInstalled
          booleans to store the status of installed components
private  boolean isProjectLinkInstalled
           
(package private)  symantec.itools.awt.WrappingLabel label1
           
(package private)  MenuBar menuBar
           
(package private)  Menu menuFile
           
(package private)  Menu MenuHelp
           
(package private)  MenuItem menuItem2
           
(package private)  Menu menuTools
           
(package private)  symantec.itools.awt.ImageButton mountImageButton
           
(package private)  symantec.itools.awt.BorderPanel mountListPanel
           
(package private)  MenuItem mountMenuItem
           
(package private)  FvMultiList mountMultiList
           
(package private)  symantec.itools.awt.ImageButton newFolderImageButton
           
(package private)  MenuItem newFolderMenuItem
           
(package private)  symantec.itools.awt.ImageButton newHostImageButton
           
(package private)  MenuItem newHostMenuItem
           
(package private)  Menu newMenu
           
(package private)  symantec.itools.awt.ImageButton newVaultImageButton
           
(package private)  MenuItem newVaultMenuItem
           
private  String NO_MOUNTS_STRING
           
private  String NO_VAULTS_STRING
           
private  String NOT_MOUNTED_STRING
          String constants used to check whether a mount is "really" a mount.
(package private)  MenuItem objectCleanMenuItem
           
(package private)  Menu objectPane
           
(package private)  symantec.itools.awt.TreeView objectTree
           
(package private)  MenuItem objectUpdateMenuItem
           
(package private)  MenuItem objectValidateMenuItem
           
(package private)  Panel optionPanel
           
(package private)  Panel panel
           
(package private)  Panel panel2
           
(package private)  symantec.itools.awt.ImageButton refreshImageButton
           
(package private)  MenuItem refreshMenuItem
           
private static int REMOTE_FOLDER_LIST
           
private static int REMOTE_VAULT_LIST
           
private static String REPL_METHOD
           
private static String REPL_QUEUE
          Replication scheduler info
private static String REPLSCHED_RB
           
(package private)  MenuItem replschedMenuItem
           
(package private)  symantec.itools.awt.ImageButton resetReplImageButton
           
(package private)  MenuItem resetReplMenuItem
           
(package private)  MenuItem resetUndeliveredMenuItem
           
private static String REVAULTING_QUEUE
          Revaulting scheduler info.
(package private)  symantec.itools.awt.ImageButton revaultingImageButton
           
(package private)  MenuItem revaultingMenuItem
           
private static String SCHED_ITEM_NAME
           
private  int SCHED_MODE
           
private static String SCHED_RB
           
private static String SCHEDITEM_DESCR
           
(package private)  symantec.itools.awt.ImageButton schedReplImageButton
           
private static int SITE_LIST
           
(package private)  symantec.itools.awt.StatusBar statusBar1
           
private static String TARGET_METHOD
           
(package private)  symantec.itools.awt.ImageButton toggleEnabledImageButton
           
(package private)  symantec.itools.awt.util.ToolBarPanel toolBarPanel
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer1
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer2
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer3
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer4
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer5
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer6
           
(package private)  symantec.itools.awt.util.ToolBarSpacer toolBarSpacer7
           
(package private)  symantec.itools.awt.ImageButton unmountImageButton
           
(package private)  MenuItem unmountMenuItem
           
(package private)  symantec.itools.awt.ImageButton updateImageButton
           
(package private)  symantec.itools.awt.ImageButton updateMountImageButton
           
(package private)  MenuItem updateMountMenuItem
           
(package private)  symantec.itools.awt.ImageButton validateMountImageButton
           
(package private)  MenuItem validateMountMenuItem
           
(package private)  symantec.itools.awt.ImageButton validateObjectImageButton
           
private static int VAULT_LIST
           
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, 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.Window
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FileVaultTreeFrame()
           
FileVaultTreeFrame(String title)
           
 
Method Summary
private  void addExtraMultiListRows(Long key, int mountType)
          Adds the all possible mounts rows.
private  void addLeafNode(String label, String iconName, Long dataObject, symantec.itools.awt.TreeNode parent)
           
 void addNotify()
           
private  void adjustHeadingSize()
          Makes sure that there are the correct number of headings.
(package private)  void allPossibleCheckbox_ItemStateChanged(ItemEvent event)
           
(package private)  void bcastMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void closeMenuItem_ActionPerformed(ActionEvent event)
           
private  boolean deleteFolder()
          Deletes a the selected folder from the repository.
private  boolean deleteHost()
          Deletes the selected host from the repository.
(package private)  void deleteImageButton_mouseReleased(MouseEvent event)
           
(package private)  void deleteMenuItem_ActionPerformed(ActionEvent event)
           
private  boolean deleteSite()
           
private  boolean deleteVault()
          Deletes the selected vault from the repository.
private  void disableAllButHelpAndClose()
          This method is called in the event of an authentication exception is caught.
 void dispose()
           
(package private)  void enableMenuItem_ActionPerformed(ActionEvent event)
          This method toggles the enabled status of the item in question.
private  void enableWidgets()
          Enable/disable the menu items which depend on the state of the folder panel lists.
(package private)  void existingCheckbox_ItemStateChanged(ItemEvent event)
           
private  void fillFolderNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
private  void fillHostNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
private  symantec.itools.awt.TreeNode fillLeafParent(symantec.itools.awt.TreeNode parent, String label)
           
 void FillMountMultiList(String root, Long key)
          Fills the mount multi list.
private  void fillMultiList(symantec.itools.awt.TreeNode selNode)
           
private  void fillObjectNodes(symantec.itools.awt.TreeNode parent, String icon, Enumeration enum)
           
private  void fillRemoteFolderNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
private  void fillRemoteHostNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
private  void fillRemoteVaultNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
private  void fillSiteMultiList()
          Gets a row for a table.
private  void fillSiteView(Site theSite, symantec.itools.awt.TreeNode parentNode)
           
private  void fillTreeView()
           
private  void fillVaultNodes(symantec.itools.awt.TreeNode parent, Long siteID)
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
(package private)  void generateBackup_ActionPerformed(ActionEvent event)
           
private  WTContext getContext()
           
private  String[] getExtraFolderRow(FvHost theHost, FileFolder theFolder)
          Used when filling in all possible folder mounts.
private  String[] getExtraHostRow(Vault theVault, FileFolder theFolder, Long key)
          This is the version of getExtraHostRow which should be called by the TreeView version of the system.
private  String[] getExtraVaultRow(FvHost theHost, FileFolder theFolder, Long key)
           
private  String[] getFolderRow(FvMountInfoMaster.MountInfo mi)
           
private  FileVaultTreeFrame.StringLocal getFolderString()
           
 HelpContext getHelpContext()
          Gets the HelpContext instance associated with this screen., This method is public by Windchill convention
 HelpSystem getHelpSystem()
          Gets the HelpSystem instance associated with this screen.
private  String[] getHostRow(FvMountInfoMaster.MountInfo mi)
           
private  String getHostString()
           
 FvMountInfoMaster getMaster()
           
private  boolean getNodeReady()
           
private  String getObjectNameAttribute(WTObject obj)
           
private  SiteInfoMaster getSiteMaster()
           
private  String[] getSiteRow(FvMountInfoMaster.MountInfo mi)
           
private  String[] getTableRow(int mountType, FvMountInfoMaster.MountInfo mi)
           
private  String[] getVaultInfoRow(Vault theVault)
           
private  String[] getVaultRow(FvMountInfoMaster.MountInfo mi)
           
private  void handleNodeIsntReady(symantec.itools.awt.TreeNode node)
           
private  void handleSiteHeadings(symantec.itools.awt.TreeNode selNode)
           
(package private)  void helpAbout_ActionPerformed(ActionEvent event)
           
(package private)  void helpAdmin_ActionPerformed(ActionEvent event)
           
private  void initHeadings()
           
private  void initHelpSystem()
          Initializes the help system.
private  void initialize()
           
private  void initializeHelp()
          Begin Help Boiler plate
private  void initMultiListHeadings()
           
private  void initPanels()
           
private  void initResources()
          Initializes the ResourceBundle from which localized text is retrieved.
private  void initTreeView()
          Fill the top row of the tree view.
private  void initTreeViewNoChildren()
          If an exception is thrown during the tree view construction we need to give the user visual feedback that the root nodes have no children.
private  boolean isSelectedSiteLocal(symantec.itools.awt.TreeNode selNode)
          Figure out if a selected site is local or remote
private  Vector killChildren(symantec.itools.awt.TreeNode parent, Vector list)
           
private  void localize()
           
static void main(String[] args)
           
(package private)  void mountImageButton_mouseReleased(MouseEvent event)
           
private  boolean mountIsSelected(boolean isFolder)
          Utility function to see if there is a mount selected in a multilist
(package private)  void mountMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void mountMultiList_actionPerformed(ActionEvent event)
           
(package private)  void mountMultiList_itemStateChanged(ItemEvent event)
           
(package private)  void mountMultiList_mouseClicked(MouseEvent event)
           
(package private)  void newFolderImageButton_mouseReleased(MouseEvent event)
           
(package private)  void newFolderMenuItem_ActionPerformed(ActionEvent event)
          Show an Admin Edit screen configured for updating an existing folder.
private  PropertyChangeListener newHelpListener()
          newHelpListener This function adds a listener to respond to the component mouse over events.
(package private)  void newHostImageButton_mouseReleased(MouseEvent event)
          Handler for the new host image button.
(package private)  void newHostMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void newVaultImageButton_mouseReleased(MouseEvent event)
          Handler for the newVault image button.
(package private)  void newVaultMenuItem_ActionPerformed(ActionEvent event)
          Handler for the newVault menu item
(package private)  void objectCleanMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void objectTree_itemStateChanged(ItemEvent event)
          Handler for the objectTree item state changed events.
(package private)  void objectTree_mousePressed(MouseEvent event)
           
(package private)  void objectUpdateMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void objectValidateMenuItem_ActionPerformed(ActionEvent event)
           
private  void preSelectNode(String key)
           
private  int reallyAMount()
          Displays the multiList.
 void refresh()
           
(package private)  void refreshImageButton_mouseReleased(MouseEvent event)
           
 void refreshList()
           
(package private)  void refreshMenuItem_ActionPerformed(ActionEvent event)
           
private  void removeAllNodes()
           
(package private)  void replschedMenuItem_ActionPerformed(ActionEvent event)
           
private  void resetExpanded()
           
private  symantec.itools.awt.TreeNode resetExpandedChildren(symantec.itools.awt.TreeNode node)
           
(package private)  void resetReplImageButton_actionPerformed(ActionEvent event)
           
(package private)  void resetReplMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void resetUndeliveredMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void revaultingImageButton_actionPerformed(ActionEvent event)
           
(package private)  void revaultingMenuItem_ActionPerformed(ActionEvent event)
           
private  void saveExpanded()
           
private  symantec.itools.awt.TreeNode saveExpandedChildren(symantec.itools.awt.TreeNode node)
           
(package private)  void schedReplImageButton_actionPerformed(ActionEvent event)
           
private  boolean selectedFolderHasMounts(symantec.itools.awt.TreeNode selNode)
           
private  boolean selectedHostHasMounts(symantec.itools.awt.TreeNode selNode)
           
private  boolean selectedVaultHasMounts(symantec.itools.awt.TreeNode selNode)
           
private  void selectSavedNode(Long objData, symantec.itools.awt.TreeNode parentNode)
           
private  void setContext(boolean contextOn)
           
private  void setMountHeadings(String strKey)
          adjusts the headings given the folder key.
private  void setNodeReady(boolean flag)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
private  void showFolderScreen(boolean isNew)
           
private  void stopHelp()
          stopHelp should be called every time the window gets closed.
(package private)  void toggleEnabledImageButton_actionPerformed(ActionEvent event)
           
(package private)  void unmountImageButton_actionPerformed(ActionEvent event)
           
(package private)  void unmountMenuItem_ActionPerformed(ActionEvent event)
           
(package private)  void updateImageButton_actionPerformed(ActionEvent event)
           
(package private)  void updateMountImageButton_mouseReleased(MouseEvent event)
           
(package private)  void updateMountMenuItem_ActionPerformed(ActionEvent event)
           
private  void validateMount()
           
(package private)  void validateMountImageButton_actionPerformed(ActionEvent event)
           
(package private)  void validateMountMenuItem_ActionPerformed(ActionEvent event)
           
private  void validateObject()
           
(package private)  void validateObjectImageButton_actionPerformed(ActionEvent event)
           
 
Methods inherited from class java.awt.Frame
finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, 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, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
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

_helpSystem

private HelpSystem _helpSystem

_helpContext

private HelpContext _helpContext

DEBUG

private boolean DEBUG

HOST_LIST

private static final int HOST_LIST
Keeps track of type of multilist panel is needed.

See Also:
Constant Field Values

VAULT_LIST

private static final int VAULT_LIST
See Also:
Constant Field Values

FOLDER_LIST

private static final int FOLDER_LIST
See Also:
Constant Field Values

SITE_LIST

private static final int SITE_LIST
See Also:
Constant Field Values

REMOTE_VAULT_LIST

private static final int REMOTE_VAULT_LIST
See Also:
Constant Field Values

REMOTE_FOLDER_LIST

private static final int REMOTE_FOLDER_LIST
See Also:
Constant Field Values

_master

private FvMountInfoMaster _master
Reference to the object which provides a uniform snapshot of all the views.


_siteMaster

private SiteInfoMaster _siteMaster
Reference to the object which is needed by SiteCreate


NOT_MOUNTED_STRING

private String NOT_MOUNTED_STRING
String constants used to check whether a mount is "really" a mount.


NO_MOUNTS_STRING

private String NO_MOUNTS_STRING

NO_VAULTS_STRING

private String NO_VAULTS_STRING

isPDMLinkInstalled

private boolean isPDMLinkInstalled
booleans to store the status of installed components


isProjectLinkInstalled

private boolean isProjectLinkInstalled

_oldExpanded

private Hashtable _oldExpanded
Stores the expanded states of the tree view items.


_contextGroup

private ThreadGroup _contextGroup
Name of the resource bundle class.


_hashHead

private Hashtable _hashHead
This keeps track of the multilist headings.


_resources

private static ResourceBundle _resources
ResourceBundle from which localized text is retrieved.


crossLocaleFont

private Font crossLocaleFont

_nodesReady

private boolean _nodesReady
Says whether the nodes are ready. Only used for the first startup.


REVAULTING_QUEUE

private static final String REVAULTING_QUEUE
Revaulting scheduler info.

See Also:
Constant Field Values

SCHEDITEM_DESCR

private static final String SCHEDITEM_DESCR
See Also:
Constant Field Values

SCHED_ITEM_NAME

private static final String SCHED_ITEM_NAME
See Also:
Constant Field Values

SCHED_RB

private static final String SCHED_RB
See Also:
Constant Field Values

TARGET_METHOD

private static final String TARGET_METHOD
See Also:
Constant Field Values

SCHED_MODE

private int SCHED_MODE

REPL_QUEUE

private static final String REPL_QUEUE
Replication scheduler info

See Also:
Constant Field Values

REPLSCHED_RB

private static final String REPLSCHED_RB
See Also:
Constant Field Values

REPL_METHOD

private static final String REPL_METHOD
See Also:
Constant Field Values

fComponentsAdjusted

boolean fComponentsAdjusted

toolBarPanel

symantec.itools.awt.util.ToolBarPanel toolBarPanel

newHostImageButton

symantec.itools.awt.ImageButton newHostImageButton

newVaultImageButton

symantec.itools.awt.ImageButton newVaultImageButton

newFolderImageButton

symantec.itools.awt.ImageButton newFolderImageButton

toolBarSpacer1

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer1

deleteImageButton

symantec.itools.awt.ImageButton deleteImageButton

toolBarSpacer2

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer2

refreshImageButton

symantec.itools.awt.ImageButton refreshImageButton

toolBarSpacer4

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer4

updateImageButton

symantec.itools.awt.ImageButton updateImageButton

toolBarSpacer6

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer6

validateObjectImageButton

symantec.itools.awt.ImageButton validateObjectImageButton

toggleEnabledImageButton

symantec.itools.awt.ImageButton toggleEnabledImageButton

validateMountImageButton

symantec.itools.awt.ImageButton validateMountImageButton

toolBarSpacer3

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer3

updateMountImageButton

symantec.itools.awt.ImageButton updateMountImageButton

unmountImageButton

symantec.itools.awt.ImageButton unmountImageButton

mountImageButton

symantec.itools.awt.ImageButton mountImageButton

toolBarSpacer5

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer5

revaultingImageButton

symantec.itools.awt.ImageButton revaultingImageButton

toolBarSpacer7

symantec.itools.awt.util.ToolBarSpacer toolBarSpacer7

schedReplImageButton

symantec.itools.awt.ImageButton schedReplImageButton

resetReplImageButton

symantec.itools.awt.ImageButton resetReplImageButton

panel

Panel panel

optionPanel

Panel optionPanel

existingCheckbox

Checkbox existingCheckbox

Group1

CheckboxGroup Group1

allPossibleCheckbox

Checkbox allPossibleCheckbox

mountListPanel

symantec.itools.awt.BorderPanel mountListPanel

mountMultiList

FvMultiList mountMultiList

label1

symantec.itools.awt.WrappingLabel label1

borderPanel1

symantec.itools.awt.BorderPanel borderPanel1

objectTree

symantec.itools.awt.TreeView objectTree

panel2

Panel panel2

statusBar1

symantec.itools.awt.StatusBar statusBar1

menuBar

MenuBar menuBar

menuFile

Menu menuFile

newMenu

Menu newMenu

newHostMenuItem

MenuItem newHostMenuItem

newVaultMenuItem

MenuItem newVaultMenuItem

newFolderMenuItem

MenuItem newFolderMenuItem

refreshMenuItem

MenuItem refreshMenuItem

generateBackup

MenuItem generateBackup

menuItem2

MenuItem menuItem2

bcastMenuItem

MenuItem bcastMenuItem

deleteMenuItem

MenuItem deleteMenuItem

closeMenuItem

MenuItem closeMenuItem

objectPane

Menu objectPane

objectUpdateMenuItem

MenuItem objectUpdateMenuItem

mountMenuItem

MenuItem mountMenuItem

objectValidateMenuItem

MenuItem objectValidateMenuItem

enableMenuItem

MenuItem enableMenuItem

objectCleanMenuItem

MenuItem objectCleanMenuItem

revaultingMenuItem

MenuItem revaultingMenuItem

replschedMenuItem

MenuItem replschedMenuItem

resetReplMenuItem

MenuItem resetReplMenuItem

resetUndeliveredMenuItem

MenuItem resetUndeliveredMenuItem

menuTools

Menu menuTools

updateMountMenuItem

MenuItem updateMountMenuItem

validateMountMenuItem

MenuItem validateMountMenuItem

unmountMenuItem

MenuItem unmountMenuItem

MenuHelp

Menu MenuHelp

helpAdmin

MenuItem helpAdmin

helpAbout

MenuItem helpAbout

_firstTime

private boolean _firstTime

_listLast

private boolean _listLast

_lastSelNode

private symantec.itools.awt.TreeNode _lastSelNode

_lastTime

private Date _lastTime

DBLCLICK_DELTA

private long DBLCLICK_DELTA

_nodeExpanded

private boolean _nodeExpanded

_nodeReady

private boolean _nodeReady
State variable to determine whether the nodes collection is ready

Constructor Detail

FileVaultTreeFrame

public FileVaultTreeFrame()

FileVaultTreeFrame

public FileVaultTreeFrame(String title)
Method Detail

initResources

private void initResources()
Initializes the ResourceBundle from which localized text is retrieved. This method uses the Locale determined by the WTContext in determining the appropriate ResourceBundle to load.

See Also:
ResourceBundle, WTContext

setVisible

public void setVisible(boolean b)
Shows or hides the component depending on the boolean flag b.

Parameters:
b - if true, show the component; otherwise, hide the component.
See Also:
Component.isVisible()

main

public static void main(String[] args)

initHeadings

private void initHeadings()

getMaster

public FvMountInfoMaster getMaster()

addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

dispose

public void dispose()

localize

private void localize()

initMultiListHeadings

private void initMultiListHeadings()

setMountHeadings

private void setMountHeadings(String strKey)
adjusts the headings given the folder key.


adjustHeadingSize

private void adjustHeadingSize()
Makes sure that there are the correct number of headings. ?


initialize

private void initialize()

initPanels

private void initPanels()

initTreeView

private void initTreeView()
Fill the top row of the tree view. This is to allow for faster display at startup. This fills the tree view with a list of the parents. there is a worker thread which this method fires which fills fills up the real worker thread.


removeAllNodes

private void removeAllNodes()

killChildren

private Vector killChildren(symantec.itools.awt.TreeNode parent,
                            Vector list)

initTreeViewNoChildren

private void initTreeViewNoChildren()
If an exception is thrown during the tree view construction we need to give the user visual feedback that the root nodes have no children.


fillTreeView

private void fillTreeView()

fillSiteView

private void fillSiteView(Site theSite,
                          symantec.itools.awt.TreeNode parentNode)

getObjectNameAttribute

private String getObjectNameAttribute(WTObject obj)

fillRemoteFolderNodes

private void fillRemoteFolderNodes(symantec.itools.awt.TreeNode parent,
                                   Long siteID)

fillRemoteHostNodes

private void fillRemoteHostNodes(symantec.itools.awt.TreeNode parent,
                                 Long siteID)

fillHostNodes

private void fillHostNodes(symantec.itools.awt.TreeNode parent,
                           Long siteID)

fillFolderNodes

private void fillFolderNodes(symantec.itools.awt.TreeNode parent,
                             Long siteID)

fillObjectNodes

private void fillObjectNodes(symantec.itools.awt.TreeNode parent,
                             String icon,
                             Enumeration enum)

fillRemoteVaultNodes

private void fillRemoteVaultNodes(symantec.itools.awt.TreeNode parent,
                                  Long siteID)

fillVaultNodes

private void fillVaultNodes(symantec.itools.awt.TreeNode parent,
                            Long siteID)

fillLeafParent

private symantec.itools.awt.TreeNode fillLeafParent(symantec.itools.awt.TreeNode parent,
                                                    String label)

addLeafNode

private void addLeafNode(String label,
                         String iconName,
                         Long dataObject,
                         symantec.itools.awt.TreeNode parent)

closeMenuItem_ActionPerformed

void closeMenuItem_ActionPerformed(ActionEvent event)

newVaultMenuItem_ActionPerformed

void newVaultMenuItem_ActionPerformed(ActionEvent event)
Handler for the newVault menu item


getSiteMaster

private SiteInfoMaster getSiteMaster()

newVaultImageButton_mouseReleased

void newVaultImageButton_mouseReleased(MouseEvent event)
Handler for the newVault image button.


newHostImageButton_mouseReleased

void newHostImageButton_mouseReleased(MouseEvent event)
Handler for the new host image button.


preSelectNode

private void preSelectNode(String key)

newHostMenuItem_ActionPerformed

void newHostMenuItem_ActionPerformed(ActionEvent event)

newFolderMenuItem_ActionPerformed

void newFolderMenuItem_ActionPerformed(ActionEvent event)
Show an Admin Edit screen configured for updating an existing folder. request is from the menu item.


newFolderImageButton_mouseReleased

void newFolderImageButton_mouseReleased(MouseEvent event)

showFolderScreen

private void showFolderScreen(boolean isNew)

refreshImageButton_mouseReleased

void refreshImageButton_mouseReleased(MouseEvent event)

refreshMenuItem_ActionPerformed

void refreshMenuItem_ActionPerformed(ActionEvent event)

saveExpanded

private void saveExpanded()

saveExpandedChildren

private symantec.itools.awt.TreeNode saveExpandedChildren(symantec.itools.awt.TreeNode node)

resetExpandedChildren

private symantec.itools.awt.TreeNode resetExpandedChildren(symantec.itools.awt.TreeNode node)

resetExpanded

private void resetExpanded()

selectSavedNode

private void selectSavedNode(Long objData,
                             symantec.itools.awt.TreeNode parentNode)

refresh

public void refresh()

deleteImageButton_mouseReleased

void deleteImageButton_mouseReleased(MouseEvent event)

deleteMenuItem_ActionPerformed

void deleteMenuItem_ActionPerformed(ActionEvent event)

deleteFolder

private boolean deleteFolder()
Deletes a the selected folder from the repository. User is warned if the folder is involved in any mounts. If the user wishes to continue, all mounts involving the folder are removed as well as the folder itself.


deleteSite

private boolean deleteSite()

deleteVault

private boolean deleteVault()
Deletes the selected vault from the repository. User is NOT allowed to delete a vault which still has folders in it. This is because folders can only exist inside of one vault, so by deleting a folder, good mounts may be trashed.


deleteHost

private boolean deleteHost()
Deletes the selected host from the repository. By doing so, all mounts involving that host are also destroyed. The user is prompted if there are existing mounts to give it a chance to back out of it.


mountImageButton_mouseReleased

void mountImageButton_mouseReleased(MouseEvent event)

mountMenuItem_ActionPerformed

void mountMenuItem_ActionPerformed(ActionEvent event)

updateMountImageButton_mouseReleased

void updateMountImageButton_mouseReleased(MouseEvent event)

updateMountMenuItem_ActionPerformed

void updateMountMenuItem_ActionPerformed(ActionEvent event)

allPossibleCheckbox_ItemStateChanged

void allPossibleCheckbox_ItemStateChanged(ItemEvent event)

existingCheckbox_ItemStateChanged

void existingCheckbox_ItemStateChanged(ItemEvent event)

unmountMenuItem_ActionPerformed

void unmountMenuItem_ActionPerformed(ActionEvent event)

isSelectedSiteLocal

private boolean isSelectedSiteLocal(symantec.itools.awt.TreeNode selNode)
Figure out if a selected site is local or remote


selectedFolderHasMounts

private boolean selectedFolderHasMounts(symantec.itools.awt.TreeNode selNode)

selectedVaultHasMounts

private boolean selectedVaultHasMounts(symantec.itools.awt.TreeNode selNode)

selectedHostHasMounts

private boolean selectedHostHasMounts(symantec.itools.awt.TreeNode selNode)

enableWidgets

private void enableWidgets()
Enable/disable the menu items which depend on the state of the folder panel lists.


disableAllButHelpAndClose

private void disableAllButHelpAndClose()
This method is called in the event of an authentication exception is caught. When that happens, the user can either look at the help, or close the applet.


mountIsSelected

private boolean mountIsSelected(boolean isFolder)
Utility function to see if there is a mount selected in a multilist


objectUpdateMenuItem_ActionPerformed

void objectUpdateMenuItem_ActionPerformed(ActionEvent event)

objectCleanMenuItem_ActionPerformed

void objectCleanMenuItem_ActionPerformed(ActionEvent event)

objectTree_itemStateChanged

void objectTree_itemStateChanged(ItemEvent event)
Handler for the objectTree item state changed events. Keeps the multilist in synch with the selected node.


handleNodeIsntReady

private void handleNodeIsntReady(symantec.itools.awt.TreeNode node)

fillMultiList

private void fillMultiList(symantec.itools.awt.TreeNode selNode)
                    throws WTException
Throws:
WTException

handleSiteHeadings

private void handleSiteHeadings(symantec.itools.awt.TreeNode selNode)

FillMountMultiList

public void FillMountMultiList(String root,
                               Long key)
                        throws WTException
Fills the mount multi list.

Parameters:
root - The root of the multilist
key - The object id of the Host, Folder, or Vault that we are displaying the mounts of.
Throws:
WTException

addExtraMultiListRows

private void addExtraMultiListRows(Long key,
                                   int mountType)
                            throws WTException
Adds the all possible mounts rows. Arguments are the mount type, (affects which type of row needs to be filled, as well as which undefined mounts needs to be displayed. And the Object identifier of the object

Throws:
WTException

getExtraFolderRow

private String[] getExtraFolderRow(FvHost theHost,
                                   FileFolder theFolder)
Used when filling in all possible folder mounts. It is called by FillExtraRow.


getExtraVaultRow

private String[] getExtraVaultRow(FvHost theHost,
                                  FileFolder theFolder,
                                  Long key)

getExtraHostRow

private String[] getExtraHostRow(Vault theVault,
                                 FileFolder theFolder,
                                 Long key)
This is the version of getExtraHostRow which should be called by the TreeView version of the system.


fillSiteMultiList

private void fillSiteMultiList()
Gets a row for a table.


getVaultInfoRow

private String[] getVaultInfoRow(Vault theVault)

getTableRow

private String[] getTableRow(int mountType,
                             FvMountInfoMaster.MountInfo mi)

getSiteRow

private String[] getSiteRow(FvMountInfoMaster.MountInfo mi)

getHostRow

private String[] getHostRow(FvMountInfoMaster.MountInfo mi)

getVaultRow

private String[] getVaultRow(FvMountInfoMaster.MountInfo mi)

getFolderRow

private String[] getFolderRow(FvMountInfoMaster.MountInfo mi)

reallyAMount

private int reallyAMount()
Displays the multiList.


mountMultiList_actionPerformed

void mountMultiList_actionPerformed(ActionEvent event)

getHostString

private String getHostString()

getFolderString

private FileVaultTreeFrame.StringLocal getFolderString()

mountMultiList_itemStateChanged

void mountMultiList_itemStateChanged(ItemEvent event)

helpAbout_ActionPerformed

void helpAbout_ActionPerformed(ActionEvent event)

getContext

private WTContext getContext()

setContext

private void setContext(boolean contextOn)

initializeHelp

private void initializeHelp()
Begin Help Boiler plate


getHelpContext

public HelpContext getHelpContext()
Gets the HelpContext instance associated with this screen., This method is public by Windchill convention


getHelpSystem

public HelpSystem getHelpSystem()
Gets the HelpSystem instance associated with this screen. Windchill convention says that this function should be public.


initHelpSystem

private void initHelpSystem()
Initializes the help system.


newHelpListener

private PropertyChangeListener newHelpListener()
newHelpListener This function adds a listener to respond to the component mouse over events. It updates the status bar everytime the mouse passes over one of the buttons.


stopHelp

private void stopHelp()
stopHelp should be called every time the window gets closed.


helpAdmin_ActionPerformed

void helpAdmin_ActionPerformed(ActionEvent event)

generateBackup_ActionPerformed

void generateBackup_ActionPerformed(ActionEvent event)

objectTree_mousePressed

void objectTree_mousePressed(MouseEvent event)

setNodeReady

private void setNodeReady(boolean flag)

getNodeReady

private boolean getNodeReady()

revaultingMenuItem_ActionPerformed

void revaultingMenuItem_ActionPerformed(ActionEvent event)

revaultingImageButton_actionPerformed

void revaultingImageButton_actionPerformed(ActionEvent event)

refreshList

public void refreshList()
Specified by:
refreshList in interface RefreshListener

mountMultiList_mouseClicked

void mountMultiList_mouseClicked(MouseEvent event)

objectValidateMenuItem_ActionPerformed

void objectValidateMenuItem_ActionPerformed(ActionEvent event)

validateMountMenuItem_ActionPerformed

void validateMountMenuItem_ActionPerformed(ActionEvent event)

validateMount

private void validateMount()
                    throws WTException
Throws:
WTException

validateObject

private void validateObject()
                     throws WTException
Throws:
WTException

enableMenuItem_ActionPerformed

void enableMenuItem_ActionPerformed(ActionEvent event)
This method toggles the enabled status of the item in question. Items which can have an enabled status include.... vaults, remote vaults, remote folders, and folders.


updateImageButton_actionPerformed

void updateImageButton_actionPerformed(ActionEvent event)

replschedMenuItem_ActionPerformed

void replschedMenuItem_ActionPerformed(ActionEvent event)

schedReplImageButton_actionPerformed

void schedReplImageButton_actionPerformed(ActionEvent event)

resetReplMenuItem_ActionPerformed

void resetReplMenuItem_ActionPerformed(ActionEvent event)

validateObjectImageButton_actionPerformed

void validateObjectImageButton_actionPerformed(ActionEvent event)

validateMountImageButton_actionPerformed

void validateMountImageButton_actionPerformed(ActionEvent event)

unmountImageButton_actionPerformed

void unmountImageButton_actionPerformed(ActionEvent event)

resetReplImageButton_actionPerformed

void resetReplImageButton_actionPerformed(ActionEvent event)

toggleEnabledImageButton_actionPerformed

void toggleEnabledImageButton_actionPerformed(ActionEvent event)

bcastMenuItem_ActionPerformed

void bcastMenuItem_ActionPerformed(ActionEvent event)

resetUndeliveredMenuItem_ActionPerformed

void resetUndeliveredMenuItem_ActionPerformed(ActionEvent event)