|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
wt.clients.prodmgmt.PartExplorerFrame
PartExplorerFrame is a frame which contains a PartExplorer.
The contained PartExplorer provides most of its functionality.
Supported API: false
Extendable: false
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 |
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.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
protected static boolean IS_ESI_INSTALLED
boolean fComponentsAdjusted
Applet applet
HelpContext helpContext
HelpSystem helpSystem
PartExplorer myExplorer
ThreadGroup threadGroup
String altPermission
String subPermission
PartExplorerFrame.SymItem lSymItem
MenuBar menuBar
Menu fileMenu
Menu newMenu
MenuItem partMenuItem
MenuItem productMenuItem
MenuItem serialNumberedPartMenuItem
MenuItem renameMenuItem
MenuItem duplicateMenuItem
MenuItem deleteMenuItem
Menu viewMenu
MenuItem configSpecMenuItem
CheckboxMenuItem showOccurrencesMenuItem
MenuItem setViewPreferenceMenuItem
MenuItem refreshMenuItem
MenuItem clearMenuItem
MenuItem clearAllMenuItem
MenuItem exitMenuItem
Menu partMenu
MenuItem checkOutMenuItem
MenuItem checkInMenuItem
MenuItem undoCheckOutMenuItem
MenuItem updateMenuItem
MenuItem viewMenuItem
MenuItem showESITargetsMenuItem
Menu replacementsMenu
MenuItem defineAlternatesMenuItem
MenuItem defineSubstitutesMenuItem
MenuItem reviseMenuItem
MenuItem makeFromViewMenuItem
MenuItem oneOffMenuItem
MenuItem showIterationHistoryMenuItem
MenuItem showVersionHistoryMenuItem
MenuItem lifeCycleHistoryMenuItem
Menu baselineMenu
MenuItem addMenuItem
MenuItem removeMenuItem
MenuItem populateMenuItem
Menu reportsSubMenu
MenuItem hierarchyBomMenuItem
MenuItem partsListBomMenuItem
MenuItem bomCompareReportMenuItem
MenuItem whereUsedReportMenuItem
MenuItem publishMenuItem
MenuItem productViewMenuItem
Menu annotationMenu
MenuItem annotateAssemblyMenuItem
MenuItem openAnnotationSetMenuItem
MenuItem deleteAnnotationSetMenuItem
Menu configurationMenu
MenuItem newConfigurationMenuItem
MenuItem newProductInstanceMenuItem
MenuItem assignPartVersionMenuItem
MenuItem populateFromPartStructureMenuItem
MenuItem associateConfigurationMenuItem
MenuItem allocateMenuItem
MenuItem deallocateMenuItem
Menu toolsMenu
Menu historySubMenu
MenuItem searchLocalMenuItem
MenuItem searchEnterpriseMenuItem
MenuItem windchillExplorerMenuItem
MenuItem productExplorerMenuItem
MenuItem productInstanceExplorerMenuItem
MenuItem configurationExplorerMenuItem
Menu helpMenu
MenuItem helpTopicsMenuItem
MenuItem aboutMenuItem
MenuItem rtpMenuItem
MenuItem openMenuItem
MenuItem closeMenuItem
Menu lifecycleMenu
MenuItem submitMenuItem
MenuItem reassignLifeCycleMenuItem
MenuItem reassignProjectMenuItem
MenuItem setStateMenuItem
MenuItem updateRoleParticipantsMenuItem
MenuItem showRoleParticipantsMenuItem
private static ResourceBundle resource
private static String RESOURCE
private static String HELP_RESOURCE
public static int PART_CONTEXT
public static int PRODUCT_CONTEXT
public static int CONFIGURATION_CONTEXT
public static int INSTANCE_CONTEXT
public static int ANNOTATION_CONTEXT
protected static String NEW_PART
protected static String OPEN
protected static String SET_CONFIG_SPEC
protected static String CLEAR
protected static String REFRESH
protected static String CHECKOUT
protected static String CHECKIN
protected static String UNDO_CHECKOUT
protected static String UPDATE
protected static String VIEW_PROPERTIES
protected static String REVISE
protected static String SEARCH
protected static String WINDCHILL_EXP
protected static String PIE
protected static String HELP
protected int contextType
protected boolean publishSupportEnabled
protected boolean rtpSupportEnabled
protected boolean lifecycleSupportEnabled
Constructor Detail |
public PartExplorerFrame()
public PartExplorerFrame(String title)
title
- the title for the frameMethod Detail |
public PartExplorer createExplorer()
public void show()
public void addNotify()
void Frame1_WindowClosing(WindowEvent event)
public void setApplet(Applet applet)
public Applet getApplet()
protected void addOptionalSupport()
protected void addPublishSupport()
addOptionalSupport()
protected void addRTPSupport()
addOptionalSupport()
protected void initializeHelp()
public void setHelpSystem(HelpSystem helpsystem)
helpsystem
- the HelpSystem for this componentpublic void setHelpContext(HelpContext helpcontext)
helpcontext
- public HelpContext getHelpContext()
protected String getMenuString(ResourceBundle rb, String menuName)
protected MenuShortcut getMenuShortcut(ResourceBundle rb, String menuName)
protected void localize()
protected ResourceBundle getLabelsRB()
protected void initResources()
protected ThreadGroup getThreadGroup()
public void setContext()
public void releaseContext()
public WTContext getContext()
public void launchFind()
public void setPart(WTPart part)
part
- the WTPart to explorerpublic void setPart(WTPart part, boolean init_config_spec)
part
- the part to be opened in the PIE windowinit_config_spec
- if true, the config spec used in the PIE window
will be taken from the given partpublic void setPart(WTPart part, boolean initialize_config_spec, boolean apply_config_spec)
part
- the part to display as the root node of the PIEinitialize_config_spec
- if true, the config spec is initialized using the given
partapply_config_spec
- if true, the config spec is applied to the given part.public void setPartMaster(WTPartMaster part_master)
protected void showMessageDialog(String message, boolean modal)
message
- the message to displaymodal
- the modality of the dialog used to display the messagepublic void updateMenus()
public static void main(String[] args)
protected void enableMenus(Object sel_obj)
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 nullprivate void enableWorkableActions(Object obj)
obj
- the object for which the workable menu actions will either
be enabled or disabled.Workable
protected void enableBaselineActions(Object obj)
obj
- the object for which baseline menu actions are either
enabled or disabled.protected void enableConfigurationMenuItems(Object selected_obj)
selected_obj
- the currently selected objectprivate void enableLifeCycleViewActions(boolean enable)
boolean
value. If the given boolean
is true, the menu actions associated with Life Cycle tasks
will be enabled.
enable
- the boolean
indicating whether
or not to enable the Life Cycle menu actionsprivate void enableLifeCycleUpdateActions(boolean enable)
boolean
value. If the given boolean
is true, the menu actions associated with updating Life Cycle
information will be enabled.
enable
- the boolean
indicating whether
or not to enable the Life Cycle update menu actionsprivate void enableLifeCycleSetStateAction(LifeCycleManaged lcm_object)
protected void enableReportActions(Object obj)
obj
- the object for which the report submenu items are either
enabled or disabledprotected void enableMenuItems(Object obj)
private boolean alternatesEnableable()
private boolean substitutesEnableable()
void publishMenuItem_ActionPerformed(ActionEvent event)
protected int getContextType()
protected void setContextType(int context_type)
protected void initializeMenuEnabling()
public boolean isOccurrenceMode()
protected void initializeToolbarEnabling()
public ConfigSpec getCurrentConfigSpec()
public void setConfigurationSpec(ConfigSpec config_spec)
config_spec
- the ConfigSpec to use for getting part versionspublic void dispose()
ContainerUtility
protected boolean isLifecycleAdministrator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |