wt.clients.workflow.definer
Class WfNotifierRecipients

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

final class WfNotifierRecipients
extends Panel


Nested Class Summary
(package private)  class WfNotifierRecipients.RecipientMultiList
           
(package private)  class WfNotifierRecipients.SymAction
           
(package private)  class WfNotifierRecipients.SymFocus
           
(package private)  class WfNotifierRecipients.SymItem
           
(package private)  class WfNotifierRecipients.SymKey
           
(package private)  class WfNotifierRecipients.SymMouse
           
(package private)  class WfNotifierRecipients.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 Font bold
           
(package private)  symantec.itools.awt.BorderPanel cardPanel
           
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
           
private static int MAX_RECIPIENTS
           
(package private)  Panel moverPanel
           
private  Hashtable objectHolder
           
(package private)  Panel participantsPanel
           
private static Font plain
           
(package private)  ResourceBundle rb
           
private static int RECIPIENT
           
(package private)  WfNotifierRecipients.RecipientMultiList recipientTable
           
(package private)  Button removeButton
           
(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)  List teamList
           
(package private)  Vector teams
           
private static String TEAMS_TAB
           
(package private)  Panel teamsPanel
           
(package private)  symantec.itools.awt.Label3D teamsTab
           
(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
           
(package private)  WfInternalMethodTemplateEditor wfInternalMethodTemplateEditor
           
 
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) WfNotifierRecipients(WfInternalMethodTemplateEditor wf_internal_method_template_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 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(ProjectReference project)
           
private  String getFromName(TeamTemplateReference ttr)
           
private  String getFromName(WfVariableInfo var_info)
           
private  String getFromName(WTPrincipal principal)
           
private  String getToName(EnumeratedType enum)
           
private  String getToName(ProjectReference project)
           
private  String getToName(TeamTemplateReference ttr)
           
private  String getToName(WfVariableInfo var_info)
           
private  String getToName(WTPrincipal principal)
           
private  String getToType(ActorRole role)
           
private  String getToType(ProjectReference project)
           
private  String getToType(Role role)
           
private  String getToType(TeamTemplateReference ttr)
           
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 teamList_KeyPressed(KeyEvent event)
           
(package private)  void teamList_MousePressed(MouseEvent event)
           
(package private)  void teamsTab_mousePressed(MouseEvent 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 WfNotifierRecipients_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

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

RECIPIENT

private static final int RECIPIENT
See Also:
Constant Field Values

TYPE

private static final int TYPE
See Also:
Constant Field Values

MAX_RECIPIENTS

private static final int MAX_RECIPIENTS
See Also:
Constant Field Values

currentTab

private String currentTab

bold

private static Font bold

plain

private static Font plain

wfInternalMethodTemplateEditor

WfInternalMethodTemplateEditor wfInternalMethodTemplateEditor

teams

Vector teams

contextGroup

private ThreadGroup contextGroup

context_ref

private WTContainerRef context_ref

recipientTable

WfNotifierRecipients.RecipientMultiList recipientTable

objectHolder

private Hashtable objectHolder

rb

ResourceBundle rb

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
Constructor Detail

WfNotifierRecipients

WfNotifierRecipients(WfInternalMethodTemplateEditor wf_internal_method_template_editor)
Method Detail

initialize

void initialize()
          throws WTException
Initialize the UI

Throws:
WTException

addNotify

public void addNotify()

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(ProjectReference project)

getToName

private String getToName(ProjectReference project)

getToType

private String getToType(ProjectReference project)

getFromName

private String getFromName(TeamTemplateReference ttr)

getToName

private String getToName(TeamTemplateReference ttr)

getToType

private String getToType(TeamTemplateReference ttr)

WfNotifierRecipients_FocusGained

void WfNotifierRecipients_FocusGained(FocusEvent 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)

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)