wt.clients.lifecycle.administrator
Class LifeCycleDefinitionPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.lifecycle.administrator.LifeCycleDefinitionPanel
All Implemented Interfaces:
Accessible, EventListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable

public class LifeCycleDefinitionPanel
extends Panel
implements PropertyChangeListener

This is the main Life Cycle definition Panel.

See Also:
Serialized Form

Nested Class Summary
(package private)  class LifeCycleDefinitionPanel.SymAction
          Action listener for this Panel.
(package private)  class LifeCycleDefinitionPanel.SymItem
          Item listener for this panel.
(package private)  class LifeCycleDefinitionPanel.SymPropertyChange
          Listens for property change events coming from the tab panel.
(package private)  class LifeCycleDefinitionPanel.SymText
           
(package private)  class LifeCycleDefinitionPanel.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) static int ACCESS_TAB
           
(package private)  AccessPanel accessPanel
           
(package private)  Panel accessTabPanel
           
(package private)  JRadioButton advancedButton
           
private  Hashtable allStates
           
(package private)  Applet applet
           
(package private)  JRadioButton basicButton
           
(package private)  Button browseButton
           
(package private)  Panel buttonPanel
           
(package private) static int CANCEL_CLIFE_CYCLE_TEMPLATE
           
(package private)  Button cancelButton
           
(package private)  Label classLabel
           
(package private)  List classList
           
(package private)  CLifeCycleTemplate cLifeCycleTemplate
           
(package private)  symantec.itools.awt.ImageButton copyPhaseButton
           
(package private) static int CRITERIA_TAB
           
(package private)  CriteriaPanel criteriaPanel
           
(package private)  Panel criteriaTabPanel
           
(package private) static CPhaseTemplate cutBufferPhase
           
(package private)  symantec.itools.awt.ImageButton cutPhaseButton
           
(package private)  symantec.itools.awt.ImageButton deletePhaseButton
           
(package private)  Label descriptionLabel
           
(package private)  TextArea descriptionTextArea
           
(package private)  Checkbox enabledCheckbox
           
(package private)  boolean fComponentsAdjusted
           
(package private)  Button helpButton
           
private  NFHelpContext helpContext
           
(package private)  symantec.itools.awt.ImageButton helpPhaseButton
           
private  HelpSystem helpSystem
           
(package private)  LifeCycleFlow lifeCycleFlow
           
(package private)  symantec.itools.awt.BorderPanel lifeCyclePanel
           
(package private)  Label lifeCycleTemplateLabel
           
private  String lifeCycleTemplateString
           
(package private)  Label locationLabel
           
(package private)  TextField locationTextField
           
(package private)  Label nameLabel
           
(package private)  TextField nameTextField
           
(package private) static int NEW_PHASE
           
(package private)  symantec.itools.awt.ImageButton newPhaseButton
           
(package private) static int OK_CLIFE_CYCLE_TEMPLATE
           
(package private)  Button okButton
           
(package private)  Panel panel1
           
(package private)  Panel panel2
           
(package private)  Panel panel3
           
(package private)  Panel panel4
           
(package private)  symantec.itools.awt.ImageButton pastePhaseButton
           
(package private)  symantec.itools.awt.BorderPanel phasePanel
           
(package private)  CPhaseTemplateList phases
           
(package private)  symantec.itools.awt.TabPanel phaseTabPanel
           
(package private)  Panel propertiesPanel
           
(package private)  Panel radioPanel
           
(package private)  ResourceBundle rb
           
(package private) static int ROLE_TAB
           
(package private)  RolePanel rolePanel
           
(package private)  Panel roleTabPanel
           
(package private)  Checkbox routingCheckbox
           
(package private) static int SAVE_CLIFE_CYCLE_TEMPLATE
           
(package private)  Button saveButton
           
(package private)  Phase selectedPhase
           
(package private)  Choice selectorChoice
           
(package private)  Label selectorLabel
           
(package private)  Label selectorValueLabel
           
(package private) static int SET_CLIFE_CYCLE_TEMPLATE
           
(package private) static int SET_FOLDER
           
(package private) static int SET_SELECTED_PHASE
           
(package private)  Choice stateChoice
           
(package private)  Label stateLabel
           
(package private)  Label stateValueLabel
           
(package private)  symantec.itools.awt.StatusBar statusBar
           
(package private)  Panel toolBarPanel
           
(package private) static int TRANSITIONS_TAB
           
(package private)  TransitionsPanel transitionsPanel
           
(package private)  Panel transitionsTabPanel
           
(package private)  Label typeLabel
           
(package private) static int WORKFLOW_TAB
           
(package private)  WorkflowPanel workflowPanel
           
(package private)  Panel workflowTabPanel
           
 
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
(package private) LifeCycleDefinitionPanel()
          Constructor generated by Visual Cafe.
 
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 advancedButton_actionPerformed(ActionEvent event)
          Fires off a NEW_PHASE thread to create a basic lifecycle.
(package private)  void basicButton_actionPerformed(ActionEvent event)
          Fires off a NEW_PHASE thread to create a basic lifecycle.
(package private)  void browseButton_ActionPerformed(ActionEvent event)
          Handles the mouse press on the location browser button.
(package private)  void cancelButton_ActionPerformed(ActionEvent event)
          Handles the mouse press on the Cancel button.
protected  void cancelCLifeCycleTemplate()
          Primarly called .
(package private)  void copyPhaseButton_actionPerformed(ActionEvent event)
          Copies the selected phase into the cut buffer.
(package private)  void cutPhaseButton_actionPerformed(ActionEvent event)
          Copies the selected phase into the cut buffer and deletes from the Life Cycle Template.
protected  void deletePhase(CPhaseTemplate cphase)
          Deletes a phase from the Life Cycle Template.
protected  void deletePhaseButton_actionPerformed(ActionEvent event)
          Deletes the selected phase from the Life Cycle Template.
protected  boolean doRefreshCLifeCycleTemplate()
          Refreshes the Life Cycle Template after a save.
protected  boolean doSaveCLifeCycleTemplate()
          Saves the Life Cycle template and it's Phases.
protected  Applet getApplet()
          Returns the Applet for this Life Cycle definition panel.
private  WTContainerRef getContext()
           
protected static String getFullClassname(String short_classname)
          Gets the full classname of a given short classname.
protected  String getLifeCycleName()
           
(package private)  Vector getShortClasses()
          Returns a Vector of short classes given a starting class.
(package private)  void helpButton_ActionPerformed(ActionEvent event)
          Handles the mouse press on the Help button.
(package private)  void helpPhaseButton_actionPerformed(ActionEvent event)
          Handles the mouse press on the Help toolbar button.
protected  void initializeCombo()
           
protected  void initializeHelp()
          Initializes the help system for the Life Cycle Definition Panel.
protected  CPhaseTemplate insertPhase(CPhaseTemplate cphase, CPhaseTemplate before_cphase)
          Inserts a phase to a position before the phase specified with the cbefore_phase argument.
(package private)  void lifeCycleFlow_itemStateChanged(ItemEvent event)
          Updates the currently selected phase.
protected  void localize()
          Localizes the panel to the current locale.
protected  void movePhase(Phase phase, Phase before_phase)
          Moves a phase from it's current location to a position before the phase specified with the before_phase argument.
(package private)  void nameTextField_TextValueChanged(TextEvent event)
           
protected  void newPhase()
          Creates a new Phase for the Life Cycle Template.
(package private)  void newPhaseButton_actionPerformed(ActionEvent event)
          Fires off a NEW_PHASE thread to create a new phase.
(package private)  void okButton_ActionPerformed(ActionEvent event)
          Handles the mouse press on the OK button.
protected  boolean okCLifeCycleTemplate()
          Handles the save when the OK button is pressed.
(package private)  void pastePhaseButton_actionPerformed(ActionEvent event)
          Pastes the phase from the cut buffer into the Life Cycle Template.
(package private)  void phaseTabPanel_propertyChange(PropertyChangeEvent event)
          Handles the tab panel property change event.
 void propertyChange(PropertyChangeEvent event)
          Update the status area with online help.
(package private)  void saveButton_ActionPerformed(ActionEvent event)
          Handles the mouse press on the Save button.
protected  boolean saveCLifeCycleTemplate()
          Handles the save when the Save button is pressed.
private  void saveWorkflowPanel()
          Save the selected phase and gate workflow processes.
(package private)  void selectorChoice_ItemStateChanged(ItemEvent event)
          Updates the seriesSelector of the selected phase.
protected  void setApplet(Applet applet)
          Sets the applet for this Life Cycle definition panel.
protected  void setBasicMode(boolean mode_basic)
          Sets the mode of the Life Cycle defintion panel.
protected  void setCLifeCycleTemplate()
          Initializes the GUI for the specified Client Life Cycle Template object.
protected  void setCLifeCycleTemplate(CLifeCycleTemplate clife_cycle)
          Sets the Client Life Cycle Template object which will be worked on in this panel.
protected  void setFolder()
          Sets the folder this Life Cycle Template will live in.
