|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
wt.clients.lifecycle.administrator.LifeCycleDefinitionPanel
This is the main Life Cycle definition Panel.
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final int SET_CLIFE_CYCLE_TEMPLATE
static final int SET_FOLDER
static final int OK_CLIFE_CYCLE_TEMPLATE
static final int SAVE_CLIFE_CYCLE_TEMPLATE
static final int SET_SELECTED_PHASE
static final int NEW_PHASE
static final int CANCEL_CLIFE_CYCLE_TEMPLATE
static final int TRANSITIONS_TAB
static final int ROLE_TAB
static final int ACCESS_TAB
static final int WORKFLOW_TAB
static final int CRITERIA_TAB
CLifeCycleTemplate cLifeCycleTemplate
CPhaseTemplateList phases
Phase selectedPhase
static CPhaseTemplate cutBufferPhase
Applet applet
ResourceBundle rb
private HelpSystem helpSystem
private NFHelpContext helpContext
private String lifeCycleTemplateString
private Hashtable allStates
Panel radioPanel
RolePanel rolePanel
AccessPanel accessPanel
CriteriaPanel criteriaPanel
WorkflowPanel workflowPanel
TransitionsPanel transitionsPanel
boolean fComponentsAdjusted
Panel toolBarPanel
symantec.itools.awt.ImageButton newPhaseButton
Panel panel2
symantec.itools.awt.ImageButton cutPhaseButton
symantec.itools.awt.ImageButton copyPhaseButton
symantec.itools.awt.ImageButton pastePhaseButton
Panel panel3
symantec.itools.awt.ImageButton deletePhaseButton
Panel panel4
symantec.itools.awt.ImageButton helpPhaseButton
Label lifeCycleTemplateLabel
LifeCycleFlow lifeCycleFlow
Panel propertiesPanel
symantec.itools.awt.BorderPanel phasePanel
Label stateLabel
Label selectorLabel
Label stateValueLabel
Label selectorValueLabel
Choice stateChoice
Choice selectorChoice
symantec.itools.awt.TabPanel phaseTabPanel
Panel roleTabPanel
Panel accessTabPanel
Panel workflowTabPanel
Panel criteriaTabPanel
Panel transitionsTabPanel
symantec.itools.awt.BorderPanel lifeCyclePanel
Label typeLabel
Label nameLabel
TextField nameTextField
Label locationLabel
Panel panel1
TextField locationTextField
Button browseButton
Label descriptionLabel
TextArea descriptionTextArea
Label classLabel
List classList
Panel buttonPanel
Button okButton
Button saveButton
Button cancelButton
Button helpButton
symantec.itools.awt.StatusBar statusBar
Checkbox enabledCheckbox
Checkbox routingCheckbox
JRadioButton basicButton
JRadioButton advancedButton
Constructor Detail |
LifeCycleDefinitionPanel()
Method Detail |
Vector getShortClasses()
WTException
- if the classes are not foundprotected static String getFullClassname(String short_classname)
short_classname
- the short classname to find the long
classname of.protected void setApplet(Applet applet)
applet
- the applet which has a WTContextprotected Applet getApplet()
protected void initializeHelp()
public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
event
- the property change eventprotected void setViewMode(boolean view_mode)
view_mode
- true if read-only, else falseprotected void setBasicMode(boolean mode_basic)
protected void setCLifeCycleTemplate(CLifeCycleTemplate clife_cycle)
clife_cycle
- the client life cycle template object.protected void setCLifeCycleTemplate()
protected void initializeCombo()
protected void setFolder()
protected void newPhase()
protected void cancelCLifeCycleTemplate()
protected boolean okCLifeCycleTemplate()
protected boolean saveCLifeCycleTemplate()
protected boolean doSaveCLifeCycleTemplate()
protected String getLifeCycleName()
protected boolean doRefreshCLifeCycleTemplate()
protected void setSelectedPhase(Phase phase)
phase
- the phase to be selected.protected void setSelectedPhase()
protected void updateSelectedTab()
protected void movePhase(Phase phase, Phase before_phase)
phase
- the phase to be moved.before_phase
- the phase to insert the moved phase before.protected CPhaseTemplate insertPhase(CPhaseTemplate cphase, CPhaseTemplate before_cphase)
cphase
- the phase to be inserted.protected void deletePhase(CPhaseTemplate cphase)
cphase
- the phase to be deleted.protected void localize()
public void addNotify()
void lifeCycleFlow_itemStateChanged(ItemEvent event)
private void saveWorkflowPanel()
void stateChoice_ItemStateChanged(ItemEvent event)
event
- the action eventvoid selectorChoice_ItemStateChanged(ItemEvent event)
event
- the action eventvoid basicButton_actionPerformed(ActionEvent event)
void advancedButton_actionPerformed(ActionEvent event)
void newPhaseButton_actionPerformed(ActionEvent event)
protected void deletePhaseButton_actionPerformed(ActionEvent event)
event
- the action eventvoid copyPhaseButton_actionPerformed(ActionEvent event)
void cutPhaseButton_actionPerformed(ActionEvent event)
event
- the action eventvoid pastePhaseButton_actionPerformed(ActionEvent event)
event
- the action eventvoid browseButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid okButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid cancelButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid saveButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid phaseTabPanel_propertyChange(PropertyChangeEvent event)
void helpButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid helpPhaseButton_actionPerformed(ActionEvent event)
event
- the action eventvoid nameTextField_TextValueChanged(TextEvent event)
private WTContainerRef getContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |