wt.clients.site
Class SiteManager

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

public class SiteManager
extends Frame

See Also:
Serialized Form

Nested Class Summary
private  class SiteManager.AdjustableWTMultiList
           
(package private)  class SiteManager.SymAction
           
(package private)  class SiteManager.SymComponent
           
(package private)  class SiteManager.SymItem
           
(package private)  class SiteManager.SymMouse
           
(package private)  class SiteManager.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
           
private  HelpContext _helpContext
           
private  HelpSystem _helpSystem
           
private  SiteInfoMaster _infoMaster
           
(package private)  ResourceBundle _rb
           
(package private)  symantec.itools.awt.LabelButton closeButton
           
(package private)  symantec.itools.awt.LabelButton createButton
           
private  Font crossLocaleFont
           
(package private)  symantec.itools.awt.LabelButton deleteButton
           
(package private)  symantec.itools.awt.LabelButton expKeyButton
           
(package private)  boolean fComponentsAdjusted
           
(package private)  symantec.itools.awt.LabelButton helpButton
           
(package private)  symantec.itools.awt.LabelButton impKeyButton
           
private  boolean isPDMLinkInstalled
          booleans to store the status of installed components
private  boolean isProjectLinkInstalled
           
(package private)  symantec.itools.awt.WrappingLabel label1
           
private  int listItemSelected_
           
private  String masterLabel
           
(package private)  Panel panel1
           
private static String RESOURCES
           
(package private)  symantec.itools.awt.LabelButton retrieveButton
           
(package private)  symantec.itools.awt.StatusBar statusBar1
           
(package private)  symantec.itools.awt.LabelButton updateButton
           
(package private)  symantec.itools.awt.LabelButton updKeysButton
           
(package private)  symantec.itools.awt.LabelButton viewButton
           
(package private)  WTMultiList WTMultiList1
           
 
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
SiteManager()
           
SiteManager(String title)
           
 
Method Summary
 void addNotify()
           
(package private)  void closeButton_ActionPerformed(ActionEvent event)
           
(package private)  void createButton_ActionPerformed(ActionEvent event)
           
(package private)  void deleteButton_ActionPerformed(ActionEvent event)
           
 void dispose()
           
private  void doUpdate()
           
private  void enableDisableButtons()
           
(package private)  void expKeyButton_ActionPerformed(ActionEvent event)
           
(package private)  void fillMultiList()
           
private  String filterSiteName(String sName)
           
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)
           
(package private)  void helpButt_MouseReleased(MouseEvent event)
           
(package private)  void helpButton_ActionPerformed(ActionEvent event)
           
(package private)  void impKeyButton_ActionPerformed(ActionEvent event)
           
private  void initHelpSystem()
          Initializes the help system.
private  void initializeHelp()
          This function should be the last thing called in the ctor.
private  void localize()
           
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 retrieveButton_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 SiteManager_WindowClosing(WindowEvent event)
           
private  void stopHelp()
          stopHelp should be called every time the window gets closed.
(package private)  void updateButton_ActionPerformed(ActionEvent event)
           
(package private)  void updKeysButton_ActionPerformed(ActionEvent event)
           
(package private)  void viewButton_ActionPerformed(ActionEvent event)
           
(package private)  void WTMultiList1_componentResized(ComponentEvent event)
           
(package private)  void WTMultiList1_itemStateChanged(ItemEvent event)
           
(package private)  void WTMultiList1_mouseClicked(MouseEvent 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

RESOURCES

private static final String RESOURCES
See Also:
Constant Field Values

_rb

ResourceBundle _rb

crossLocaleFont

private Font crossLocaleFont

_helpContext

private HelpContext _helpContext

_helpSystem

private HelpSystem _helpSystem

_contextGroup

private ThreadGroup _contextGroup

_infoMaster

private SiteInfoMaster _infoMaster

listItemSelected_

private int listItemSelected_

masterLabel

private String masterLabel

isPDMLinkInstalled

private boolean isPDMLinkInstalled
booleans to store the status of installed components


isProjectLinkInstalled

private boolean isProjectLinkInstalled

fComponentsAdjusted

boolean fComponentsAdjusted

label1

symantec.itools.awt.WrappingLabel label1

WTMultiList1

WTMultiList WTMultiList1

statusBar1

symantec.itools.awt.StatusBar statusBar1

panel1

Panel panel1

retrieveButton

symantec.itools.awt.LabelButton retrieveButton

createButton

symantec.itools.awt.LabelButton createButton

updateButton

symantec.itools.awt.LabelButton updateButton

viewButton

symantec.itools.awt.LabelButton viewButton

deleteButton

symantec.itools.awt.LabelButton deleteButton

impKeyButton

symantec.itools.awt.LabelButton impKeyButton

expKeyButton

symantec.itools.awt.LabelButton expKeyButton

updKeysButton

symantec.itools.awt.LabelButton updKeysButton

closeButton

symantec.itools.awt.LabelButton closeButton

helpButton

symantec.itools.awt.LabelButton helpButton
Constructor Detail

SiteManager

public SiteManager()

SiteManager

public SiteManager(String title)
Method Detail

localize

private void localize()

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)

fillMultiList

void fillMultiList()

addNotify

public void addNotify()

SiteManager_WindowClosing

void SiteManager_WindowClosing(WindowEvent event)

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.


helpButt_MouseReleased

void helpButt_MouseReleased(MouseEvent event)

getContext

private WTContext getContext()

setContext

private void setContext(boolean contextOn)

helpButt_ActionPerformed

void helpButt_ActionPerformed(ActionEvent event)

closeButton_ActionPerformed

void closeButton_ActionPerformed(ActionEvent event)

helpButton_ActionPerformed

void helpButton_ActionPerformed(ActionEvent event)

createButton_ActionPerformed

void createButton_ActionPerformed(ActionEvent event)

updateButton_ActionPerformed

void updateButton_ActionPerformed(ActionEvent event)

WTMultiList1_componentResized

void WTMultiList1_componentResized(ComponentEvent event)

WTMultiList1_itemStateChanged

void WTMultiList1_itemStateChanged(ItemEvent event)

enableDisableButtons

private void enableDisableButtons()

deleteButton_ActionPerformed

void deleteButton_ActionPerformed(ActionEvent event)

viewButton_ActionPerformed

void viewButton_ActionPerformed(ActionEvent event)

WTMultiList1_mouseClicked

void WTMultiList1_mouseClicked(MouseEvent event)

doUpdate

private void doUpdate()

impKeyButton_ActionPerformed

void impKeyButton_ActionPerformed(ActionEvent event)

expKeyButton_ActionPerformed

void expKeyButton_ActionPerformed(ActionEvent event)

retrieveButton_ActionPerformed

void retrieveButton_ActionPerformed(ActionEvent event)

updKeysButton_ActionPerformed

void updKeysButton_ActionPerformed(ActionEvent event)

filterSiteName

private String filterSiteName(String sName)

dispose

public void dispose()