wt.clients.workflow.definer
Class WfAssignedActivityTemplateParticipants

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

final class WfAssignedActivityTemplateParticipants
extends Panel


Nested Class Summary
(package private)  class WfAssignedActivityTemplateParticipants.AssigneeMultiList
           
(package private)  class WfAssignedActivityTemplateParticipants.MySpinner
           
(package private)  class WfAssignedActivityTemplateParticipants.SpinnerTextListener
           
(package private)  class WfAssignedActivityTemplateParticipants.SymAction
           
(package private)  class WfAssignedActivityTemplateParticipants.SymFocus
           
(package private)  class WfAssignedActivityTemplateParticipants.SymItem
           
(package private)  class WfAssignedActivityTemplateParticipants.SymKey
           
(package private)  class WfAssignedActivityTemplateParticipants.SymMouse
           
(package private)  class WfAssignedActivityTemplateParticipants.SymPropertyChange
           
 
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)  List actorList
           
private static String ACTORS_TAB
           
(package private)  Panel actorsPanel
           
(package private)  symantec.itools.awt.Label3D actorsTab
           
(package private)  Button addButton
           
private static int ASSIGNEE
           
(package private)  WfAssignedActivityTemplateParticipants.AssigneeMultiList assigneeTable
           
private static Font bold
           
(package private)  symantec.itools.awt.BorderPanel cardPanel
           
(package private)  EnumeratedChoice completionTypeChoice
           
(package private)  WfAssignedActivityTemplateParticipants.MySpinner completionValueSpinner
           
private  WTContainerRef context_ref
           
private  ThreadGroup contextGroup
           
private  String currentTab
           
(package private)  FindGroupPanel findGroupPanel
           
(package private)  FindUserPanel findUserPanel
           
(package private)  Panel fromPanel
           
private static String GROUPS_TAB
           
(package private)  Panel groupsPanel
           
(package private)  symantec.itools.awt.Label3D groupsTab
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine
           
private static int MAX_ASSIGNEES
           
(package private)  Panel moverPanel
           
private  Hashtable objectHolder
           
(package private)  Panel participantsPanel
           
private static Font plain
           
(package private)  ResourceBundle rb
           
(package private)  Button removeButton
           
private static int REQUIRED
           
(package private)  Label requiredLabel
           
(package private)  Panel requiredPanel
           
(package private)  Panel resolvePanel
           
(package private)  List roleList
           
private static String ROLES_TAB
           
(package private)  Panel rolesPanel
           
(package private)  symantec.itools.awt.Label3D rolesTab
           
(package private)  Panel tabsPanel
           
(package private)  Choice teamChoice
           
(package private)  Label teamLabel
           
(package private)  List teamList
           
(package private)  Vector teams
           
private static String TEAMS_TAB
           
(package private)  Panel teamsPanel
           
(package private)  symantec.itools.awt.Label3D teamsTab
           
(package private)  TextField teamTextField
           
(package private)  Choice teamVarChoice
           
(package private)  Label teamVarLabel
           
(package private)  TextField teamVarTextField
           
(package private)  Panel toPanel
           
private static int TYPE
           
private static String USERS_TAB
           
(package private)  Panel usersPanel
           
(package private)  symantec.itools.awt.Label3D usersTab
           
(package private)  List variableList
           
private static String VARIABLES_TAB
           
(package private)  Panel variablesPanel
           
(package private)  symantec.itools.awt.Label3D variablesTab
           
private static String versionID
           
(package private)  WfAssignedActivityTemplateEditor wfAssignedActivityTemplateEditor
           
 
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) WfAssignedActivityTemplateParticipants(WfAssignedActivityTemplateEditor wf_assigned_activity_editor)
           
 
Method Summary
(package private)  void actorList_KeyPressed(KeyEvent event)
           
(package private)  void actorList_MousePressed(MouseEvent event)
           
(package private)  void actorsTab_mousePressed(MouseEvent event)
           
