wt.clients.prodmgmt
Class ConfigurationTaskPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.prodmgmt.HelperPanel
                  extended bywt.clients.prodmgmt.ConfigurationTaskPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class ConfigurationTaskPanel
extends HelperPanel

See Also:
Serialized Form

Nested Class Summary
(package private)  class ConfigurationTaskPanel.MSymAction
           
 
Nested classes inherited from class wt.clients.prodmgmt.HelperPanel
HelperPanel.WorkThread
 
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)  Panel attributesPanel
           
(package private)  PartAttributesPanel beanAttributesPanel
           
(package private)  Panel buttonPanel
           
(package private)  Button cancelButton
           
static int CREATE_MODE
           
private static boolean DEBUG
          Flag used to provide debugging messages.
protected  boolean disposeWindow
           
(package private)  Label header
           
(package private)  Button helpButton
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine2
           
private static String IBA_RESOURCE
           
private static ResourceBundle ibaResource
           
(package private)  LifeCycleInfo lifeCycleInfoPanel
           
protected  int mode
           
private  MessageDialog msgbox
           
(package private)  Button okButton
           
(package private)  Checkbox populateCheckBox
           
static int UPDATE_MODE
           
protected  boolean updateMode
           
static int VIEW_MODE
           
 
Fields inherited from class wt.clients.prodmgmt.HelperPanel
resource, RESOURCE, SAVE, SET_CONFIGURATION_ITEM, SET_INSTANCE_ITEM, SET_PART_ITEM, threadGroup
 
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
ConfigurationTaskPanel()
          Create a PartTaskPanel.
 
Method Summary
 void addNotify()
          Override default behavior to initialize the help system when this method is invoked.
protected  void cancelButton_Action(ActionEvent event)
           
protected  boolean checkRequiredFields()
          Check if required fields have valid values.
protected  void enableCreateFields()
          Enable appropriate fields for creating a part.
static String getDisplayLabel(Class class_name, String attribute, WTContext context)
           
 int getUpdateMode()
          Get the update mode.
protected  void helpButton_Action(ActionEvent event)
           
protected  void initialize()
           
protected  void localize()
           
protected  void okButton_Action(ActionEvent event)
           
 void save()
          Start a new thread to save the modified part.
protected  void saveInThread()
          Perform the actions to the modified part.
 void setConfigurationItem()
          Set the ConfigurationItem to display and manipulate.
 void setConfigurationItem(ConfigurationItem item)
          Set the ConfigurationItem to display and manipulate.
protected  void setMaxLengths()
           
 void setUpdateMode(int aMode)
          Set the update mode.
protected  void trace(String message)
           
protected  void updateColors(Color color)
           
 
Methods inherited from class wt.clients.prodmgmt.HelperPanel
getApplet, getConfigurationItem, getContext, getHelpBundleName, getHelpContext, getHelpSystem, getInstanceItem, getLabelsRB, getLocalizedMessage, getLocalizedValue, getParentFrame, getPartItem, getThreadGroup, initializeHelp, initResources, setApplet, setContext, setHelpContext, setHelpSystem, setInstanceItem, setInstanceItem, setPartItem, setPartItem, setUpdateMode, showMessageDialog
 
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

UPDATE_MODE

public static final int UPDATE_MODE
See Also:
Constant Field Values

CREATE_MODE

public static final int CREATE_MODE
See Also:
Constant Field Values

VIEW_MODE

public static final int VIEW_MODE
See Also:
Constant Field Values

disposeWindow

protected boolean disposeWindow

updateMode

protected boolean updateMode

mode

protected int mode

DEBUG

private static boolean DEBUG
Flag used to provide debugging messages.


IBA_RESOURCE

private static final String IBA_RESOURCE
See Also:
Constant Field Values

ibaResource

private static ResourceBundle ibaResource

msgbox

private MessageDialog msgbox

attributesPanel

Panel attributesPanel

beanAttributesPanel

PartAttributesPanel beanAttributesPanel

lifeCycleInfoPanel

LifeCycleInfo lifeCycleInfoPanel

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

buttonPanel

Panel buttonPanel

okButton

Button okButton

cancelButton

Button cancelButton

helpButton

Button helpButton

populateCheckBox

Checkbox populateCheckBox

header

Label header

horizontalLine2

symantec.itools.awt.shape.HorizontalLine horizontalLine2
Constructor Detail

ConfigurationTaskPanel

public ConfigurationTaskPanel()
Create a PartTaskPanel.

Method Detail

getUpdateMode

public int getUpdateMode()
Get the update mode.

Returns:
this.UPDATE_MODE, this.VIEW_MODE, or this.CREATE_MODE

setUpdateMode

public void setUpdateMode(int aMode)
                   throws PropertyVetoException
Set the update mode. Setting the update changes the fields displayed and controls whether they are view only or editable.

Parameters:
aMode - the new update mode
Throws:
PropertyVetoException - if the mode is invalid.

addNotify

public void addNotify()
Override default behavior to initialize the help system when this method is invoked.


checkRequiredFields

protected boolean checkRequiredFields()
Check if required fields have valid values.

Returns:
true if the required fields have valid values.

enableCreateFields

protected void enableCreateFields()
Enable appropriate fields for creating a part.


setConfigurationItem

public void setConfigurationItem()
Set the ConfigurationItem to display and manipulate. This is a callback routine invoked by an internal thread.

Overrides:
setConfigurationItem in class HelperPanel

setConfigurationItem

public void setConfigurationItem(ConfigurationItem item)
Set the ConfigurationItem to display and manipulate. This is a callback routine invoked by an internal thread.

Overrides:
setConfigurationItem in class HelperPanel
Parameters:
item - the ConfigurationItem to contain

save

public void save()
Start a new thread to save the modified part.


saveInThread

protected void saveInThread()
Perform the actions to the modified part.

Overrides:
saveInThread in class HelperPanel

updateColors

protected void updateColors(Color color)

initialize

protected void initialize()

okButton_Action

protected void okButton_Action(ActionEvent event)

cancelButton_Action

protected void cancelButton_Action(ActionEvent event)

helpButton_Action

protected void helpButton_Action(ActionEvent event)

localize

protected void localize()
Overrides:
localize in class HelperPanel

setMaxLengths

protected void setMaxLengths()

trace

protected void trace(String message)

getDisplayLabel

public static String getDisplayLabel(Class class_name,
                                     String attribute,
                                     WTContext context)