wt.clients.prodmgmt
Class PartExplorerFrame

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended bywt.clients.prodmgmt.PartExplorerFrame
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
ConfigurationExplorerFrame, InstanceExplorerFrame

public class PartExplorerFrame
extends Frame

PartExplorerFrame is a frame which contains a PartExplorer. The contained PartExplorer provides most of its functionality.

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
(package private)  class PartExplorerFrame.SymAction
           
(package private)  class PartExplorerFrame.SymItem
           
(package private)  class PartExplorerFrame.SymWindow
           
 
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
(package private)  MenuItem aboutMenuItem
           
(package private)  MenuItem addMenuItem
           
(package private)  MenuItem allocateMenuItem
           
(package private)  String altPermission
           
(package private)  MenuItem annotateAssemblyMenuItem
           
static int ANNOTATION_CONTEXT
           
(package private)  Menu annotationMenu
           
(package private)  Applet applet
           
(package private)  MenuItem assignPartVersionMenuItem
           
(package private)  MenuItem associateConfigurationMenuItem
           
(package private)  Menu baselineMenu
           
(package private)  MenuItem bomCompareReportMenuItem
           
protected static String CHECKIN
           
(package private)  MenuItem checkInMenuItem
           
protected static String CHECKOUT
           
(package private)  MenuItem checkOutMenuItem
           
protected static String CLEAR
           
(package private)  MenuItem clearAllMenuItem
           
(package private)  MenuItem clearMenuItem
           
(package private)  MenuItem closeMenuItem
           
(package private)  MenuItem configSpecMenuItem
           
static int CONFIGURATION_CONTEXT
           
(package private)  MenuItem configurationExplorerMenuItem
           
(package private)  Menu configurationMenu
           
protected  int contextType
           
(package private)  MenuItem deallocateMenuItem
           
(package private)  MenuItem defineAlternatesMenuItem
           
(package private)  MenuItem defineSubstitutesMenuItem
           
(package private)  MenuItem deleteAnnotationSetMenuItem
           
(package private)  MenuItem deleteMenuItem
           
(package private)  MenuItem duplicateMenuItem
           
(package private)  MenuItem exitMenuItem
           
(package private)  boolean fComponentsAdjusted
           
(package private)  Menu fileMenu
           
protected static String HELP
           
private static String HELP_RESOURCE
           
(package private)  HelpContext helpContext
           
(package private)  Menu helpMenu
           
(package private)  HelpSystem helpSystem
           
(package private)  MenuItem helpTopicsMenuItem
           
(package private)  MenuItem hierarchyBomMenuItem
           
(package private)  Menu historySubMenu
           
static int INSTANCE_CONTEXT
           
protected static boolean IS_ESI_INSTALLED
           
(package private)  MenuItem lifeCycleHistoryMenuItem
           
(package private)  Menu lifecycleMenu
           
protected  boolean lifecycleSupportEnabled
           
(package private)  PartExplorerFrame.SymItem lSymItem
           
(package private)  MenuItem makeFromViewMenuItem
           
(package private)  MenuBar menuBar
           
(package private)  PartExplorer myExplorer
           
protected static String NEW_PART
           
(package private)  MenuItem newConfigurationMenuItem
           
(package private)  Menu newMenu
           
(package private)  MenuItem newProductInstanceMenuItem
           
(package private)  MenuItem oneOffMenuItem
           
protected static String OPEN
           
(package private)  MenuItem openAnnotationSetMenuItem
           
(package private)  MenuItem openMenuItem
           
static int PART_CONTEXT
           
(package private)  Menu partMenu
           
(package private)  MenuItem partMenuItem
           
(package private)  MenuItem partsListBomMenuItem
           
protected static String PIE
           
(package private)  MenuItem populateFromPartStructureMenuItem
           
(package private)  MenuItem populateMenuItem
           
static int PRODUCT_CONTEXT
           
(package private)  MenuItem productExplorerMenuItem
           
(package private)  MenuItem productInstanceExplorerMenuItem
           
(package private)  MenuItem productMenuItem
           