(package private)  void addButton_ActionPerformed(ActionEvent event)
           
 void addNotify()
           
private  void addToObjectHolder(String key, Object value)
           
(package private)  void completionTypeChoice_itemStateChanged(ItemEvent event)
           
(package private)  void completionValueSpinner_propertyChange(PropertyChangeEvent event)
           
(package private)  void findGroupPanel_propertyChange_Interaction1(PropertyChangeEvent event)
           
(package private)  void findGroupPanel_propertyChange(PropertyChangeEvent event)
           
(package private)  void findUserPanel_propertyChange_Interaction1(PropertyChangeEvent event)
           
(package private)  void findUserPanel_propertyChange(PropertyChangeEvent event)
           
(package private)  void fromList_ItemStateChanged(ItemEvent event)
           
private  String getFromName(EnumeratedType enum)
           
private  String getFromName(TeamTemplateReference team)
           
private  String getFromName(WfVariableInfo var_info)
           
private  String getFromName(WTPrincipal principal)
           
private  String getToName(EnumeratedType enum)
           
private  String getToName(TeamTemplateReference team)
           
private  String getToName(WfVariableInfo var_info)
           
private  String getToName(WTPrincipal principal)
           
private  String getToType(ActorRole role)
           
private  String getToType(Role role)
           
private  String getToType(TeamTemplateReference team)
           
private  String getToType(WfVariableInfo var_info)
           
private  String getToType(WTPrincipal principal)
           
(package private)  void groupsTab_mousePressed(MouseEvent event)
           
(package private)  void initialize()
          Initialize the UI
private  void initializeActors()
          Initialize with the actor assignees from the template.
private  void initializePrincipals()
          Initialize with the principal assignees from the template.
private  void initializeRoles()
          Initialize with the role assignees from the template.
private  void initializeTeams()
          Initialize with the team assignees from the template.
private  void initializeVariables()
          Initialize with the variable assignees from the template.
(package private)  void list_KeyPressed(KeyEvent event, List list)
           
private  void populateActors()
          Populate the actor list to choose assignees from.
private  void populatePrincipals()
          Populate the principal list to choose assignees from.
private  void populateRoles()
          Populate the role list to choose assignees from.
private  void populateTeams()
          Populate the team list to choose assignees from.
private  void populateVariables()
          Populate the variable list to choose assignees from.
(package private)  void removeButton_ActionPerformed(ActionEvent event)
           
(package private)  void roleList_KeyPressed(KeyEvent event)
           
(package private)  void roleList_MousePressed(MouseEvent event)
           
(package private)  void rolesTab_mousePressed(MouseEvent event)
           
(package private)  void save()
          Save the user entered data to the template.
private  void setTab(String tab)
          Set the current tab.
private  void setTabSelected(String tab, boolean selected)
          Set the specified tab selected or deselected.
(package private)  void teamChoice_ItemStateChanged(ItemEvent event)
           
(package private)  void teamList_KeyPressed(KeyEvent event)
           
(package private)  void teamList_MousePressed(MouseEvent event)
           
(package private)  void teamsTab_mousePressed(MouseEvent event)
           
(package private)  void teamVarChoice_ItemStateChanged(ItemEvent event)
           
(package private)  void usersTab_mousePressed(MouseEvent event)
           
(package private)  void variableList_KeyPressed(KeyEvent event)
           
(package private)  void variableList_MousePressed(MouseEvent event)
           
(package private)  void variablesTab_mousePressed(MouseEvent event)
           
(package private)  void WfAssignedActivityTemplateParticipants_FocusGained(FocusEvent event)
           
 
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

versionID

private static final String versionID
See Also:
Constant Field Values

USERS_TAB

private static final String USERS_TAB
See Also:
Constant Field Values

GROUPS_TAB

private static final String GROUPS_TAB
See Also:
Constant Field Values

ROLES_TAB

private static final String ROLES_TAB
See Also:
Constant Field Values

ACTORS_TAB

private static final String ACTORS_TAB
See Also:
Constant Field Values

