wt.clients.filevault
Class AdminEditVault

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

public class AdminEditVault
extends Frame

See Also:
Serialized Form

Nested Class Summary
private  class AdminEditVault.folderComparator
           
(package private)  class AdminEditVault.SymAction
           
(package private)  class AdminEditVault.SymItem
           
(package private)  class AdminEditVault.SymMouse
           
(package private)  class AdminEditVault.SymWindow
           
(package private)  class AdminEditVault.WaitForShow
           
 
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  int _actionCount
           
private  ThreadGroup _contextGroup
           
private  Hashtable _folderHash
           
private  boolean _folderRemoved
           
private  Vector _folders
           
private  HelpContext _helpContext
           
private  HelpSystem _helpSystem
           
private  boolean _isLocal
           
private  FvMountInfoMaster _master
          Reference to the object which does the bookeeping to make sure that the snapshot of the folders, vaults, mounts and hosts are consistent.
private  String[] _objStack
           
private  ResourceBundle _rb
           
private  boolean _reordered
           
private  long[][] _seqObjIDMap
           
private  Vault _vault
           
private  boolean _vaultIsDirty
          State variable to check to see whether a save failed.
private  String _vaultOrigName
           
(package private)  symantec.itools.awt.LabelButton bottomButt
           
(package private)  Checkbox cacheCheck
           
(package private)  symantec.itools.awt.LabelButton cancelButt
           
private static Font crossLocaleFont
           
(package private)  symantec.itools.awt.LabelButton downButt
           
(package private)  boolean fComponentsAdjusted
           
(package private)  symantec.itools.awt.MultiList folderMultiList
           
(package private)  CheckboxGroup Group1
           
(package private)  symantec.itools.awt.LabelButton helpButt
           
private  boolean initiallyForCache
           
private  boolean initiallyForReadOnly
           
private  boolean isPDMLinkInstalled
          booleans to store the status of installed components
private  boolean isProjectLinkInstalled
           
(package private)  symantec.itools.awt.LabelButton okButt
           
(package private)  Panel panel1
           
(package private)  symantec.itools.awt.BorderPanel panel2
           
(package private)  Panel panel3
           
(package private)  Panel panel4
           
(package private)  Checkbox readOnlyCheck
           
(package private)  Checkbox showAllButt
           
(package private)  Checkbox showWritableRadio
           
(package private)  symantec.itools.awt.StatusBar statusBar1
           
private static int TIME_OUT
           
(package private)  symantec.itools.awt.LabelButton topButt
           
(package private)  symantec.itools.awt.LabelButton upButt
           
(package private)  TextField vaultNameField
           
(package private)  symantec.itools.awt.WrappingLabel vaultNameLab
           
 
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
private AdminEditVault()
           
  AdminEditVault(String title, FvMountInfoMaster master, Long vaultKey)
           
 
Method Summary
 void addNotify()
           
(package private)  void bottomButt_ActionPerformed(ActionEvent event)
           
(package private)  void bottomButt_MouseExited(MouseEvent event)
           
(package private)  void cancelButt_ActionPerformed(ActionEvent event)
           
(package private)  void downButt_ActionPerformed(ActionEvent event)
           
(package private)  void downButt_MouseExited(MouseEvent event)
           
private  void enableButtons()
           
private  void fillFolderList()
           
(package private)  void folderMultiList_itemStateChanged(ItemEvent event)
           
(package private)  void folderMultiList_mouseClicked(MouseEvent event)
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
private  WTContext getContext()
           
 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.
(package private)  void helpButt_ActionPerformed(ActionEvent event)
           
private  void initFolders()
           
private  void initHelpSystem()
          Initializes the help system.
private  void initializeHelp()
          Begin Help Boiler plate
private  void initVaultInfo(Long vaultKey)
           
private  boolean isMotifMouseEvent()
           
private  void localize()
           
static void main(String[] args)
           
private  void moveExtreme(int selRow, boolean top)
           
private  PropertyChangeListener newHelpListener()
          newHelpListener This function adds a listener to respond to the component mouse over events.
(package private)  void okButt_ActionPerformed(ActionEvent event)
           
private  void setContext(boolean contextOn)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
(package private)  void showAllButt_ItemStateChanged(ItemEvent event)
           
(package private)  void showWritableRadio_ItemStateChanged(ItemEvent event)
           
private  void stopHelp()
          stopHelp should be called every time the window gets closed.
private  void swapObjectReferences(int oldRow, int newRow)
           
private  void swapRows(int oldRow, int newRow)
           
(package private)  void topButt_ActionPerformed(ActionEvent event)
           
(package private)  void topButt_MouseExited(MouseEvent event)
           
(package private)  void upButt_ActionPerformed(ActionEvent event)
           
(package private)  void upButt_MouseExited(MouseEvent event)
           
