wt.clients.filevault
Class AdminAddMount

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

public class AdminAddMount
extends Frame

See Also:
Serialized Form

Nested Class Summary
(package private)  class AdminAddMount.SymAction
           
(package private)  class AdminAddMount.SymItem
           
(package private)  class AdminAddMount.SymWindow
           
(package private)  class AdminAddMount.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  boolean _dirtyMount
          State variable to check whether the last update failed.
private  HelpContext _helpContext
           
private  HelpSystem _helpSystem
           
private  Hashtable _hostMountKeys
           
private  Hashtable _hostPathKeys
           
private  boolean _isNew
           
private  FvMountInfoMaster _master
          Reference to the object which makes sure that the information is consistent
private  FvMount _mount
          If we are updating a mount this is a reference to the mount before the change.
private  String _origFolder
           
private  String _origHost
           
private static ResourceBundle _rb
          The resource bundle being used by this screen
(package private)  symantec.itools.awt.LabelButton cancelButt
           
private static Font crossLocaleFont
           
(package private)  boolean fComponentsAdjusted
           
(package private)  Choice folderChoice
           
(package private)  symantec.itools.awt.WrappingLabel folderLab
           
(package private)  symantec.itools.awt.LabelButton helpButt
           
(package private)  Choice hostChoice
           
(package private)  symantec.itools.awt.WrappingLabel hostLab
           
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)  Panel panel2
           
(package private)  Panel panel3
           
(package private)  TextField pathField
           
(package private)  symantec.itools.awt.WrappingLabel pathLab
           
(package private)  symantec.itools.awt.StatusBar statusBar1
           
private  int TIME_OUT
           
 
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
AdminAddMount()
           
AdminAddMount(String title, String mountID, FvMountInfoMaster master)
           
AdminAddMount(String title, String strHost, String strFolder, FvMountInfoMaster master, boolean local)
           
 
Method Summary
 void addNotify()
           
(package private)  void cancelButt_ActionPerformed(ActionEvent event)
           
private  void clearAllFields()
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
private  WTContext getContext()
          Returns the appropriate WTContext which corresponds to this frame.
 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)
           
(package private)  void hostChoice_ItemStateChanged(ItemEvent event)
           
private  void initHelpSystem()
          Initializes the help system.
private  void initializeHelp()
          This function should be the last thing called in the ctor.
private  boolean isReallyNew()
           
private  void localize()
          Localize the labels for this screen
static void main(String[] args)
           
private  PropertyChangeListener newHelpListener()
          newHelpListener This function adds a listener to respond to the component mouse over events.
(package private)  void okButt_ActionPerformed(ActionEvent event)
           
(package private)  void pathField_EnterHit(ActionEvent event)
           
private  void setContext(boolean contextOn)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
private  void showHelp()
           
private  void stayOnTop()
           
private  void stopHelp()
          stopHelp should be called every time the window gets closed.
 
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

TIME_OUT

private int TIME_OUT

_dirtyMount

private boolean _dirtyMount
State variable to check whether the last update failed. This is an optimization to prevent refreshing the main screen more often than necessary


_helpSystem

private HelpSystem _helpSystem

_helpContext

private HelpContext _helpContext

_contextGroup

private ThreadGroup _contextGroup

_master

private FvMountInfoMaster _master
Reference to the object which makes sure that the information is consistent


_isNew

private boolean _isNew

isPDMLinkInstalled

private boolean isPDMLinkInstalled
booleans to store the status of installed components


isProjectLinkInstalled

private boolean isProjectLinkInstalled

_mount

private FvMount _mount
If we are updating a mount this is a reference to the mount before the change.


_rb

private static ResourceBundle _rb
The resource bundle being used by this screen


crossLocaleFont

private static Font crossLocaleFont

_actionCount

private int _actionCount

_origHost

private String _origHost

_origFolder

private String _origFolder

_hostPathKeys

private Hashtable _hostPathKeys

_hostMountKeys

private Hashtable _hostMountKeys

fComponentsAdjusted

boolean fComponentsAdjusted

panel3

Panel panel3

panel1

Panel panel1

hostLab

symantec.itools.awt.WrappingLabel hostLab

pathLab

symantec.itools.awt.WrappingLabel pathLab

pathField

TextField pathField

folderLab

symantec.itools.awt.WrappingLabel folderLab

folderChoice

Choice folderChoice

hostChoice

Choice hostChoice

panel2

Panel panel2

okButt

symantec.itools.awt.LabelButton okButt

cancelButt

symantec.itools.awt.LabelButton cancelButt

helpButt

symantec.itools.awt.LabelButton helpButt

statusBar1

symantec.itools.awt.StatusBar statusBar1
Constructor Detail

AdminAddMount

public AdminAddMount()

AdminAddMount

public AdminAddMount(String title,
                     String strHost,
                     String strFolder,
                     FvMountInfoMaster master,
                     boolean local)

AdminAddMount

public AdminAddMount(String title,
                     String mountID,
                     FvMountInfoMaster master)
Method Detail

localize

private void localize()
Localize the labels for this screen


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()

clearAllFields

private void clearAllFields()

main

public static void main(String[] args)

addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

getContext

private WTContext getContext()
Returns the appropriate WTContext which corresponds to this frame. This method first tries to retrieve the WTContext by using the ThreadGroup saved when this frame was constructed. If the ThreadGroup is null, then this method tries to use the parent Applet to get the WTContext. If that parent applet is also null, this method uses the default getContext() method to retrieve a WTContext.

Returns:
the WTContext object associated with this frame
See Also:
WTContext

setContext

private void setContext(boolean contextOn)

initializeHelp

private void initializeHelp()
This function should be the last thing called in the ctor. It initializes the help system, and adds the components the help system will listen for mouse over events to.


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.


showHelp

private void showHelp()

pathField_EnterHit

void pathField_EnterHit(ActionEvent event)

okButt_ActionPerformed

void okButt_ActionPerformed(ActionEvent event)

isReallyNew

private boolean isReallyNew()

cancelButt_ActionPerformed

void cancelButt_ActionPerformed(ActionEvent event)

helpButt_ActionPerformed

void helpButt_ActionPerformed(ActionEvent event)

stayOnTop

private void stayOnTop()

hostChoice_ItemStateChanged

void hostChoice_ItemStateChanged(ItemEvent event)