TEAMS_TAB

private static final String TEAMS_TAB
See Also:
Constant Field Values

VARIABLES_TAB

private static final String VARIABLES_TAB
See Also:
Constant Field Values

ASSIGNEE

private static final int ASSIGNEE
See Also:
Constant Field Values

TYPE

private static final int TYPE
See Also:
Constant Field Values

REQUIRED

private static final int REQUIRED
See Also:
Constant Field Values

MAX_ASSIGNEES

private static final int MAX_ASSIGNEES
See Also:
Constant Field Values

currentTab

private String currentTab

bold

private static Font bold

plain

private static Font plain

wfAssignedActivityTemplateEditor

WfAssignedActivityTemplateEditor wfAssignedActivityTemplateEditor

teams

Vector teams

contextGroup

private ThreadGroup contextGroup

assigneeTable

WfAssignedActivityTemplateParticipants.AssigneeMultiList assigneeTable

objectHolder

private Hashtable objectHolder

rb

ResourceBundle rb

context_ref

private WTContainerRef context_ref

participantsPanel

Panel participantsPanel

fromPanel

Panel fromPanel

tabsPanel

Panel tabsPanel

usersTab

symantec.itools.awt.Label3D usersTab

groupsTab

symantec.itools.awt.Label3D groupsTab

rolesTab

symantec.itools.awt.Label3D rolesTab

actorsTab

symantec.itools.awt.Label3D actorsTab

teamsTab

symantec.itools.awt.Label3D teamsTab

variablesTab

symantec.itools.awt.Label3D variablesTab

cardPanel

symantec.itools.awt.BorderPanel cardPanel

usersPanel

Panel usersPanel

findUserPanel

FindUserPanel findUserPanel

groupsPanel

Panel groupsPanel

findGroupPanel

FindGroupPanel findGroupPanel

rolesPanel

Panel rolesPanel

roleList

List roleList

actorsPanel

Panel actorsPanel

actorList

List actorList

variablesPanel

Panel variablesPanel

variableList

List variableList

teamsPanel

Panel teamsPanel

teamList

List teamList

moverPanel

Panel moverPanel

addButton

Button addButton

removeButton

Button removeButton

toPanel

Panel toPanel

requiredPanel

Panel requiredPanel

requiredLabel

Label requiredLabel

completionTypeChoice

EnumeratedChoice completionTypeChoice

horizontalLine

symantec.itools.awt.shape.HorizontalLine horizontalLine

resolvePanel

Panel resolvePanel

teamLabel

Label teamLabel

teamChoice

Choice teamChoice

teamTextField

TextField teamTextField

teamVarLabel

Label teamVarLabel

teamVarChoice

Choice teamVarChoice

teamVarTextField

TextField teamVarTextField

completionValueSpinner

WfAssignedActivityTemplateParticipants.MySpinner completionValueSpinner
Constructor Detail

WfAssignedActivityTemplateParticipants

WfAssignedActivityTemplateParticipants(WfAssignedActivityTemplateEditor wf_assigned_activity_editor)
Method Detail

initialize

void initialize()
          throws WTException
Initialize the UI

Throws:
WTException

populatePrincipals

private void populatePrincipals()
                         throws Exception
Populate the principal list to choose assignees from.

Throws:
Exception

initializePrincipals

private void initializePrincipals()
                           throws WTException
Initialize with the principal assignees from the template.

Throws:
WTException

populateActors

private void populateActors()
                     throws WTException
Populate the actor list to choose assignees from.

Throws:
WTException

initializeActors

private void initializeActors()
                       throws WTException
Initialize with the actor assignees from the template.

Throws:
WTException

populateRoles

private void populateRoles()
                    throws WTException
Populate the role list to choose assignees from.

Throws:
WTException

initializeRoles

private void initializeRoles()
                      throws WTException
Initialize with the role assignees from the template.

Throws:
WTException

populateTeams

private void populateTeams()
                    throws WTException
Populate the team list to choose assignees from.

