wt.clients.lifecycle.administrator
Class LifeCycleAdminApplet

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byjavax.swing.JApplet
                      extended bywt.clients.lifecycle.administrator.LifeCycleAdminApplet
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable

public class LifeCycleAdminApplet
extends JApplet

Main Applet for the Process Editor.

See Also:
Serialized Form

Nested Class Summary
(package private)  class LifeCycleAdminApplet.ButtonListener
          Action listener for the buttons.
(package private)  class LifeCycleAdminApplet.HomeActionListener
          Action listener for the home hyperlink.
(package private)  class LifeCycleAdminApplet.SymKey
           
(package private)  class LifeCycleAdminApplet.TableMouseListener
           
(package private)  class LifeCycleAdminApplet.TableSelectionListener
           
(package private)  class LifeCycleAdminApplet.WorkThread
          The work thread for this Applet.
 
Nested classes inherited from class javax.swing.JApplet
JApplet.AccessibleJApplet
 
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
private static String CHECKIN
           
(package private)  JButton checkInButton
           
private static String CHECKOUT
           
(package private)  JButton checkOutButton
           
(package private)  WTContainerRef context
           
private static String COPY
           
private static String CSV_SUFFIX
           
private static String DELETE
           
(package private)  JButton deleteButton
           
(package private)  JButton deleteLatestIterationButton
           
private static String EXPORT
           
private static String EXPORT_DIR
           
(package private)  JButton exportButton
           
private static String HELP
           
(package private)  JButton helpButton
           
private static String HISTORY
           
(package private)  JButton historyButton
           
(package private)  Hotlink homeLink
           
(package private)  Hotlink homeLink2
           
private static String IMPORT
           
(package private)  JButton importButton
           
private static String INITIALIZE
           
private static String INITIATE
           
private static Object initSync
           
private static String ITERATION
           
private static String NEW
           
(package private)  JButton newButton
           
static String PLMLINK_INSTALL_KEY
           
(package private)  SaveProgress progress
           
private static String RENAME
           
(package private)  JButton renameButton
           
(package private)  JButton saveAsButton
           
(package private)  JScrollPane scrollPane
           
(package private)  JLabel statusLabel
           
(package private)  JTable templateTable
           
(package private)  ThreadGroup threadGroup
           
private static String UNDO_CHECKOUT
           
(package private)  JButton undoCheckOutButton
           
private static String UPDATE
           
(package private)  JButton updateButton
           
private static boolean VERBOSE
           
private static String VIEW
           
(package private)  JButton viewButton
           
private static String WT_HOME
           
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
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
LifeCycleAdminApplet()
           
 
Method Summary
(package private)  void checkInButton_keyPressed(KeyEvent event)
           
(package private)  void checkOutButton_keyPressed(KeyEvent event)
           
private  boolean confirmAction(String message)
           
(package private)  void deleteButton_keyPressed(KeyEvent event)
           
private  void deleteLatestIteration()
          Will delete the latest iteration for the selected templates and then restore the object to the latest iteration.
(package private)  void deleteLatestIterationButton_keyPressed(KeyEvent event)
           
 void destroy()
          Called when applet is destroyed.
(package private)  void exportButton_keyPressed(KeyEvent event)
           
private  void exportFile()
          Export the selected lifecycles to a csv file.
protected  Frame getParentFrame()
          Returns the parent Frame of this applet.
private  ProcessTableModel getProcessTableModel()
          Returns the process table model through the TableSorter.
private  Enumeration getSelectedTemplates()
          Returns an enumeration of all the selected templates.
(package private)  void helpButton_keyPressed(KeyEvent event)
           
(package private)  void historyButton_keyPressed(KeyEvent event)
           
(package private)  void importButton_keyPressed(KeyEvent event)
           
private  void importFile()
          Import the selected csv file.
 void init()
          Called when applet initializes.
private  void initialize()
          Initialization.
private  void initiateSelectedTemplates()
          Initialize the selected templates.
private  void launchCheckIn()
          Checkin the selected templates.
private  void launchCheckOut()
          Checkout the selected templates.
private  void LaunchDeleteLifeCycle()
          Delete a lifecycle template.
private  void launchIterationHistory()
          Show iteration history of the selected templates.
private  void launchNewLCTemplate()
          Create a new process template.
private  void launchUndoCheckOut()
          Undo Checkout the selected templates.
private  void launchUpdateSelectedTemplates()
          Update the selected lifecycle Templates.
private  void launchViewSelectedTemplates()
          View a lifecycle template.
protected  void localize()
           
(package private)  void newButton_keyPressed(KeyEvent event)
           
(package private)  void renameButton_keyPressed(KeyEvent event)
           
private  void renameLifeCycle()
          Rename the selected lifecycle.
(package private)  void saveAsButton_keyPressed(KeyEvent event)
           
private  void saveAsLifeCycle()
          SaveAs otherwise known as Copy the selected lifecycle.
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 templateTable_keyPressed(KeyEvent event)
           
(package private)  void undoCheckOutButton_keyPressed(KeyEvent event)
           
(package private)  void updateButton_keyPressed(KeyEvent event)
           
 void updateButtons()
          Updates the buttons from either the table model or the applet
(package private)  void viewButton_keyPressed(KeyEvent event)
           
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
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, 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, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, 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

INITIALIZE

private static final String INITIALIZE
See Also:
Constant Field Values