(package private)  MenuItem productViewMenuItem
           
(package private)  MenuItem publishMenuItem
           
protected  boolean publishSupportEnabled
           
(package private)  MenuItem reassignLifeCycleMenuItem
           
(package private)  MenuItem reassignProjectMenuItem
           
protected static String REFRESH
           
(package private)  MenuItem refreshMenuItem
           
(package private)  MenuItem removeMenuItem
           
(package private)  MenuItem renameMenuItem
           
(package private)  Menu replacementsMenu
           
(package private)  Menu reportsSubMenu
           
private static ResourceBundle resource
           
private static String RESOURCE
           
protected static String REVISE
           
(package private)  MenuItem reviseMenuItem
           
(package private)  MenuItem rtpMenuItem
           
protected  boolean rtpSupportEnabled
           
protected static String SEARCH
           
(package private)  MenuItem searchEnterpriseMenuItem
           
(package private)  MenuItem searchLocalMenuItem
           
(package private)  MenuItem serialNumberedPartMenuItem
           
protected static String SET_CONFIG_SPEC
           
(package private)  MenuItem setStateMenuItem
           
(package private)  MenuItem setViewPreferenceMenuItem
           
(package private)  MenuItem showESITargetsMenuItem
           
(package private)  MenuItem showIterationHistoryMenuItem
           
(package private)  CheckboxMenuItem showOccurrencesMenuItem
           
(package private)  MenuItem showRoleParticipantsMenuItem
           
(package private)  MenuItem showVersionHistoryMenuItem
           
(package private)  MenuItem submitMenuItem
           
(package private)  String subPermission
           
(package private)  ThreadGroup threadGroup
           
(package private)  Menu toolsMenu
           
protected static String UNDO_CHECKOUT
           
(package private)  MenuItem undoCheckOutMenuItem
           
protected static String UPDATE
           
(package private)  MenuItem updateMenuItem
           
(package private)  MenuItem updateRoleParticipantsMenuItem
           
protected static String VIEW_PROPERTIES
           
(package private)  Menu viewMenu
           
(package private)  MenuItem viewMenuItem
           
(package private)  MenuItem whereUsedReportMenuItem
           
protected static String WINDCHILL_EXP
           
(package private)  MenuItem windchillExplorerMenuItem
           
 
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
PartExplorerFrame()
          Creates a new PartExplorerFrame.
PartExplorerFrame(String title)
          Creates a PartExplorerFrame with the specified title
 
Method Summary
 void addNotify()
           
protected  void addOptionalSupport()
          Queries the installed.properties properties file for any optionally installed products and updates menu options according to what is optionally installed.
protected  void addPublishSupport()
          Adds support for invoking the 'Publish' option from the PIE menu.
protected  void addRTPSupport()
          Adds support for invoking the 'Set ERP Organization' option from the PIE menu.
private  boolean alternatesEnableable()
           
 PartExplorer createExplorer()
           
 void dispose()
          Override the dispose method to work around a bug in the JDK.
protected  void enableBaselineActions(Object obj)
          Enables or disables the menu items in the baseline submenu depending on the given object.
protected  void enableConfigurationMenuItems(Object selected_obj)
          Enables or disables the menu items in the configuration menu depending on the given selected object.
private  void enableLifeCycleSetStateAction(LifeCycleManaged lcm_object)
           
private  void enableLifeCycleUpdateActions(boolean enable)
          Enables or disables the Life Cycle update menu items depending on the given boolean value.
private  void enableLifeCycleViewActions(boolean enable)
          Enables or disables the Life Cycle menu items depending on the given boolean value.
protected  void enableMenuItems(Object obj)
           
protected  void enableMenus(Object sel_obj)
          Method invoked to update the enabled/disabled state of the menus and toolbars to reflect a change in selection.
protected  void enableReportActions(Object obj)
          Enables or disables the report submenu items depending on the given object.
private  void enableWorkableActions(Object obj)
          Enables or disables the Check-in, Check-out and Undo Checkout menu items depending on the given object.
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
 Applet getApplet()
           
 WTContext getContext()
          Get the current WTContext
protected  int getContextType()
           
 ConfigSpec getCurrentConfigSpec()
          Public method for retrieving the configuration specification used in the current PIE window.
 HelpContext getHelpContext()
          Get the current helpContext.
protected  ResourceBundle getLabelsRB()
           
protected  MenuShortcut getMenuShortcut(ResourceBundle rb, String menuName)
           
protected  String getMenuString(ResourceBundle rb, String menuName)
           
protected  ThreadGroup getThreadGroup()
           
protected  void initializeHelp()
           
protected  void initializeMenuEnabling()
           
protected  void initializeToolbarEnabling()
           
protected  void initResources()
          Initialize string resources for this component.
protected  boolean isLifecycleAdministrator()
          Returns a boolean value indicating whether or not the current user is a member of the LifeCycleAdministrators group
 boolean isOccurrenceMode()
           
 void launchFind()
          Display a Find Part dialog
protected  void localize()
           
static void main(String[] args)
          sample main to show usage and allow testing of the frame.
(package private)  void publishMenuItem_ActionPerformed(ActionEvent event)
           
 void releaseContext()
           
 void setApplet(Applet applet)
           
 void setConfigurationSpec(ConfigSpec config_spec)
          Public method for explicitly setting the configuration specification to be used in getting versions of parts.
 void setContext()
           
protected  void setContextType(int context_type)
           
 void setHelpContext(HelpContext helpcontext)
          Set the HelpContext for this component
 void setHelpSystem(HelpSystem helpsystem)
          Deprecated.  
 void setPart(WTPart part)
          Set the part to explorer
 void setPart(WTPart part, boolean init_config_spec)
          Public method to set the part to be displayed as a root node in the tree view of the explorer.
 void setPart(WTPart part, boolean initialize_config_spec, boolean apply_config_spec)
          Method to set the part to be displayed as the root node in the tree view of the explorer.
 void setPartMaster(WTPartMaster part_master)
           
 void show()
           
protected  void showMessageDialog(String message, boolean modal)
          Display a Message Dialog
private  boolean substitutesEnableable()
           
 void updateMenus()
           
 
Methods inherited from class java.awt.Frame
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, 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, getPreferredSize, 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

IS_ESI_INSTALLED

protected static boolean IS_ESI_INSTALLED

fComponentsAdjusted

boolean fComponentsAdjusted

applet

Applet applet

helpContext

HelpContext helpContext

helpSystem

HelpSystem helpSystem

myExplorer

PartExplorer myExplorer

threadGroup

ThreadGroup threadGroup

altPermission

String altPermission

subPermission

String subPermission

lSymItem

PartExplorerFrame.SymItem lSymItem

menuBar

MenuBar menuBar

fileMenu

Menu fileMenu

newMenu

Menu newMenu

partMenuItem

MenuItem partMenuItem

productMenuItem

MenuItem productMenuItem

serialNumberedPartMenuItem

MenuItem serialNumberedPartMenuItem

renameMenuItem

MenuItem renameMenuItem

duplicateMenuItem

MenuItem duplicateMenuItem

deleteMenuItem

MenuItem deleteMenuItem

viewMenu

Menu viewMenu

configSpecMenuItem

MenuItem configSpecMenuItem

showOccurrencesMenuItem

CheckboxMenuItem showOccurrencesMenuItem

setViewPreferenceMenuItem

MenuItem setViewPreferenceMenuItem

refreshMenuItem

MenuItem refreshMenuItem

clearMenuItem

MenuItem clearMenuItem

clearAllMenuItem

MenuItem clearAllMenuItem

exitMenuItem

MenuItem exitMenuItem

partMenu

Menu partMenu

checkOutMenuItem

MenuItem checkOutMenuItem

checkInMenuItem

MenuItem checkInMenuItem

undoCheckOutMenuItem

MenuItem undoCheckOutMenuItem

updateMenuItem

MenuItem updateMenuItem

viewMenuItem

MenuItem viewMenuItem

