wt.clients.workflow.definer
Class ProcessNavigatorFrame

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

public class ProcessNavigatorFrame
extends Frame

See Also:
Serialized Form

Nested Class Summary
(package private)  class ProcessNavigatorFrame.EditorInfo
          Keeps track of editors.
(package private)  class ProcessNavigatorFrame.GraphViewKeyListener
           
(package private)  class ProcessNavigatorFrame.ModelListener
          Listen for changes to the model.
(package private)  class ProcessNavigatorFrame.MyMenu
           
(package private)  class ProcessNavigatorFrame.MyPopupMenu
           
(package private)  class ProcessNavigatorFrame.OpenPropertiesThread
           
(package private)  class ProcessNavigatorFrame.SelectionListener
           
(package private)  class ProcessNavigatorFrame.SymItem
           
(package private)  class ProcessNavigatorFrame.ToolsActionListener
          Listen for tool actions.
 
Nested classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
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  AlignHorizontallyAction alignHorizontallyAction
           
private  AlignVerticallyAction alignVerticallyAction
           
private  BackAction backAction
           
private  ProcessPropertiesAction containerPropertiesAction
           
private  CopyAction copyAction
           
private  CutAction cutAction
           
private  DeleteAction deleteAction
           
private static Font dialog11
           
private  DistributeHorizontallyAction distributeHorizontallyAction
           
private  DistributeVerticallyAction distributeVerticallyAction
           
private  boolean editMode
           
(package private)  Hashtable editorHash
           
(package private)  Hashtable editorHashtable
           
private  Checkbox enabledCheckbox
           
private  ExitAction exitAction
           
private  ExpandBlockAction expandBlockAction
           
private static ProcessNavigatorFrame focusedComponent
           
private  ForwardAction forwardAction
           
private  GraphView graphView
           
private  ScrollPane graphViewPane
           
private static Insets insets0
           
(package private)  StickyToolbar itemToolbar
           
private  String LINK
           
private  Choice location
           
private  ProcessNavigatorFrame.ModelListener modelListener
           
private  Panel navigationPanel
           
private  NewAction newAction
           
private  ObjectPropertiesAction objectPropertiesAction
           
private  OpenAction openAction
           
private  PasteAction pasteAction
           
private  String POINTER
           
private static Dimension preferredSize
           
private  WfProcessTemplateEditor processEditor
           
(package private)  SaveProgress progress
           
(package private)  Hotlink propertiesLink
           
private  Hashtable property_windows
           
private  ResourceBundle rb
           
private  SaveAction saveAction
           
private  SaveAsAction saveAsAction
           
private  SelectAllAction selectAllAction
           
private  ProcessNavigatorFrame.SelectionListener selectionListener
           
private  SquareLineAction squareLineAction
           
private  StraitLineAction straitLineAction
           
private  ThreadGroup threadGroup
           
private  ToBlockAction toBlockAction
           
private  UsedByAction usedByAction
           
private  UsesAction usesAction
           
private  ValidateAction validateAction
           
private  ValidateAllAction validateAllAction
           
private static String versionID
           
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Window
 
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
ProcessNavigatorFrame(boolean edit_mode)
           
ProcessNavigatorFrame(String title)
           
 
Method Summary
 void addContainerEditor(WfContainerTemplateEditor container_editor)
           
(package private)  void addPropertyWindow(Component component, Frame window)
           
(package private)  void back()
          Move back to the parent container.
 void dispose()
           
(package private)  void enabledCheckbox_ItemStateChanged(ItemEvent event)
           
(package private)  void exitPrompting()
           
(package private)  void forward()
          Move forward to the previously visited child container.
 WfContainerTemplateEditor getContainerEditor()
           
(package private)  WfContainerTemplatePanel getCurrentProcessPanel()
           
static ProcessNavigatorFrame getFocusedComponent()
          Returns the component which currently has focus.
(package private)  String getIndent(int index)
           
 Dimension getPreferredSize()
           
 WfProcessTemplateEditor getProcessEditor()
           
(package private)  Enumeration getPropertyPanels()
           
(package private)  TemplateEditorDialog getPropertyWindow(Component component)
           
(package private)  boolean hasPropertiesShowing()
           
private  void initializeActions()
           
private  void initializeGraph()
           
private  void initializeNavigation()
           
(package private)  void location_ItemStateChanged(ItemEvent event)
           
(package private)  void openProperties(WfContainerTemplateEditor editor)
           
(package private)  void refresh()
           
(package private)  void resetTools()
           
(package private)  void savePropertyPanels()
           
 void setProcessEditor(WfProcessTemplateEditor editor)
           
 void setStraitLines(boolean strait)
           
 void updateLocation()
           
