wt.clients.workflow.definer
Class WfSynchRobotTemplateSynch

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

final class WfSynchRobotTemplateSynch
extends Panel


Nested Class Summary
(package private)  class WfSynchRobotTemplateSynch.CompileThread
          Compile the expression.
(package private)  class WfSynchRobotTemplateSynch.SymAction
           
(package private)  class WfSynchRobotTemplateSynch.SymItem
           
(package private)  class WfSynchRobotTemplateSynch.SymText
           
 
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)  Choice classChoice
           
(package private)  Checkbox classEventRadio
           
(package private)  Label classLabel
           
(package private)  String colon
           
(package private)  Button compileButton
           
(package private)  Choice eventChoice
           
(package private)  Label eventLabel
           
(package private)  Panel eventPanel
           
(package private)  Label eventsLabel
           
(package private)  TextArea eventsTextArea
           
(package private)  Label expressionLabel
           
(package private)  Checkbox expressionRadio
           
(package private)  TextArea expressionTextArea
           
(package private)  CheckboxGroup Group1
           
(package private)  Button initCompileButton
           
(package private)  Label initExpressionLabel
           
(package private)  TextArea initExpressionTextArea
           
(package private)  Label initialExpression
           
(package private)  Label initInsertLabel
           
(package private)  Panel initInsertPanel
           
(package private)  WfExpression initSynchExpression
           
(package private)  WfExpression initTransactionExpression
           
(package private)  Choice initVariableChoice
           
(package private)  Label insertLabel
           
(package private)  Panel insertPanel
           
(package private)  Choice objectChoice
           
(package private)  Checkbox objectEventRadio
           
(package private)  Panel radioGroupPanel
           
(package private)  ResourceBundle rb
           
(package private)  WfExpression synchExpression
           
(package private)  Label synchronizeLabel
           
(package private)  Panel synchronizeOnPanel
           
(package private)  ThreadGroup threadGroup
           
(package private)  WfExpression transactionExpression
           
(package private)  Choice variableChoice
           
(package private)  StringVector variables
           
(package private)  Vector vectorTableEvents
           
private static String versionID
           
(package private)  WfNodeTemplateEditor wfNodeTemplateEditor
           
private static StringVector windchill_classes
           
 
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) WfSynchRobotTemplateSynch(WfTemplateObjectEditor wf_expression_editor)
           
 
Method Summary
 void cancel()
           
(package private)  void classEventRadio_ItemStateChanged(ItemEvent event)
           
(package private)  void compileButton_ActionPerformed(ActionEvent event)
           
(package private)  void expressionRadio_ItemStateChanged(ItemEvent event)
           
(package private)  void expressionTextArea_TextValueChanged(TextEvent event)
          Update the compile button if the expression changes.
protected static StringVector getWindchillClasses()
          Returns a Vector of Windchill classes.
(package private)  void initCompileButton_ActionPerformed(ActionEvent event)
           
(package private)  void initExpressionTextArea_TextValueChanged(TextEvent event)
          Update the compile button if the expression changes.
 void initialize()
           
private  void initializeVariables()
           
(package private)  void initVariableChoice_ItemStateChanged(ItemEvent event)
           
private  void loadClassCombo()
           
private  void loadEventCombo()
           
private  void loadObjectCombo()
           
private  void localize()
           
(package private)  void objectEventRadio_ItemStateChanged(ItemEvent event)
           
private static void populateClasses(String class_name, Hashtable class_table)
           
protected  void save()
           
(package private)  void variableChoice_ItemStateChanged(ItemEvent event)
           
 
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

versionID

private static final String versionID
See Also:
Constant Field Values

wfNodeTemplateEditor

WfNodeTemplateEditor wfNodeTemplateEditor

transactionExpression

WfExpression transactionExpression

synchExpression

WfExpression synchExpression

initTransactionExpression

WfExpression initTransactionExpression

initSynchExpression

WfExpression initSynchExpression

threadGroup

ThreadGroup threadGroup

colon

String colon

vectorTableEvents

Vector vectorTableEvents

windchill_classes

private static StringVector windchill_classes

variables

StringVector variables

rb

ResourceBundle rb

synchronizeOnPanel

Panel synchronizeOnPanel

synchronizeLabel

Label synchronizeLabel

radioGroupPanel

Panel radioGroupPanel

expressionRadio

Checkbox expressionRadio

Group1

CheckboxGroup Group1

classEventRadio

Checkbox classEventRadio

objectEventRadio

Checkbox objectEventRadio

eventPanel

Panel eventPanel

classLabel

Label classLabel

classChoice

Choice classChoice

objectChoice

Choice objectChoice

eventLabel

Label eventLabel

eventChoice

Choice eventChoice

eventsLabel

Label eventsLabel

eventsTextArea

TextArea eventsTextArea

initialExpression

Label initialExpression

expressionLabel

Label expressionLabel

insertPanel

Panel insertPanel

insertLabel

Label insertLabel

variableChoice

Choice variableChoice

compileButton

Button compileButton

expressionTextArea

TextArea expressionTextArea

initExpressionLabel

Label initExpressionLabel

initInsertPanel

Panel initInsertPanel

initInsertLabel

Label initInsertLabel

initVariableChoice

Choice initVariableChoice

initCompileButton

Button initCompileButton

initExpressionTextArea

TextArea initExpressionTextArea
Constructor Detail

WfSynchRobotTemplateSynch

WfSynchRobotTemplateSynch(WfTemplateObjectEditor wf_expression_editor)
Method Detail

initialize

public void initialize()
                throws WTException
Throws:
WTException

localize

private void localize()

initializeVariables

private void initializeVariables()

loadObjectCombo

private void loadObjectCombo()

loadClassCombo

private void loadClassCombo()

loadEventCombo

private void loadEventCombo()

getWindchillClasses

protected static StringVector getWindchillClasses()
                                           throws WTException
Returns a Vector of Windchill classes.

Throws:
WTException - if the classes are not found

populateClasses

private static void populateClasses(String class_name,
                                    Hashtable class_table)

save

protected void save()
             throws WTException
Throws:
WTException

cancel

public void cancel()

compileButton_ActionPerformed

void compileButton_ActionPerformed(ActionEvent event)

initCompileButton_ActionPerformed

void initCompileButton_ActionPerformed(ActionEvent event)

expressionTextArea_TextValueChanged

void expressionTextArea_TextValueChanged(TextEvent event)
Update the compile button if the expression changes.


initExpressionTextArea_TextValueChanged

void initExpressionTextArea_TextValueChanged(TextEvent event)
Update the compile button if the expression changes.


classEventRadio_ItemStateChanged

void classEventRadio_ItemStateChanged(ItemEvent event)

expressionRadio_ItemStateChanged

void expressionRadio_ItemStateChanged(ItemEvent event)

variableChoice_ItemStateChanged

void variableChoice_ItemStateChanged(ItemEvent event)

initVariableChoice_ItemStateChanged

void initVariableChoice_ItemStateChanged(ItemEvent event)

objectEventRadio_ItemStateChanged

void objectEventRadio_ItemStateChanged(ItemEvent event)