protected  void setSelectedPhase()
          Sets the selected phase for this Life Cycle Template.
protected  void setSelectedPhase(Phase phase)
          Sets the selected Phase in the Life Cycle Template.
protected  void setViewMode(boolean view_mode)
          Sets the mode of the Life Cycle defintion panel.
(package private)  void stateChoice_ItemStateChanged(ItemEvent event)
          Updates the state of the selected phase.
protected  void updateSelectedTab()
          Updates the selected tab to display information about the selected phase.
 
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

SET_CLIFE_CYCLE_TEMPLATE

static final int SET_CLIFE_CYCLE_TEMPLATE
See Also:
Constant Field Values

SET_FOLDER

static final int SET_FOLDER
See Also:
Constant Field Values

OK_CLIFE_CYCLE_TEMPLATE

static final int OK_CLIFE_CYCLE_TEMPLATE
See Also:
Constant Field Values

SAVE_CLIFE_CYCLE_TEMPLATE

static final int SAVE_CLIFE_CYCLE_TEMPLATE
See Also:
Constant Field Values

SET_SELECTED_PHASE

static final int SET_SELECTED_PHASE
See Also:
Constant Field Values

NEW_PHASE

static final int NEW_PHASE
See Also:
Constant Field Values

CANCEL_CLIFE_CYCLE_TEMPLATE

static final int CANCEL_CLIFE_CYCLE_TEMPLATE
See Also:
Constant Field Values

TRANSITIONS_TAB

static final int TRANSITIONS_TAB
See Also:
Constant Field Values

ROLE_TAB

static final int ROLE_TAB
See Also:
Constant Field Values

ACCESS_TAB

static final int ACCESS_TAB
See Also:
Constant Field Values

WORKFLOW_TAB

static final int WORKFLOW_TAB
See Also:
Constant Field Values

CRITERIA_TAB

static final int CRITERIA_TAB
See Also:
Constant Field Values

cLifeCycleTemplate

CLifeCycleTemplate cLifeCycleTemplate

phases

CPhaseTemplateList phases

selectedPhase

Phase selectedPhase

cutBufferPhase

static CPhaseTemplate cutBufferPhase

applet

Applet applet

rb

ResourceBundle rb

helpSystem

private HelpSystem helpSystem

helpContext

private NFHelpContext helpContext

lifeCycleTemplateString

private String lifeCycleTemplateString

allStates

private Hashtable allStates

radioPanel

Panel radioPanel

rolePanel

RolePanel rolePanel

accessPanel

AccessPanel accessPanel

criteriaPanel

CriteriaPanel criteriaPanel

workflowPanel

WorkflowPanel workflowPanel

transitionsPanel

TransitionsPanel transitionsPanel

fComponentsAdjusted

boolean fComponentsAdjusted

toolBarPanel

Panel toolBarPanel

newPhaseButton

symantec.itools.awt.ImageButton newPhaseButton

panel2

Panel panel2

cutPhaseButton

symantec.itools.awt.ImageButton cutPhaseButton

copyPhaseButton

symantec.itools.awt.ImageButton copyPhaseButton

pastePhaseButton

symantec.itools.awt.ImageButton pastePhaseButton

panel3

Panel panel3

deletePhaseButton

symantec.itools.awt.ImageButton deletePhaseButton

panel4

Panel panel4

helpPhaseButton

symantec.itools.awt.ImageButton helpPhaseButton

lifeCycleTemplateLabel

Label lifeCycleTemplateLabel

lifeCycleFlow

LifeCycleFlow lifeCycleFlow

propertiesPanel

Panel propertiesPanel

phasePanel

symantec.itools.awt.BorderPanel phasePanel

stateLabel

Label stateLabel

selectorLabel

Label selectorLabel

stateValueLabel

Label stateValueLabel

selectorValueLabel

Label selectorValueLabel

stateChoice

Choice stateChoice

selectorChoice

Choice selectorChoice

phaseTabPanel

symantec.itools.awt.TabPanel phaseTabPanel

roleTabPanel

Panel roleTabPanel

accessTabPanel

Panel accessTabPanel

workflowTabPanel

Panel workflowTabPanel

criteriaTabPanel

Panel criteriaTabPanel

transitionsTabPanel

Panel transitionsTabPanel

lifeCyclePanel

symantec.itools.awt.BorderPanel lifeCyclePanel

typeLabel

Label typeLabel

nameLabel

Label nameLabel

nameTextField

TextField nameTextField

locationLabel

Label locationLabel

panel1

Panel panel1

