wt.clients.lifecycle.administrator
Class WorkflowPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.project.RoleHolderPanel
                  extended bywt.clients.lifecycle.administrator.WorkflowPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class WorkflowPanel
extends RoleHolderPanel

Panel for selecting lifecycle Phase and Gate workflow process templates.

See Also:
Serialized Form

Nested Class Summary
(package private)  class WorkflowPanel.HotlinkActionListener
           
(package private)  class WorkflowPanel.SymAction
           
(package private)  class WorkflowPanel.SymItem
           
(package private)  class WorkflowPanel.WorkThread
          The work thread for this Panel.
 
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)  Button clearGateBtn
           
(package private)  Button clearPhaseBtn
           
(package private)  WTContainerRef context
           
(package private)  Checkbox gatecheckbox
           
(package private)  Hotlink gateHotlink
           
(package private)  Label gateWfProcessLabel
           
private  boolean panelUpdated
           
(package private)  Checkbox phasecheckbox
           
(package private)  Hotlink phaseHotlink
           
(package private)  Label phaseWfProcessLabel
           
(package private) static int SEARCH_GATE_PROCESS
           
(package private) static int SEARCH_PHASE_PROCESS
           
(package private)  Button searchGateButton
           
(package private)  Button searchPhaseButton
           
private  boolean viewMode
           
 
Fields inherited from class wt.clients.project.RoleHolderPanel
cRoleHolder, selectedRole
 
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
WorkflowPanel()
          Constructor generated by Symantec
 
Method Summary
 void addNotify()
          Notifies this component that it has been added to a container and if a peer is required, it should be created.
(package private)  void clearGateBtn_ActionPerformed(ActionEvent event)
           
(package private)  void clearPhaseBtn_ActionPerformed(ActionEvent event)
           
private  void doSearchGate()
           
private  void doSearchPhase()
           
private  CPhaseTemplate getcRoleHolder()
           
protected  ObjectReference getGateWfReference()
           
protected  ObjectReference getPhaseWfReference()
           
(package private)  boolean isPanelUpdated()
           
(package private)  boolean isViewMode()
          Returns true if this panel is in view only mode.
protected  void localize()
          Localize this panel.
(package private)  void searchGateButton_ActionPerformed(ActionEvent event)
           
(package private)  void searchPhaseButton_ActionPerformed(ActionEvent event)
           
 void setContainerRef(WTContainerRef a_container)
           
protected  void setCRoleHolder()
          Set the role holder (actually a phase template).
 void setHelpContext(NFHelpContext help_context)
          Set the help context for this panel.
(package private)  void setPanelUpdated(boolean updateFlag)
          Indicates whether or not this panel has been updated to reflect the selected phase.
 void setViewMode(boolean view_mode)
          Sets the mode of the Life Cycle defintion panel.
private  void updatePanel()
          Update all the components in the this panel to reflect the state of the current role holder (phase template).
(package private)  void useGateLatestCheckbox_StateChangePerformed(ItemEvent event)
           
(package private)  void usePhaseLatestCheckbox_StateChangePerformed(ItemEvent event)
           
 
Methods inherited from class wt.clients.project.RoleHolderPanel
getApplet, getHelpContext, getHelpSystem, getParentFrame, setApplet, setCRoleHolder, setCRoleHolder, setHelp, setSelectedRoleName
 
Methods inherited from class java.awt.Panel
getAccessibleContext
 
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, getLocale, 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, resize, resize, 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

SEARCH_PHASE_PROCESS

static final int SEARCH_PHASE_PROCESS
See Also:
Constant Field Values

SEARCH_GATE_PROCESS

static final int SEARCH_GATE_PROCESS
See Also:
Constant Field Values

viewMode

private boolean viewMode

panelUpdated

private boolean panelUpdated

context

WTContainerRef context

phaseWfProcessLabel

Label phaseWfProcessLabel

gateWfProcessLabel

Label gateWfProcessLabel

searchPhaseButton

Button searchPhaseButton

searchGateButton

Button searchGateButton

gatecheckbox

Checkbox gatecheckbox

phasecheckbox

Checkbox phasecheckbox

clearPhaseBtn

Button clearPhaseBtn

clearGateBtn

Button clearGateBtn

phaseHotlink

Hotlink phaseHotlink

gateHotlink

Hotlink gateHotlink
Constructor Detail

WorkflowPanel

public WorkflowPanel()
Constructor generated by Symantec

Method Detail

setCRoleHolder

protected void setCRoleHolder()
Set the role holder (actually a phase template). The phase template contains object references to the selected phase and gate workflow processes. Update all the components in the this panel to reflect the state of the current role holder (phase template).

Overrides:
setCRoleHolder in class RoleHolderPanel

updatePanel

private void updatePanel()
Update all the components in the this panel to reflect the state of the current role holder (phase template).


getPhaseWfReference

protected ObjectReference getPhaseWfReference()

getGateWfReference

protected ObjectReference getGateWfReference()

getcRoleHolder

private CPhaseTemplate getcRoleHolder()

doSearchPhase

private void doSearchPhase()

doSearchGate

private void doSearchGate()

setViewMode

public void setViewMode(boolean view_mode)
Sets the mode of the Life Cycle defintion panel. View mode is a read-only mode. NOTE: Currently, this method can only be called once per instance of WorkflowPanel.

Parameters:
view_mode - true if read-only, else false

isViewMode

boolean isViewMode()
Returns true if this panel is in view only mode.


setPanelUpdated

void setPanelUpdated(boolean updateFlag)
Indicates whether or not this panel has been updated to reflect the selected phase.


isPanelUpdated

boolean isPanelUpdated()

addNotify

public void addNotify()
Notifies this component that it has been added to a container and if a peer is required, it should be created. The workflow panel is localized at this point.


localize

protected void localize()
Localize this panel.


setHelpContext

public void setHelpContext(NFHelpContext help_context)
Set the help context for this panel.

Overrides:
setHelpContext in class RoleHolderPanel
Parameters:
help_context - the help context

searchPhaseButton_ActionPerformed

void searchPhaseButton_ActionPerformed(ActionEvent event)

searchGateButton_ActionPerformed

void searchGateButton_ActionPerformed(ActionEvent event)

usePhaseLatestCheckbox_StateChangePerformed

void usePhaseLatestCheckbox_StateChangePerformed(ItemEvent event)

useGateLatestCheckbox_StateChangePerformed

void useGateLatestCheckbox_StateChangePerformed(ItemEvent event)

clearPhaseBtn_ActionPerformed

void clearPhaseBtn_ActionPerformed(ActionEvent event)

clearGateBtn_ActionPerformed

void clearGateBtn_ActionPerformed(ActionEvent event)

setContainerRef

public void setContainerRef(WTContainerRef a_container)