(package private)  void updateNavigateButtons()
           
(package private)  void updateTitle()
           
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, 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, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, 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, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

POINTER

private String POINTER

LINK

private String LINK

newAction

private NewAction newAction

openAction

private OpenAction openAction

saveAction

private SaveAction saveAction

saveAsAction

private SaveAsAction saveAsAction

exitAction

private ExitAction exitAction

backAction

private BackAction backAction

forwardAction

private ForwardAction forwardAction

validateAction

private ValidateAction validateAction

validateAllAction

private ValidateAllAction validateAllAction

usedByAction

private UsedByAction usedByAction

usesAction

private UsesAction usesAction

containerPropertiesAction

private ProcessPropertiesAction containerPropertiesAction

objectPropertiesAction

private ObjectPropertiesAction objectPropertiesAction

cutAction

private CutAction cutAction

copyAction

private CopyAction copyAction

pasteAction

private PasteAction pasteAction

deleteAction

private DeleteAction deleteAction

toBlockAction

private ToBlockAction toBlockAction

expandBlockAction

private ExpandBlockAction expandBlockAction

alignHorizontallyAction

private AlignHorizontallyAction alignHorizontallyAction

alignVerticallyAction

private AlignVerticallyAction alignVerticallyAction

distributeHorizontallyAction

private DistributeHorizontallyAction distributeHorizontallyAction

distributeVerticallyAction

private DistributeVerticallyAction distributeVerticallyAction

selectAllAction

private SelectAllAction selectAllAction

straitLineAction

private StraitLineAction straitLineAction

squareLineAction

private SquareLineAction squareLineAction

navigationPanel

private Panel navigationPanel

graphViewPane

private ScrollPane graphViewPane

graphView

private GraphView graphView

location

private Choice location

enabledCheckbox

private Checkbox enabledCheckbox

propertiesLink

Hotlink propertiesLink

itemToolbar

StickyToolbar itemToolbar

property_windows

private Hashtable property_windows

focusedComponent

private static ProcessNavigatorFrame focusedComponent

editorHashtable

Hashtable editorHashtable

rb

private ResourceBundle rb

insets0

private static Insets insets0

dialog11

private static Font dialog11

preferredSize

private static Dimension preferredSize

selectionListener

private ProcessNavigatorFrame.SelectionListener selectionListener

modelListener

private ProcessNavigatorFrame.ModelListener modelListener

processEditor

private WfProcessTemplateEditor processEditor

threadGroup

private ThreadGroup threadGroup

editorHash

Hashtable editorHash

progress

SaveProgress progress

editMode

private boolean editMode
Constructor Detail

ProcessNavigatorFrame

public ProcessNavigatorFrame(boolean edit_mode)

ProcessNavigatorFrame

public ProcessNavigatorFrame(String title)
Method Detail

addPropertyWindow

void addPropertyWindow(Component component,
                       Frame window)

getPropertyWindow

TemplateEditorDialog getPropertyWindow(Component component)

getPropertyPanels

Enumeration getPropertyPanels()

savePropertyPanels

void savePropertyPanels()
                  throws WTException
Throws:
WTException

hasPropertiesShowing

boolean hasPropertiesShowing()

getPreferredSize

public Dimension getPreferredSize()

initializeActions

private void initializeActions()

initializeNavigation

private void initializeNavigation()

initializeGraph

private void initializeGraph()

setStraitLines

public void setStraitLines(boolean strait)

exitPrompting

void exitPrompting()

getFocusedComponent

public static ProcessNavigatorFrame getFocusedComponent()
Returns the component which currently has focus.


setProcessEditor

public void setProcessEditor(WfProcessTemplateEditor editor)

getProcessEditor

public WfProcessTemplateEditor getProcessEditor()

getContainerEditor

public WfContainerTemplateEditor getContainerEditor()

addContainerEditor

public void addContainerEditor(WfContainerTemplateEditor container_editor)

getCurrentProcessPanel

WfContainerTemplatePanel getCurrentProcessPanel()

getIndent

String getIndent(int index)

updateNavigateButtons

void updateNavigateButtons()

updateTitle

void updateTitle()

refresh

void refresh()
       throws WTException
Throws:
WTException

back

void back()
Move back to the parent container.


forward

void forward()
Move forward to the previously visited child container.


resetTools

void resetTools()

openProperties

void openProperties(WfContainerTemplateEditor editor)

updateLocation

public void updateLocation()

location_ItemStateChanged

void location_ItemStateChanged(ItemEvent event)

enabledCheckbox_ItemStateChanged

void enabledCheckbox_ItemStateChanged(ItemEvent event)

dispose

public void dispose()