locationTextField

TextField locationTextField

browseButton

Button browseButton

descriptionLabel

Label descriptionLabel

descriptionTextArea

TextArea descriptionTextArea

classLabel

Label classLabel

classList

List classList

buttonPanel

Panel buttonPanel

okButton

Button okButton

saveButton

Button saveButton

cancelButton

Button cancelButton

helpButton

Button helpButton

statusBar

symantec.itools.awt.StatusBar statusBar

enabledCheckbox

Checkbox enabledCheckbox

routingCheckbox

Checkbox routingCheckbox

basicButton

JRadioButton basicButton

advancedButton

JRadioButton advancedButton
Constructor Detail

LifeCycleDefinitionPanel

LifeCycleDefinitionPanel()
Constructor generated by Visual Cafe. In addition to the generated code, there is added code which adds the phase panels to the task. These panels are defined in other classes and used for both Life Cycle defintion and Project definition.

Method Detail

getShortClasses

Vector getShortClasses()
Returns a Vector of short classes given a starting class.

Throws:
WTException - if the classes are not found

getFullClassname

protected static String getFullClassname(String short_classname)
Gets the full classname of a given short classname.

Parameters:
short_classname - the short classname to find the long classname of.

setApplet

protected void setApplet(Applet applet)
Sets the applet for this Life Cycle definition panel. The applet needs to be set so the WTContext can be found.

Parameters:
applet - the applet which has a WTContext

getApplet

protected Applet getApplet()
Returns the Applet for this Life Cycle definition panel.


initializeHelp

protected void initializeHelp()
Initializes the help system for the Life Cycle Definition Panel.


propertyChange

public void propertyChange(PropertyChangeEvent event)
Update the status area with online help.

Specified by:
propertyChange in interface PropertyChangeListener
Parameters:
event - the property change event

setViewMode

protected void setViewMode(boolean view_mode)
Sets the mode of the Life Cycle defintion panel. View mode is a read-only mode.

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

setBasicMode

protected void setBasicMode(boolean mode_basic)
Sets the mode of the Life Cycle defintion panel. View mode is a read-only mode.


setCLifeCycleTemplate

protected void setCLifeCycleTemplate(CLifeCycleTemplate clife_cycle)
Sets the Client Life Cycle Template object which will be worked on in this panel. This method sets the global cLifeCycleTemplate variable and fires off a thread which will send the no-argument setCLifeCycleTemplate message to this class.

Parameters:
clife_cycle - the client life cycle template object.

setCLifeCycleTemplate

protected void setCLifeCycleTemplate()
Initializes the GUI for the specified Client Life Cycle Template object. This method is invoked from within a WorkThread via a setCLifeCycleTemplate(CLifeCycleTemplate) call.


initializeCombo

protected void initializeCombo()

setFolder

protected void setFolder()
Sets the folder this Life Cycle Template will live in.


newPhase

protected void newPhase()
Creates a new Phase for the Life Cycle Template.


cancelCLifeCycleTemplate

protected void cancelCLifeCycleTemplate()
Primarly called . When the Cancel button is pressed, if the life cycle is new it is removed from the users folder. If the lifecycle is a modify, the checkout is undone and removed from the users folder.


okCLifeCycleTemplate

protected boolean okCLifeCycleTemplate()
Handles the save when the OK button is pressed. When the OK button is pressed, the Life Cycle is saved and the task is disposed.


saveCLifeCycleTemplate

protected boolean saveCLifeCycleTemplate()
Handles the save when the Save button is pressed. When the Save button is pressed, the Life Cycle is saved and the task remains to allow further editing.


doSaveCLifeCycleTemplate

protected boolean doSaveCLifeCycleTemplate()
Saves the Life Cycle template and it's Phases. A Batch Container is used to save the entire Life Cycle template in one transaction frame on the server.


getLifeCycleName

protected String getLifeCycleName()

doRefreshCLifeCycleTemplate

protected boolean doRefreshCLifeCycleTemplate()
Refreshes the Life Cycle Template after a save. When a save is performed, the saved Life Cycle will be different than the one the client is holding on to. This method refreshes the Life Cycle Template to be the newly created one.


setSelectedPhase

protected void setSelectedPhase(Phase phase)
Sets the selected Phase in the Life Cycle Template. This method fires off a new WorkThread which sends the no argument setSelectedPhase message to this class.

Parameters:
phase - the phase to be selected.

setSelectedPhase

protected void setSelectedPhase()
Sets the selected phase for this Life Cycle Template. Fields are updated to the newly selected phase.


updateSelectedTab

