wt.clients.prodmgmt
Class ConfigurationExplorer

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended bywt.clients.prodmgmt.PartExplorer
              extended bywt.clients.prodmgmt.ConfigurationExplorer
All Implemented Interfaces:
EventListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, WTExplorerListener
Direct Known Subclasses:
InstanceExplorer

public class ConfigurationExplorer
extends PartExplorer

ConfigurationExplorer is a Explorer type Browser for displaying part structures. It uses a contained WTExplorer for most of its functionality.

Supported API: false

Extendable: false

See Also:
WTExplorer, WTPart, Serialized Form

Nested Class Summary
 
Nested classes inherited from class wt.clients.prodmgmt.PartExplorer
PartExplorer.ExplorerRefreshListener, PartExplorer.RefreshThread, PartExplorer.WorkThread
 
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 COLUMN_ALIGNMENTS
           
private static String COLUMN_METHODS
           
private static String COLUMN_SIZES
           
(package private)  ConfigurationItem configuration_item
           
private static String TOOLBAR_ICONS
           
 
Fields inherited from class wt.clients.prodmgmt.PartExplorer
ABOUT, ADD_BASELINE, ADDPART, ADDPARTAFTERCONFIGSPEC, ADDPARTMASTER, ALLOCATE, ANNOTATE_ASSEMBLY, ASSIGNPARTVERSION, ASSOCIATECONFIGURATION, CEXPLR, CHECKIN, CHECKOUT, CLEAR, CLEAR_ALL, configurationSpec, contextType, createPieWindowList, createPieWindowLock, cursorLock, DEALLOCATE, DEBUG, DEFINE_ALTERNATES, DEFINE_SUBSTITUTES, DELETE, DELETE_ANNOTATION_SET, DELETEPART, DISPLAY_BOM_COMPARE_REPORT, DISPLAY_WHERE_USED_REPORT, ENTERPRISESEARCH, HELP, HELP_RESOURCE, HIERARCHY_BOM, itemListener, LIFECYCLE_HISTORY, LOCALSEARCH, maxScreenX, maxScreenY, myExplorer, NEW, NEWCONFIGURATION, NEWPRODUCT, NEWPRODUCTINSTANCE, NEWSERIALNUMBEREDPART, NEWVIEWVERSION, occurrenceMode, OCCURRENCES_MODE, ONEOFFVERSION, OPEN, OPEN_ANNOTATION_SET, PARTS_LIST_BOM, PEXPLR, pieWindowList, PIEXPLR, POPULATE_BASELINE, POPULATEFROMPARTSTRUCTURE, PRODUCT_VIEW, REASSIGN_LIFECYCLE, REASSIGN_TEAMTEMPLATE, REFRESH, refreshListener, REFRESHPART, REVISE, SEARCH, SET_PART_ITEM, SET_STATE, SET_VIEW_PREFERENCE, SHOW_ORGID, SHOW_ROLE_PARTICIPANTS, SUBMIT, SYSCFIG, threadGroup, UNDOCHECKOUT, UPDATE, UPDATE_ROLE_PARTICIPANTS, usingDefaultConfigSpec, VIEW, VIEWESITARGETS, waitingOnCursor, WEXPLR, windowListLock
 
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
ConfigurationExplorer()
           
 
Method Summary
protected  void addConfiguration(WTProductConfiguration configuration)
           
protected  void addPart(WTPart part, boolean use_config_spec)
           
protected  void addRefreshListener()
          Add a refresh listener.
protected  void assignPartVersion()
          Displays the assign part version dialog for the currently selected object.
protected  void clear()
           
protected  void clearAll()
           
protected  void deleteSelectedObject()
           
protected  Class getConfigurationClass()
          Get the class of the WTProductConfiguration class.
protected  String getConfigurationClassName()
          Get the class name of the WTProductConfiguration class.
 ConfigSpec getConfigurationSpec()
          Returns the configuration specification being used by this window to control which versions of parts are selected when the part structure is expanded.
protected  Class getProductInstanceClass()
          Get the class of the Product class.
protected  String getProductInstanceClassName()
           
protected  void handleDeleteEvent(Object target)
          Handle a delete event received as a RefreshEvent.
protected  void localize()
          Initialize the explorer: Retrieve the headings to display in the list, the column alignments, the column sizes and the toolbar buttons from a resource bundle.
protected  void newProductInstance()
          Displays the new Product Instance
protected  void populateFromStructure()
          Displays the assign part version dialog for the currently selected object.
 void processNewProductInstanceCommand()
          Process the new product instance command
protected  void productViewSelectedObject()
          Bring up ProductView
protected  void refreshPart(WTPart modifiedPart)
           
protected  void replaceConfiguration(ConfigurationItem configuration)
           
