wt.clients.project
Class ProjectAdminApplet

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended bywt.clients.project.ProjectAdminApplet
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RefreshListener, Serializable

public class ProjectAdminApplet
extends Applet
implements RefreshListener

Main Applet for the Process Editor.

See Also:
Serialized Form

Nested Class Summary
(package private)  class ProjectAdminApplet.ButtonListener
          Action listener for the buttons.
(package private)  class ProjectAdminApplet.DeleteThread
          Delete the selected templates.
(package private)  class ProjectAdminApplet.HomeActionListener
          Action listener for the home hyperlink.
(package private)  class ProjectAdminApplet.InitializeThread
          Initialization.
(package private)  class ProjectAdminApplet.NewThread
          Create a new process template.
 class ProjectAdminApplet.RenameThread
          Rename a TeamTemplate
 class ProjectAdminApplet.SaveAsThread
          SaveAs a TeamTemplate (copy)
(package private)  class ProjectAdminApplet.SymKey
           
(package private)  class ProjectAdminApplet.TableItemListener
           
(package private)  class ProjectAdminApplet.TableMouseListener
           
(package private)  class ProjectAdminApplet.TemplateTable
           
(package private)  class ProjectAdminApplet.UpdateThread
          Update the selected Process Templates.
 class ProjectAdminApplet.ViewThread
          View a process template.
 
Nested classes inherited from class java.applet.Applet
Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
Panel.AccessibleAWTPanel
 
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
(package private)  Panel centerPanel
           
(package private)  WTContainerRef context
           
private static int CONTEXT
           
(package private)  Button deleteButton
           
(package private)  Font dialog11
           
private static int ENABLED
           
(package private) static String HELP_RESOURCE
           
(package private)  Button helpButton
           
(package private) static HelpSystem helpSystem
           
(package private)  Hotlink homeLink
           
(package private)  Hotlink homeLink2
           
private static int NAME
           
(package private)  Button newButton
           
static String PLMLINK_INSTALL_KEY
           
(package private)  ResourceBundle rb
           
(package private)  Button renameButton
           
(package private) static String RESOURCE
           
(package private)  Button saveAsButton
           
(package private)  Label statusLabel
           
(package private)  ProjectAdminApplet.TemplateTable table
           
(package private)  Hashtable templates
           
(package private)  ThreadGroup threadGroup
           
(package private)  Button updateButton
           
(package private)  Button viewButton
           
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
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
ProjectAdminApplet()
           
 
Method Summary
(package private)  void deleteButton_keyPressed(KeyEvent event)
           
 void destroy()
          Called when applet is destroyed.
private  String getKey(String context_name, String template)
           
private  String getKey(TeamTemplateReference template)
           
private static Frame getParentFrame(Component component)
           
private  TeamTemplate getTeamTemplate(Object object)
           
 Hashtable getTeamTemplates()
           
(package private)  void helpButton_keyPressed(KeyEvent event)
           
 void init()
          Called when applet initializes.
(package private)  void newButton_keyPressed(KeyEvent event)
           
 void refreshObject(RefreshEvent evt)
          Implements the RefreshListener.
(package private)  void renameButton_keyPressed(KeyEvent event)
           
(package private)  void saveAsButton_keyPressed(KeyEvent event)
           
private  void setBusy(boolean busy)
          Set the applet as busy.
private  void showHelp()
          Show help.
 void start()
          Called when applet starts.
 void stop()
          Called when applet stops.
(package private)  void table_keyPressed(KeyEvent event)
           
(package private)  void updateButton_keyPressed(KeyEvent event)
           
private  void updateButtons()
          Updates the buttons given the selected templates.
(package private)  void viewButton_keyPressed(KeyEvent event)
           
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, 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, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

private static final int NAME
See Also:
Constant Field Values

ENABLED

private static final int ENABLED
See Also:
Constant Field Values

CONTEXT

private static final int CONTEXT
See Also:
Constant Field Values

PLMLINK_INSTALL_KEY

public static final String PLMLINK_INSTALL_KEY
See Also:
Constant Field Values

templates

Hashtable templates

table

ProjectAdminApplet.TemplateTable table

homeLink

Hotlink homeLink

homeLink2

Hotlink homeLink2

statusLabel

Label statusLabel

threadGroup

ThreadGroup threadGroup

dialog11

Font dialog11

rb

ResourceBundle rb

context

WTContainerRef context

RESOURCE

static final String RESOURCE
See Also:
Constant Field Values

HELP_RESOURCE

static final String HELP_RESOURCE
See Also:
Constant Field Values

helpSystem

static HelpSystem helpSystem

newButton

Button newButton

viewButton

Button viewButton

deleteButton

Button deleteButton

updateButton

Button updateButton

renameButton

Button renameButton

saveAsButton

Button saveAsButton

helpButton

Button helpButton

centerPanel

Panel centerPanel
Constructor Detail

ProjectAdminApplet

public ProjectAdminApplet()
Method Detail

start

public void start()
Called when applet starts.


stop

public void stop()
Called when applet stops.


destroy

public void destroy()
Called when applet is destroyed.


getParentFrame

private static Frame getParentFrame(Component component)

init

public void init()
Called when applet initializes.


setBusy

private void setBusy(boolean busy)
Set the applet as busy.


showHelp

private void showHelp()
Show help.


updateButtons

private void updateButtons()
Updates the buttons given the selected templates.


table_keyPressed

void table_keyPressed(KeyEvent event)

helpButton_keyPressed

void helpButton_keyPressed(KeyEvent event)

newButton_keyPressed

void newButton_keyPressed(KeyEvent event)

updateButton_keyPressed

void updateButton_keyPressed(KeyEvent event)

viewButton_keyPressed

void viewButton_keyPressed(KeyEvent event)

renameButton_keyPressed

void renameButton_keyPressed(KeyEvent event)

saveAsButton_keyPressed

void saveAsButton_keyPressed(KeyEvent event)

deleteButton_keyPressed

void deleteButton_keyPressed(KeyEvent event)

refreshObject

public void refreshObject(RefreshEvent evt)
Implements the RefreshListener.

Specified by:
refreshObject in interface RefreshListener
Parameters:
evt - the referesh event.
See Also:
RefreshEvent

getTeamTemplates

public Hashtable getTeamTemplates()

getKey

private String getKey(TeamTemplateReference template)

getKey

private String getKey(String context_name,
                      String template)

getTeamTemplate

private TeamTemplate getTeamTemplate(Object object)