showESITargetsMenuItem

MenuItem showESITargetsMenuItem

replacementsMenu

Menu replacementsMenu

defineAlternatesMenuItem

MenuItem defineAlternatesMenuItem

defineSubstitutesMenuItem

MenuItem defineSubstitutesMenuItem

reviseMenuItem

MenuItem reviseMenuItem

makeFromViewMenuItem

MenuItem makeFromViewMenuItem

oneOffMenuItem

MenuItem oneOffMenuItem

showIterationHistoryMenuItem

MenuItem showIterationHistoryMenuItem

showVersionHistoryMenuItem

MenuItem showVersionHistoryMenuItem

lifeCycleHistoryMenuItem

MenuItem lifeCycleHistoryMenuItem

baselineMenu

Menu baselineMenu

addMenuItem

MenuItem addMenuItem

removeMenuItem

MenuItem removeMenuItem

populateMenuItem

MenuItem populateMenuItem

reportsSubMenu

Menu reportsSubMenu

hierarchyBomMenuItem

MenuItem hierarchyBomMenuItem

partsListBomMenuItem

MenuItem partsListBomMenuItem

bomCompareReportMenuItem

MenuItem bomCompareReportMenuItem

whereUsedReportMenuItem

MenuItem whereUsedReportMenuItem

publishMenuItem

MenuItem publishMenuItem

productViewMenuItem

MenuItem productViewMenuItem

annotationMenu

Menu annotationMenu

annotateAssemblyMenuItem

MenuItem annotateAssemblyMenuItem

openAnnotationSetMenuItem

MenuItem openAnnotationSetMenuItem

deleteAnnotationSetMenuItem

MenuItem deleteAnnotationSetMenuItem

configurationMenu

Menu configurationMenu

newConfigurationMenuItem

MenuItem newConfigurationMenuItem

newProductInstanceMenuItem

MenuItem newProductInstanceMenuItem

assignPartVersionMenuItem

MenuItem assignPartVersionMenuItem

populateFromPartStructureMenuItem

MenuItem populateFromPartStructureMenuItem

associateConfigurationMenuItem

MenuItem associateConfigurationMenuItem

allocateMenuItem

MenuItem allocateMenuItem

deallocateMenuItem

MenuItem deallocateMenuItem

toolsMenu

Menu toolsMenu

historySubMenu

Menu historySubMenu

searchLocalMenuItem

MenuItem searchLocalMenuItem

searchEnterpriseMenuItem

MenuItem searchEnterpriseMenuItem

windchillExplorerMenuItem

MenuItem windchillExplorerMenuItem

productExplorerMenuItem

MenuItem productExplorerMenuItem

productInstanceExplorerMenuItem

MenuItem productInstanceExplorerMenuItem

configurationExplorerMenuItem

MenuItem configurationExplorerMenuItem

helpMenu

Menu helpMenu

helpTopicsMenuItem

MenuItem helpTopicsMenuItem

aboutMenuItem

MenuItem aboutMenuItem

rtpMenuItem

MenuItem rtpMenuItem

openMenuItem

MenuItem openMenuItem

closeMenuItem

MenuItem closeMenuItem

lifecycleMenu

Menu lifecycleMenu

submitMenuItem

MenuItem submitMenuItem

reassignLifeCycleMenuItem

MenuItem reassignLifeCycleMenuItem

reassignProjectMenuItem

MenuItem reassignProjectMenuItem

setStateMenuItem

MenuItem setStateMenuItem

updateRoleParticipantsMenuItem

MenuItem updateRoleParticipantsMenuItem

showRoleParticipantsMenuItem

MenuItem showRoleParticipantsMenuItem

resource

private static ResourceBundle resource

RESOURCE

private static String RESOURCE

HELP_RESOURCE

private static String HELP_RESOURCE

PART_CONTEXT

public static int PART_CONTEXT

PRODUCT_CONTEXT

public static int PRODUCT_CONTEXT

CONFIGURATION_CONTEXT

public static int CONFIGURATION_CONTEXT

INSTANCE_CONTEXT

public static int INSTANCE_CONTEXT

ANNOTATION_CONTEXT

public static int ANNOTATION_CONTEXT

NEW_PART

protected static String NEW_PART

OPEN

protected static String OPEN

SET_CONFIG_SPEC

protected static String SET_CONFIG_SPEC

CLEAR

protected static String CLEAR

REFRESH

protected static String REFRESH

CHECKOUT

protected static String CHECKOUT

CHECKIN

protected static String CHECKIN

UNDO_CHECKOUT

protected static String UNDO_CHECKOUT

UPDATE

protected static String UPDATE

VIEW_PROPERTIES

protected static String VIEW_PROPERTIES

REVISE

protected static String REVISE

SEARCH

protected static String SEARCH

WINDCHILL_EXP

protected static String WINDCHILL_EXP

PIE

protected static String PIE

HELP

protected static String HELP

contextType

protected int contextType

publishSupportEnabled

protected boolean publishSupportEnabled

rtpSupportEnabled

protected boolean rtpSupportEnabled

lifecycleSupportEnabled

protected boolean lifecycleSupportEnabled
Constructor Detail

PartExplorerFrame

public PartExplorerFrame()
Creates a new PartExplorerFrame.


PartExplorerFrame

public PartExplorerFrame(String title)
Creates a PartExplorerFrame with the specified title

Parameters:
title - the title for the frame
Method Detail

createExplorer

public PartExplorer createExplorer()

show

public void show()

addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

setApplet

public void setApplet(Applet applet)

getApplet

public Applet getApplet()

addOptionalSupport

protected void addOptionalSupport()
Queries the installed.properties properties file for any optionally installed products and updates menu options according to what is optionally installed.


addPublishSupport

protected void addPublishSupport()
Adds support for invoking the 'Publish' option from the PIE menu. This option should only be visible and available if CSM has been installed.

See Also:
addOptionalSupport()

addRTPSupport

protected void addRTPSupport()
Adds support for invoking the 'Set ERP Organization' option from the PIE menu. This option should only be visible and available if release-to-production has been installed.

See Also:
addOptionalSupport()

initializeHelp

protected void initializeHelp()

setHelpSystem

public void setHelpSystem(HelpSystem helpsystem)
Deprecated.  

Set the HelpSystem for this component.

Parameters:
helpsystem - the HelpSystem for this component

setHelpContext

public void setHelpContext(HelpContext helpcontext)
Set the HelpContext for this component

Parameters:
helpcontext -

getHelpContext

public HelpContext getHelpContext()
Get the current helpContext.

Returns:
the help context

getMenuString

protected String getMenuString(ResourceBundle rb,
                               String menuName)

getMenuShortcut

protected MenuShortcut getMenuShortcut(ResourceBundle rb,
                                       String menuName)

localize

protected void localize()

getLabelsRB

protected ResourceBundle getLabelsRB()

initResources

protected void initResources()
Initialize string resources for this component.


getThreadGroup

protected ThreadGroup getThreadGroup()

setContext

public void setContext()

releaseContext

public void releaseContext()

getContext

public WTContext getContext()
Get the current WTContext

Returns:
the WTContext

launchFind

public void launchFind()
Display a Find Part dialog


setPart

public void setPart(WTPart part)
Set the part to explorer

Parameters:
part - the WTPart to explorer

setPart

public void setPart(WTPart part,
                    boolean init_config_spec)
Public method to set the part to be displayed as a root node in the tree view of the explorer. The given boolean controls whether or not the config spec should be initialized with the given part. The config spec of the PIE window will be applied to the part

Parameters:
part - the part to be opened in the PIE window
init_config_spec - if true, the config spec used in the PIE window will be taken from the given part

setPart

public void setPart(WTPart part,
                    boolean initialize_config_spec,
                    boolean apply_config_spec)
Method to set the part to be displayed as the root node in the tree view of the explorer. The given boolean values control whether or not the config spec is intialized using the given part and whether or not that config spec should also be applied to the part. It is possible that if the config spec is applied to the part, it may result in a different version than the one given here.