protected  void replaceMasterWithVersion(ConfigurationItem configuration, WTPartMaster master, ConfiguredUsageItem version_item)
           
protected  void replaceOccurrence(ConfigurationItem configuration, WTPart version, ConfiguredUsageItem new_item)
           
protected  void replaceVersionWithVersion(ConfigurationItem configuration, WTPart version, ConfiguredUsageItem new_item)
           
protected  void search()
           
 void setOccurrenceMode(boolean occurrence_mode)
          Set the occurrence mode of the explorer.
 boolean topLevelNodeSelected()
          Returns true if the selected object corresponds to the root node ("Product Structure") or a child of the root node
 
Methods inherited from class wt.clients.prodmgmt.PartExplorer
about, addExplorerPart, addExplorerPart, addExplorerPartMaster, addItemListener, addPartMaster, allocate, annotateAssembly, assignViewSelectedObject, associateConfiguration, changeIdentity, checkInSelectedObject, checkOutObject, checkOutSelectedObject, configurationExploreSelectedObject, confirmAction, defineAlternates, defineSubstitutes, deleteAnnotationSet, deleteExplorerPart, deletePart, deletePart, displayBomCompareReport, displayCreatedConfiguration, displayCreatedInstance, displayCreatedObject, displayWhereUsedReport, editSelectedObject, enableToolbarButton, explorerEvent, exploreSelectedObject, findEnterpriseCommand, getApplet, getCheckOutObject, getConfigSpecItem, getContext, getContextType, getDisplayIdentity, getHelpContext, getHelpSystem, getLabelsRB, getLocalizedMessage, getLocalizedValue, getMessagesRB, getParentFrame, getPartClass, getPartClassName, getPartMasterClass, getPartMasterClassName, getProductClass, getProductClassName, getProgressLocation, getPropertiesRB, getSelectedObject, getSelectedObjects, getSerialNumberedPartClass, getSerialNumberedPartClassName, getThreadGroup, getValue, getValueSet, getValueSet, handleCreateEvent, handleDeselectEvent, handleDoubleClickEvent, handleSelectEvent, help, initHelpSystem, initialize, initializeConfigurationSpec, initializeConfigurationSpec, initializeSearchURL, initResources, isDeleteAllowed, isEmpty, isOccurrenceMode, isUsingDefaultConfigSpec, isUsingView, main, maybeCloseMe, newConfiguration, newObject, newProductObject, newSerialNumberedPartObject, occurrencesMode, oneOffVersionSelectedObject, open, openAnnotationSet, openConfiguration, openInstance, processAboutCommand, processAddBaseline, processAllocateCommand, processAnnotateAssemblyCommand, processAssignPartVersionCommand, processAssignViewCommand, processAssociateConfigurationCommand, processBom, processBomCompareReportCommand, processCheckinCommand, processCheckoutCommand, processChkoutUndoCommand, processClearAllCommand, processClearCommand, processCommand, processDefineAlternatesCommand, processDefineSubstitutesCommand, processDeleteAnnotationSetCommand, processDeleteCommand, processEditCommand, processFindCommandChooser, processFindEnterpriseCommand, processHelpCommand, processItemEvent, processLaunchConfigurationExplorerCommand, processLaunchExplorerCommand, processLaunchProductExplorerCommand, processLaunchProductInstanceExplorerCommand, processNewCommand, processNewConfigSpec, processNewConfigurationCommand, processNewProductCommand, processNewSerialNumberedPartCommand, processOccurrencesModeCommand, processOneOffVersionCommand, processOpenAnnotationSetCommand, processOpenCommand, processPopulateFromStructureCommand, processProductViewCommand, processPublishCommand, processReassignLifecyleCommand, processReassignTeamTemplateCommand, processRefreshCommand, processRemoveBaseline, processRenameCommand, processReviseCommand, processRTPCommand, processSaveAsCommand, processSetConfigSpecCommand, processSetLifeCycleStateCommand, processSetViewPreferenceCommand, processShowIterationHistoryCommand, processShowLifecyleHistoryCommand, processShowRoleParticipantsCommand, processShowVersionHistoryCommand, processSubmitCommand, processUpdateRoleParticipantsCommand, processViewCommand, processViewESITargetsCommand, processWhereUsedReportCommand, productInstanceExploreSelectedObject, reassignLifeCycle, reassignTeamTemplate, refreshExplorerPart, refreshPart, refreshSelectedObject, removeItemListener, removeRefreshListener, retrieveWTPartConfigSpec, reviseSelectedObject, setApplet, setConfigSpecCommand, setConfigSpecCommand, setConfigSpecItem, setConfigurationSpec, setContext, setHelpContext, setLifeCycleState, setViewPreference, showExceptionDialog, showIterationHistory, showLifeCycleHistory, showMasterPropertyPage, showMessageDialog, showMessageDialog, showRoleParticipants, showVersionHistory, structureExploreSelectedObject, submitObject, TRACE, undoCheckoutSelectedObject, updateDetail, updateRoleParticipants, viewSelectedObject, viewSelectedObjectESITargets
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, 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, getAccessibleContext, 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

COLUMN_ALIGNMENTS

private static String COLUMN_ALIGNMENTS

COLUMN_SIZES

private static String COLUMN_SIZES

COLUMN_METHODS

private static String COLUMN_METHODS

TOOLBAR_ICONS

private static String TOOLBAR_ICONS

configuration_item

ConfigurationItem configuration_item
Constructor Detail

ConfigurationExplorer

public ConfigurationExplorer()
Method Detail

localize

protected void localize()
Description copied from class: PartExplorer
Initialize the explorer: Retrieve the headings to display in the list, the column alignments, the column sizes and the toolbar buttons from a resource bundle.

Overrides:
localize in class PartExplorer

addConfiguration

protected void addConfiguration(WTProductConfiguration configuration)

setOccurrenceMode

public void setOccurrenceMode(boolean occurrence_mode)
Set the occurrence mode of the explorer.

Overrides:
setOccurrenceMode in class PartExplorer

addPart

protected void addPart(WTPart part,
                       boolean use_config_spec)
Overrides:
addPart in class PartExplorer

refreshPart

protected void refreshPart(WTPart modifiedPart)
Overrides:
refreshPart in class PartExplorer

replaceMasterWithVersion

protected void replaceMasterWithVersion(ConfigurationItem configuration,
                                        WTPartMaster master,
                                        ConfiguredUsageItem version_item)

replaceVersionWithVersion

protected void replaceVersionWithVersion(ConfigurationItem configuration,
                                         WTPart version,
                                         ConfiguredUsageItem new_item)

replaceOccurrence

protected void replaceOccurrence(ConfigurationItem configuration,
                                 WTPart version,
                                 ConfiguredUsageItem new_item)

replaceConfiguration

protected void replaceConfiguration(ConfigurationItem configuration)

search

protected void search()
Overrides:
search in class PartExplorer

assignPartVersion

protected void assignPartVersion()
Displays the assign part version dialog for the currently selected object.

Overrides:
assignPartVersion in class PartExplorer

populateFromStructure

protected void populateFromStructure()
Displays the assign part version dialog for the currently selected object.

Overrides:
populateFromStructure in class PartExplorer

productViewSelectedObject

protected void productViewSelectedObject()
Bring up ProductView

Overrides:
productViewSelectedObject in class PartExplorer

getConfigurationClassName

protected String getConfigurationClassName()
Get the class name of the WTProductConfiguration class.

Returns:
the class name of the WTProductConfiguration class

getConfigurationClass

protected Class getConfigurationClass()
Get the class of the WTProductConfiguration class.

Returns:
the class name of the WTProductConfiguration

getProductInstanceClassName

protected String getProductInstanceClassName()

getProductInstanceClass

protected Class getProductInstanceClass()
Get the class of the Product class.

Returns:
the class name of the Product class

getConfigurationSpec

public ConfigSpec getConfigurationSpec()
Returns the configuration specification being used by this window to control which versions of parts are selected when the part structure is expanded.

Overrides:
getConfigurationSpec in class PartExplorer
Returns:
the ConfigSpec being used by this window

deleteSelectedObject

protected void deleteSelectedObject()
Overrides:
deleteSelectedObject in class PartExplorer

addRefreshListener

protected void addRefreshListener()
Description copied from class: PartExplorer
Add a refresh listener. The new RefreshListener will listen for client-side updates, deleted, and creations of WTPart Objects. Newly created parts are added to the explorer. Updated parts are updated in the explorer if they are present in the tree view. Deleted parts are deleted if they are present in the tree view.

Overrides:
addRefreshListener in class PartExplorer

handleDeleteEvent

protected void handleDeleteEvent(Object target)
Handle a delete event received as a RefreshEvent.


topLevelNodeSelected

public boolean topLevelNodeSelected()
Description copied from class: PartExplorer
Returns true if the selected object corresponds to the root node ("Product Structure") or a child of the root node

Overrides:
topLevelNodeSelected in class PartExplorer

processNewProductInstanceCommand

public void processNewProductInstanceCommand()
Process the new product instance command

Overrides:
processNewProductInstanceCommand in class PartExplorer

newProductInstance

protected void newProductInstance()
Description copied from class: PartExplorer
Displays the new Product Instance

Overrides:
newProductInstance in class PartExplorer

clear

protected void clear()
Overrides:
clear in class PartExplorer

clearAll

protected void clearAll()
Overrides:
clearAll in class PartExplorer