Throws:
WTException

initializeTeams

private void initializeTeams()
                      throws WTException
Initialize with the team assignees from the template.

Throws:
WTException

populateVariables

private void populateVariables()
                        throws WTException
Populate the variable list to choose assignees from.

Throws:
WTException

initializeVariables

private void initializeVariables()
                          throws WTException
Initialize with the variable assignees from the template.

Throws:
WTException

addToObjectHolder

private void addToObjectHolder(String key,
                               Object value)

save

void save()
Save the user entered data to the template.


setTab

private void setTab(String tab)
Set the current tab.


setTabSelected

private void setTabSelected(String tab,
                            boolean selected)
Set the specified tab selected or deselected.


getFromName

private String getFromName(WTPrincipal principal)

getToName

private String getToName(WTPrincipal principal)

getToType

private String getToType(WTPrincipal principal)

getFromName

private String getFromName(EnumeratedType enum)

getToName

private String getToName(EnumeratedType enum)

getToType

private String getToType(Role role)

getToType

private String getToType(ActorRole role)

getFromName

private String getFromName(WfVariableInfo var_info)

getToName

private String getToName(WfVariableInfo var_info)

getToType

private String getToType(WfVariableInfo var_info)

getFromName

private String getFromName(TeamTemplateReference team)

getToName

private String getToName(TeamTemplateReference team)

getToType

private String getToType(TeamTemplateReference team)

addNotify

public void addNotify()

WfAssignedActivityTemplateParticipants_FocusGained

void WfAssignedActivityTemplateParticipants_FocusGained(FocusEvent event)

teamChoice_ItemStateChanged

void teamChoice_ItemStateChanged(ItemEvent event)

teamVarChoice_ItemStateChanged

void teamVarChoice_ItemStateChanged(ItemEvent event)

usersTab_mousePressed

void usersTab_mousePressed(MouseEvent event)

groupsTab_mousePressed

void groupsTab_mousePressed(MouseEvent event)

rolesTab_mousePressed

void rolesTab_mousePressed(MouseEvent event)

actorsTab_mousePressed

void actorsTab_mousePressed(MouseEvent event)

teamsTab_mousePressed

void teamsTab_mousePressed(MouseEvent event)

variablesTab_mousePressed

void variablesTab_mousePressed(MouseEvent event)

addButton_ActionPerformed

void addButton_ActionPerformed(ActionEvent event)

removeButton_ActionPerformed

void removeButton_ActionPerformed(ActionEvent event)

completionTypeChoice_itemStateChanged

void completionTypeChoice_itemStateChanged(ItemEvent event)

completionValueSpinner_propertyChange

void completionValueSpinner_propertyChange(PropertyChangeEvent event)

fromList_ItemStateChanged

void fromList_ItemStateChanged(ItemEvent event)

roleList_MousePressed

void roleList_MousePressed(MouseEvent event)

actorList_MousePressed

void actorList_MousePressed(MouseEvent event)

variableList_MousePressed

void variableList_MousePressed(MouseEvent event)

teamList_MousePressed

void teamList_MousePressed(MouseEvent event)

list_KeyPressed

void list_KeyPressed(KeyEvent event,
                     List list)

roleList_KeyPressed

void roleList_KeyPressed(KeyEvent event)

actorList_KeyPressed

void actorList_KeyPressed(KeyEvent event)

variableList_KeyPressed

void variableList_KeyPressed(KeyEvent event)

teamList_KeyPressed

void teamList_KeyPressed(KeyEvent event)

findUserPanel_propertyChange

void findUserPanel_propertyChange(PropertyChangeEvent event)

findUserPanel_propertyChange_Interaction1

void findUserPanel_propertyChange_Interaction1(PropertyChangeEvent event)

findGroupPanel_propertyChange

void findGroupPanel_propertyChange(PropertyChangeEvent event)

findGroupPanel_propertyChange_Interaction1

void findGroupPanel_propertyChange_Interaction1(PropertyChangeEvent event)