Parameters:
part - the part to display as the root node of the PIE
initialize_config_spec - if true, the config spec is initialized using the given part
apply_config_spec - if true, the config spec is applied to the given part.

setPartMaster

public void setPartMaster(WTPartMaster part_master)

showMessageDialog

protected void showMessageDialog(String message,
                                 boolean modal)
Display a Message Dialog

Parameters:
message - the message to display
modal - the modality of the dialog used to display the message

updateMenus

public void updateMenus()

main

public static void main(String[] args)
sample main to show usage and allow testing of the frame.


enableMenus

protected void enableMenus(Object sel_obj)
Method invoked to update the enabled/disabled state of the menus and toolbars to reflect a change in selection. This method will update which menus and toolbars should be enabled based on the given object.

Parameters:
sel_obj - The object which has been the target of a selection and is used in determining which menus and toolbars should be enabled and disabled. If the selection made resulted from an UNSELECT event, the given object may be null

enableWorkableActions

private void enableWorkableActions(Object obj)
Enables or disables the Check-in, Check-out and Undo Checkout menu items depending on the given object. For each Workable menu item, the given object is tested to determine whether or not the menu items should be enabled.

Parameters:
obj - the object for which the workable menu actions will either be enabled or disabled.
See Also:
Workable

enableBaselineActions

protected void enableBaselineActions(Object obj)
Enables or disables the menu items in the baseline submenu depending on the given object.

Parameters:
obj - the object for which baseline menu actions are either enabled or disabled.

enableConfigurationMenuItems

protected void enableConfigurationMenuItems(Object selected_obj)
Enables or disables the menu items in the configuration menu depending on the given selected object.

Parameters:
selected_obj - the currently selected object

enableLifeCycleViewActions

private void enableLifeCycleViewActions(boolean enable)
Enables or disables the Life Cycle menu items depending on the given boolean value. If the given boolean is true, the menu actions associated with Life Cycle tasks will be enabled.

Parameters:
enable - the boolean indicating whether or not to enable the Life Cycle menu actions

enableLifeCycleUpdateActions

private void enableLifeCycleUpdateActions(boolean enable)
Enables or disables the Life Cycle update menu items depending on the given boolean value. If the given boolean is true, the menu actions associated with updating Life Cycle information will be enabled.

Parameters:
enable - the boolean indicating whether or not to enable the Life Cycle update menu actions

enableLifeCycleSetStateAction

private void enableLifeCycleSetStateAction(LifeCycleManaged lcm_object)

enableReportActions

protected void enableReportActions(Object obj)
Enables or disables the report submenu items depending on the given object.

Parameters:
obj - the object for which the report submenu items are either enabled or disabled

enableMenuItems

protected void enableMenuItems(Object obj)

alternatesEnableable

private boolean alternatesEnableable()

substitutesEnableable

private boolean substitutesEnableable()

publishMenuItem_ActionPerformed

void publishMenuItem_ActionPerformed(ActionEvent event)

getContextType

protected int getContextType()

setContextType

protected void setContextType(int context_type)

initializeMenuEnabling

protected void initializeMenuEnabling()

isOccurrenceMode

public boolean isOccurrenceMode()

initializeToolbarEnabling

protected void initializeToolbarEnabling()

getCurrentConfigSpec

public ConfigSpec getCurrentConfigSpec()
Public method for retrieving the configuration specification used in the current PIE window.


setConfigurationSpec

public void setConfigurationSpec(ConfigSpec config_spec)
Public method for explicitly setting the configuration specification to be used in getting versions of parts.

Parameters:
config_spec - the ConfigSpec to use for getting part versions

dispose

public void dispose()
Override the dispose method to work around a bug in the JDK. See the javadoc for ContainerUtility for more information.

See Also:
ContainerUtility

isLifecycleAdministrator

protected boolean isLifecycleAdministrator()
Returns a boolean value indicating whether or not the current user is a member of the LifeCycleAdministrators group

Returns:
true if the current user is a member of the lifecycle administrators group