(package private)  void vaultNameField_EnterHit(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, dispose, 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

_contextGroup

private ThreadGroup _contextGroup

_helpSystem

private HelpSystem _helpSystem

_helpContext

private HelpContext _helpContext

_master

private FvMountInfoMaster _master
Reference to the object which does the bookeeping to make sure that the snapshot of the folders, vaults, mounts and hosts are consistent.


_vaultOrigName

private String _vaultOrigName

_folders

private Vector _folders

_vault

private Vault _vault

_seqObjIDMap

private long[][] _seqObjIDMap

_folderHash

private Hashtable _folderHash

_reordered

private boolean _reordered

_vaultIsDirty

private boolean _vaultIsDirty
State variable to check to see whether a save failed. Waiting on in place refresh so I don't have to do this hack.


_folderRemoved

private boolean _folderRemoved

_actionCount

private int _actionCount

TIME_OUT

private static final int TIME_OUT
See Also:
Constant Field Values

_rb

private ResourceBundle _rb

crossLocaleFont

private static Font crossLocaleFont

initiallyForCache

private boolean initiallyForCache

initiallyForReadOnly

private boolean initiallyForReadOnly

isPDMLinkInstalled

private boolean isPDMLinkInstalled
booleans to store the status of installed components


isProjectLinkInstalled

private boolean isProjectLinkInstalled

_isLocal

private boolean _isLocal

fComponentsAdjusted

boolean fComponentsAdjusted

panel4

Panel panel4

panel1

Panel panel1

readOnlyCheck

Checkbox readOnlyCheck

cacheCheck

Checkbox cacheCheck

vaultNameLab

symantec.itools.awt.WrappingLabel vaultNameLab

vaultNameField

TextField vaultNameField

panel2

symantec.itools.awt.BorderPanel panel2

folderMultiList

symantec.itools.awt.MultiList folderMultiList

upButt

symantec.itools.awt.LabelButton upButt

downButt

symantec.itools.awt.LabelButton downButt

topButt

symantec.itools.awt.LabelButton topButt

bottomButt

symantec.itools.awt.LabelButton bottomButt

showWritableRadio

Checkbox showWritableRadio

Group1

CheckboxGroup Group1

showAllButt

Checkbox showAllButt

panel3

Panel panel3

okButt

symantec.itools.awt.LabelButton okButt

cancelButt

symantec.itools.awt.LabelButton cancelButt

helpButt

symantec.itools.awt.LabelButton helpButt

statusBar1

symantec.itools.awt.StatusBar statusBar1

_objStack

private String[] _objStack
Constructor Detail

AdminEditVault

private AdminEditVault()

AdminEditVault

public AdminEditVault(String title,
                      FvMountInfoMaster master,
                      Long vaultKey)
Method Detail

localize

private void localize()

initVaultInfo

private void initVaultInfo(Long vaultKey)

initFolders

private void initFolders()

fillFolderList

private void fillFolderList()

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)

addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

okButt_ActionPerformed

void okButt_ActionPerformed(ActionEvent event)

cancelButt_ActionPerformed

void cancelButt_ActionPerformed(ActionEvent event)

enableButtons

private void enableButtons()

folderMultiList_mouseClicked

void folderMultiList_mouseClicked(MouseEvent event)

showWritableRadio_ItemStateChanged

void showWritableRadio_ItemStateChanged(ItemEvent event)

showAllButt_ItemStateChanged

void showAllButt_ItemStateChanged(ItemEvent event)

topButt_ActionPerformed

void topButt_ActionPerformed(ActionEvent event)

moveExtreme

private void moveExtreme(int selRow,
                         boolean top)

bottomButt_ActionPerformed

void bottomButt_ActionPerformed(ActionEvent event)

upButt_ActionPerformed

void upButt_ActionPerformed(ActionEvent event)

downButt_ActionPerformed

void downButt_ActionPerformed(ActionEvent event)

swapRows

private void swapRows(int oldRow,
                      int newRow)

swapObjectReferences

private void swapObjectReferences(int oldRow,
                                  int newRow)

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.


helpButt_ActionPerformed

void helpButt_ActionPerformed(ActionEvent event)

getContext

private WTContext getContext()

setContext

private void setContext(boolean contextOn)

vaultNameField_EnterHit

void vaultNameField_EnterHit(ActionEvent event)

folderMultiList_itemStateChanged

void folderMultiList_itemStateChanged(ItemEvent event)

isMotifMouseEvent

private boolean isMotifMouseEvent()

downButt_MouseExited

void downButt_MouseExited(MouseEvent event)

topButt_MouseExited

void topButt_MouseExited(MouseEvent event)

bottomButt_MouseExited

void bottomButt_MouseExited(MouseEvent event)

upButt_MouseExited

void upButt_MouseExited(MouseEvent event)