protected void updateSelectedTab()
Updates the selected tab to display information about the selected phase.


movePhase

protected void movePhase(Phase phase,
                         Phase before_phase)
Moves a phase from it's current location to a position before the phase specified with the before_phase argument.

Parameters:
phase - the phase to be moved.
before_phase - the phase to insert the moved phase before.

insertPhase

protected CPhaseTemplate insertPhase(CPhaseTemplate cphase,
                                     CPhaseTemplate before_cphase)
Inserts a phase to a position before the phase specified with the cbefore_phase argument.

Parameters:
cphase - the phase to be inserted.

deletePhase

protected void deletePhase(CPhaseTemplate cphase)
Deletes a phase from the Life Cycle Template.

Parameters:
cphase - the phase to be deleted.

localize

protected void localize()
Localizes the panel to the current locale.


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 help system is initialized at this point.


lifeCycleFlow_itemStateChanged

void lifeCycleFlow_itemStateChanged(ItemEvent event)
Updates the currently selected phase. A LifeCycleFlow item state change event is fired when the user selects or creates a new phase, or selects the background of a Life Cycle. This method shows the appropriate properties (Phase or Life Cycle) and sends the setSelectedPhase message to the Life Cycle Defintion panel.


saveWorkflowPanel

private void saveWorkflowPanel()
Save the selected phase and gate workflow processes. This should only be done if the workflowPanel has been viewed for a particular phase.


stateChoice_ItemStateChanged

void stateChoice_ItemStateChanged(ItemEvent event)
Updates the state of the selected phase.

Parameters:
event - the action event

selectorChoice_ItemStateChanged

void selectorChoice_ItemStateChanged(ItemEvent event)
Updates the seriesSelector of the selected phase.

Parameters:
event - the action event

basicButton_actionPerformed

void basicButton_actionPerformed(ActionEvent event)
Fires off a NEW_PHASE thread to create a basic lifecycle.


advancedButton_actionPerformed

void advancedButton_actionPerformed(ActionEvent event)
Fires off a NEW_PHASE thread to create a basic lifecycle.


newPhaseButton_actionPerformed

void newPhaseButton_actionPerformed(ActionEvent event)
Fires off a NEW_PHASE thread to create a new phase.


deletePhaseButton_actionPerformed

protected void deletePhaseButton_actionPerformed(ActionEvent event)
Deletes the selected phase from the Life Cycle Template.

Parameters:
event - the action event

copyPhaseButton_actionPerformed

void copyPhaseButton_actionPerformed(ActionEvent event)
Copies the selected phase into the cut buffer.


cutPhaseButton_actionPerformed

void cutPhaseButton_actionPerformed(ActionEvent event)
Copies the selected phase into the cut buffer and deletes from the Life Cycle Template.

Parameters:
event - the action event

pastePhaseButton_actionPerformed

void pastePhaseButton_actionPerformed(ActionEvent event)
Pastes the phase from the cut buffer into the Life Cycle Template.

Parameters:
event - the action event

browseButton_ActionPerformed

void browseButton_ActionPerformed(ActionEvent event)
Handles the mouse press on the location browser button. Fires off a WorkThread to set the folder.

Parameters:
event - the action event

okButton_ActionPerformed

void okButton_ActionPerformed(ActionEvent event)
Handles the mouse press on the OK button. Fires off a WorkThread to OK the life cycle template.

Parameters:
event - the action event

cancelButton_ActionPerformed

void cancelButton_ActionPerformed(ActionEvent event)
Handles the mouse press on the Cancel button. Fires off a WorkThread to Cancel changes to the life cycle template.

Parameters:
event - the action event

saveButton_ActionPerformed

void saveButton_ActionPerformed(ActionEvent event)
Handles the mouse press on the Save button. Fires off a WorkThread to save changes to the life cycle template.

Parameters:
event - the action event

phaseTabPanel_propertyChange

void phaseTabPanel_propertyChange(PropertyChangeEvent event)
Handles the tab panel property change event. The selected tab is updated to the selected phase.


helpButton_ActionPerformed

void helpButton_ActionPerformed(ActionEvent event)
Handles the mouse press on the Help button. Uses the help system to display life cycle help.

Parameters:
event - the action event

helpPhaseButton_actionPerformed

void helpPhaseButton_actionPerformed(ActionEvent event)
Handles the mouse press on the Help toolbar button. Uses the help system to display life cycle help.

Parameters:
event - the action event

nameTextField_TextValueChanged

void nameTextField_TextValueChanged(TextEvent event)

getContext

private WTContainerRef getContext()