wt.clients.workflow.definer
Class ProcessEditor

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

public class ProcessEditor
extends Applet
implements RefreshListener

Main Applet for the Process Editor.

See Also:
Serialized Form

Nested Class Summary
(package private)  class ProcessEditor.ButtonListener
          Action listener for the buttons.
(package private)  class ProcessEditor.CheckinThread
          Checkin the selected templates.
(package private)  class ProcessEditor.CheckoutThread
          Checkout the selected templates.
(package private)  class ProcessEditor.DeleteIterationThread
          Show iteration history of the selected templates.
(package private)  class ProcessEditor.ExportThread
          Export templates.
(package private)  class ProcessEditor.HistoryThread
          Show iteration history of the selected templates.
(package private)  class ProcessEditor.HomeActionListener
          Action listener for the home hyperlink.
(package private)  class ProcessEditor.ImportThread
          Import templates.
(package private)  class ProcessEditor.InitializeThread
          Initialization.
(package private)  class ProcessEditor.InitiateThread
          Initialize the selected templates.
(package private)  class ProcessEditor.NewThread
          Create a new process template.
(package private)  class ProcessEditor.RenameThread
          Rename the selected templates.
(package private)  class ProcessEditor.SaveAsThread
          Save the selected templates.
(package private)  class ProcessEditor.TableItemListener
           
(package private)  class ProcessEditor.TableMouseListener
           
(package private)  class ProcessEditor.TemplateTable
           
(package private)  class ProcessEditor.UndoCheckoutThread
          Undo Checkout the selected templates.
(package private)  class ProcessEditor.UpdateThread
          Update the selected Process Templates.
 class ProcessEditor.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
private static int CABINET
           
private static int CATEGORY
           
(package private)  Panel centerPanel
           
(package private)  Button checkinButton
           
(package private)  Button checkoutButton
           
private static int CONTEXT
           
(package private)  WTContainerRef context_ref
           
private static String CSV_SUFFIX
           
(package private)  Button deleteButton
           
(package private)  Button deleteIterationButton
           
(package private)  Font dialog11
           
private static int ENABLED
           
private static String EXPORT_DIR
           
(package private)  Button exportButton
           
private  ProcessNavigatorFrame frame
           
(package private)  Button helpButton
           
(package private)  Button historyButton
           
(package private)  Hotlink homeLink
           
(package private)  Hotlink homeLink2
           
(package private)  boolean ignoreDelete
           
(package private)  Button importButton
           
(package private)  Button initiateButton
           
private static Object initSync
           
private static int NAME
           
(package private)  Button newButton
           
(package private)  ResourceBundle rb
           
(package private)  Button renameButton
           
(package private)  Button saveAsButton
           
(package private)  Label statusLabel
           
(package private)  ProcessEditor.TemplateTable table
           
(package private)  ThreadGroup threadGroup
           
(package private)  Button undoCheckoutButton
           
(package private)  Button updateButton
           
(package private)  Button viewButton
           
private static String WT_HOME
           
 
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
ProcessEditor()
           
 
Method Summary
(package private)  void delete()
          Delete the selected templates.
 void destroy()
          Called when applet is destroyed.
 void init()
          Called when applet initializes.
 void refreshObject(RefreshEvent evt)
          Implements the RefreshListener.
 void removeNotify()
           
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.
private  void updateButtons()
          Updates the buttons given the selected templates.
 
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, 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

CATEGORY

private static final int CATEGORY
See Also:
Constant Field Values

CABINET

private static final int CABINET
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

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

table

ProcessEditor.TemplateTable table

centerPanel

Panel centerPanel

statusLabel

Label statusLabel

threadGroup

ThreadGroup threadGroup

context_ref

WTContainerRef context_ref

newButton

Button newButton

updateButton

Button updateButton

viewButton

Button viewButton

deleteButton

Button deleteButton

saveAsButton

Button saveAsButton

renameButton

Button renameButton

exportButton

Button exportButton

importButton

Button importButton

checkoutButton

Button checkoutButton

checkinButton

Button checkinButton

undoCheckoutButton

Button undoCheckoutButton

historyButton

Button historyButton

deleteIterationButton

Button deleteIterationButton

initiateButton

Button initiateButton

helpButton

Button helpButton

homeLink

Hotlink homeLink

homeLink2

Hotlink homeLink2

dialog11

Font dialog11

rb

ResourceBundle rb

ignoreDelete

boolean ignoreDelete

initSync

private static Object initSync

frame

private ProcessNavigatorFrame frame
Constructor Detail

ProcessEditor

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


delete

void delete()
Delete the selected templates.


showHelp

private void showHelp()
Show help.


updateButtons

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


refreshObject

public void refreshObject(RefreshEvent evt)
Implements the RefreshListener.

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

removeNotify

public void removeNotify()