wt.clients.workflow.manager
Class ProcessManagerPanel

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

public class ProcessManagerPanel
extends Panel

See Also:
Serialized Form

Nested Class Summary
 class ProcessManagerPanel.BasicActionAction
          Used for basic actions on an activity or process.
 class ProcessManagerPanel.ClickBackgroundAction
           
 class ProcessManagerPanel.ClickLinkAction
           
 class ProcessManagerPanel.ClickNodeAction
           
 class ProcessManagerPanel.CompleteActivityAction
          Used to complete an activity.
 class ProcessManagerPanel.ConfirmActionAction
           
 class ProcessManagerPanel.DblClickNodeAction
           
 class ProcessManagerPanel.HelpAction
          The HelpAction class is used to handle a help request from the user for the highlighted object in the graph.
(package private)  class ProcessManagerPanel.InitializeActionsThread
           
(package private)  class ProcessManagerPanel.InitializeGraphViewThread
           
(package private)  class ProcessManagerPanel.InitializeToolbarThread
           
 class ProcessManagerPanel.RefreshActionAction
          Used for the refresh action on the process.
 
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
private static String accessControlSuffix
           
private  ActionLoader actionLoader
           
private static String actionSuffix
           
private static String CLASSNAME
           
private  GraphView graphView
           
private  ProcessManagerPanel.HelpAction helpAction
           
static String imageSuffix
           
private static String labelSuffix
           
private  Hashtable member
           
static String menubarKeyword
           
private  Applet pm_applet
           
private  WTJSObject pm_win
           
private static String PROPERTY_FILE
           
private static String refreshmonitorPrefix
           
private  PropertiesMap resource
           
private static String RESOURCE
           
private static String RESOURCEFILE
          WARNING: --- Use 'RESOURCEFILE' instead of 'RESOURCE' for the resource bundle!!! --- (until RESOURCE can be set with the correct value)
static String separator
           
(package private)  ThreadGroup threadGroup
           
static String toolbarKeyword
           
private static boolean VERBOSE
           
private static boolean VERBOSERESOURCE
           
private static String versionID
           
 
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
ProcessManagerPanel(String processOID, Applet parent_applet)
           
 
Method Summary
protected  Component createToolbarItem(String toolbarkey)
           
 ActionLoader getActionLoader()
          Gets the value of the attribute: actionLoader.
 GraphView getGraphView()
          Gets the value of the attribute: graphView.
private  String getResourceString(String resourceName)
           
private  void goToHTMLAnchor(String target, boolean reload)
          This method sends a request for the HTML frame displaying the Process Manager information to move to the specified anchor.
 boolean isAuthorized(String key)
          Check if an item is authorized.
private  boolean isMember(String group_name)
           
 void setActionLoader(ActionLoader a_ActionLoader)
          Sets the value of the attribute: actionLoader.
 void setGraphView(GraphView a_GraphView)
          Sets the value of the attribute: graphView.
 void setPropertyPanel(MonitorNode node)
           
 void setPropertyPanel(MonitorNode node, boolean reload)
           
private  String[] tokenize(String input)
           
 
Methods inherited from class java.awt.Panel
addNotify, 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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

graphView

private GraphView graphView

resource

private PropertiesMap resource

labelSuffix

private static final String labelSuffix
See Also:
Constant Field Values

actionSuffix

private static final String actionSuffix
See Also:
Constant Field Values

refreshmonitorPrefix

private static final String refreshmonitorPrefix
See Also:
Constant Field Values

accessControlSuffix

private static final String accessControlSuffix
See Also:
Constant Field Values

actionLoader

private ActionLoader actionLoader

member

private Hashtable member

pm_applet

private Applet pm_applet

pm_win

private WTJSObject pm_win

threadGroup

ThreadGroup threadGroup

RESOURCEFILE

private static final String RESOURCEFILE
WARNING: --- Use 'RESOURCEFILE' instead of 'RESOURCE' for the resource bundle!!! --- (until RESOURCE can be set with the correct value)

See Also:
Constant Field Values

helpAction

private ProcessManagerPanel.HelpAction helpAction

VERBOSE

private static boolean VERBOSE

VERBOSERESOURCE

private static boolean VERBOSERESOURCE

PROPERTY_FILE

private static String PROPERTY_FILE

imageSuffix

public static final String imageSuffix
See Also:
Constant Field Values

menubarKeyword

public static final String menubarKeyword
See Also:
Constant Field Values

toolbarKeyword

public static final String toolbarKeyword
See Also:
Constant Field Values

separator

public static final String separator
See Also:
Constant Field Values
Constructor Detail

ProcessManagerPanel

public ProcessManagerPanel(String processOID,
                           Applet parent_applet)
Parameters:
parent_applet -
Method Detail

getGraphView

public GraphView getGraphView()
Gets the value of the attribute: graphView.

Returns:
DefaultGraphView

setGraphView

public void setGraphView(GraphView a_GraphView)
                  throws WTPropertyVetoException
Sets the value of the attribute: graphView.

Parameters:
a_GraphView -
Throws:
WTPropertyVetoException

getActionLoader

public ActionLoader getActionLoader()
Gets the value of the attribute: actionLoader.

Returns:
ActionLoader

setActionLoader

public void setActionLoader(ActionLoader a_ActionLoader)
Sets the value of the attribute: actionLoader.

Parameters:
a_ActionLoader -

tokenize

private String[] tokenize(String input)
Parameters:
input -
Returns:
String[]

getResourceString

private String getResourceString(String resourceName)
Parameters:
resourceName -
Returns:
String

isMember

private boolean isMember(String group_name)
Returns:
boolean

createToolbarItem

protected Component createToolbarItem(String toolbarkey)

isAuthorized

public boolean isAuthorized(String key)
Check if an item is authorized. The checking is done by looking at the least of group specified in the property file


setPropertyPanel

public void setPropertyPanel(MonitorNode node)

setPropertyPanel

public void setPropertyPanel(MonitorNode node,
                             boolean reload)

goToHTMLAnchor

private void goToHTMLAnchor(String target,
                            boolean reload)
This method sends a request for the HTML frame displaying the Process Manager information to move to the specified anchor. An HTML anchor is of the form: _ or (in case of the process itself): _ Example: VR:wt.workflow.definer.WfProcessTemplate:93001_OR:wt.workflow.definer.WfAdHocActivityTemplate:93007

Parameters:
target - The object reference of the activity or process.
reload - 'true' if the HTML-based property page is to be reloaded (refreshed); 'false' otherwise.