NEW

private static final String NEW
See Also:
Constant Field Values

UPDATE

private static final String UPDATE
See Also:
Constant Field Values

VIEW

private static final String VIEW
See Also:
Constant Field Values

CHECKOUT

private static final String CHECKOUT
See Also:
Constant Field Values

CHECKIN

private static final String CHECKIN
See Also:
Constant Field Values

UNDO_CHECKOUT

private static final String UNDO_CHECKOUT
See Also:
Constant Field Values

HISTORY

private static final String HISTORY
See Also:
Constant Field Values

INITIATE

private static final String INITIATE
See Also:
Constant Field Values

HELP

private static final String HELP
See Also:
Constant Field Values

IMPORT

private static final String IMPORT
See Also:
Constant Field Values

EXPORT

private static final String EXPORT
See Also:
Constant Field Values

COPY

private static final String COPY
See Also:
Constant Field Values

RENAME

private static final String RENAME
See Also:
Constant Field Values

DELETE

private static final String DELETE
See Also:
Constant Field Values

ITERATION

private static final String ITERATION
See Also:
Constant Field Values

PLMLINK_INSTALL_KEY

public static final String PLMLINK_INSTALL_KEY
See Also:
Constant Field Values

threadGroup

ThreadGroup threadGroup

homeLink

Hotlink homeLink

homeLink2

Hotlink homeLink2

progress

SaveProgress progress

context

WTContainerRef context

initSync

private static Object initSync

VERBOSE

private static boolean VERBOSE

WT_HOME

private static final String WT_HOME

EXPORT_DIR

private static final String EXPORT_DIR

CSV_SUFFIX

private static final String CSV_SUFFIX
See Also:
Constant Field Values

templateTable

JTable templateTable

newButton

JButton newButton

updateButton

JButton updateButton

viewButton

JButton viewButton

checkOutButton

JButton checkOutButton

checkInButton

JButton checkInButton

undoCheckOutButton

JButton undoCheckOutButton

helpButton

JButton helpButton

historyButton

JButton historyButton

exportButton

JButton exportButton

importButton

JButton importButton

saveAsButton

JButton saveAsButton

renameButton

JButton renameButton

deleteButton

JButton deleteButton

deleteLatestIterationButton

JButton deleteLatestIterationButton

scrollPane

JScrollPane scrollPane

statusLabel

JLabel statusLabel
Constructor Detail

LifeCycleAdminApplet

public LifeCycleAdminApplet()
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.


init

public void init()
Called when applet initializes.


setBusy

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


initialize

private void initialize()
Initialization.


launchNewLCTemplate

private void launchNewLCTemplate()
Create a new process template.


launchUpdateSelectedTemplates

private void launchUpdateSelectedTemplates()
Update the selected lifecycle Templates.


launchViewSelectedTemplates

private void launchViewSelectedTemplates()
View a lifecycle template.


LaunchDeleteLifeCycle

private void LaunchDeleteLifeCycle()
Delete a lifecycle template.


renameLifeCycle

private void renameLifeCycle()
Rename the selected lifecycle.


saveAsLifeCycle

private void saveAsLifeCycle()
SaveAs otherwise known as Copy the selected lifecycle.


launchCheckOut

private void launchCheckOut()
Checkout the selected templates.


launchCheckIn

private void launchCheckIn()
Checkin the selected templates.


launchUndoCheckOut

private void launchUndoCheckOut()
Undo Checkout the selected templates.


launchIterationHistory

private void launchIterationHistory()
Show iteration history of the selected templates.


deleteLatestIteration

private void deleteLatestIteration()
Will delete the latest iteration for the selected templates and then restore the object to the latest iteration.


initiateSelectedTemplates

private void initiateSelectedTemplates()
Initialize the selected templates.


importFile

private void importFile()
Import the selected csv file.


exportFile

private void exportFile()
Export the selected lifecycles to a csv file.


showHelp

private void showHelp()
Show help.


getSelectedTemplates

private Enumeration getSelectedTemplates()
Returns an enumeration of all the selected templates.


getProcessTableModel

private ProcessTableModel getProcessTableModel()
Returns the process table model through the TableSorter.


localize

protected void localize()

getParentFrame

protected Frame getParentFrame()
Returns the parent Frame of this applet.


confirmAction

private boolean confirmAction(String message)

updateButtons

public void updateButtons()
Updates the buttons from either the table model or the applet


templateTable_keyPressed

void templateTable_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)

deleteButton_keyPressed

void deleteButton_keyPressed(KeyEvent event)

renameButton_keyPressed

void renameButton_keyPressed(KeyEvent event)

saveAsButton_keyPressed

void saveAsButton_keyPressed(KeyEvent event)

checkOutButton_keyPressed

void checkOutButton_keyPressed(KeyEvent event)

checkInButton_keyPressed

void checkInButton_keyPressed(KeyEvent event)

undoCheckOutButton_keyPressed

void undoCheckOutButton_keyPressed(KeyEvent event)

historyButton_keyPressed

void historyButton_keyPressed(KeyEvent event)

deleteLatestIterationButton_keyPressed

void deleteLatestIterationButton_keyPressed(KeyEvent event)

importButton_keyPressed

void importButton_keyPressed(KeyEvent event)

exportButton_keyPressed

void exportButton_keyPressed(KeyEvent event)