|
|||||||||||
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.Panel
wt.clients.query.QueryPanel
Sets up the Local Search panel. Calls the WTQuery class for the actual search task.
Nested Class Summary | |
(package private) class |
QueryPanel.SymAction
Action listener for this Panel. |
(package private) class |
QueryPanel.SymItem
Capture events on the class picker. |
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 |
buttonPanel
|
(package private) Button |
checkInB
|
(package private) Button |
checkOutB
|
(package private) Choice |
classPicker
|
(package private) Button |
closeB
|
private SchemeDB |
db
|
(package private) Button |
exploreB
|
(package private) boolean |
fComponentsAdjusted
|
(package private) Button |
getPropertiesB
|
(package private) Button |
helpB
|
private HelpContext |
helpContext
|
private HelpSystem |
helpSystem
|
(package private) Label |
label1
|
private Vector |
listeners
|
private static String |
MESSAGES_RESOURCE
|
private static ResourceBundle |
messagesResource
|
private WTQuery |
myQuery
|
private WTSchema |
mySchema
|
private static String |
OPTIONS_RESOURCE
|
private static ListResourceBundle |
optionsResources
|
(package private) symantec.itools.awt.StatusBar |
panel_statusBar
|
private Applet |
parentApplet
|
private Frame |
parentFrame
|
(package private) Panel |
pickerPanel
|
(package private) Button |
prodInfoExpB
|
(package private) Panel |
queryPanel
|
private static String |
RESOURCE
|
private static ResourceBundle |
resources
|
private BusinessInformation |
selectedObject
|
(package private) Button |
undoCheckoutB
|
(package private) Button |
updateB
|
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 | |
QueryPanel()
Constructor generated by Visual Cafe. |
|
QueryPanel(Applet parent_applet)
Creates a new QueryPanel. |
Method Summary | |
void |
addNotify()
Notifies this component that it has been added to a container and if a peer is required, it should be created. |
void |
addQueryPanelListener(QueryPanelListener l)
Register interested listeners for events in the Local Search panel. |
(package private) void |
checkInB_Action(ActionEvent event)
Initiates an checkin dialog for the object selected. |
(package private) void |
checkOutB_Action(ActionEvent event)
Initiates an checkout dialog for the object selected. |
(package private) void |
classPicker_ItemStateChanged(ItemEvent event)
Process a change in the class selected in the class picker. |
(package private) void |
closeB_Action(ActionEvent event)
Close the Local Search panel. |
private boolean |
confirmAction(String message)
Display confirmation dialog. |
private void |
disableButtons()
Disable buttons when no objects are selected. |
private void |
enableButtons(BusinessInformation selectedObject)
Enable buttons depending on which class the object is. |
(package private) void |
exploreB_Action(ActionEvent event)
Initiates new Windchill Explorer for the object selected or with no object selected. |
protected String |
getCabinetBasedIdentity(CabinetBased cabinet_based)
Return an identity string for objects descending from BusinessInformation. |
private WTContext |
getContext()
Get the context for this Local Search panel. |
protected String |
getLocalizedMessage(String key,
Object[] params)
Deprecated. |
private Applet |
getParentApplet()
Return the parent applet value. |
private Frame |
getParentFrame()
Return the parent frame of this Local Search panel. |
(package private) void |
getPropertiesB_Action(ActionEvent event)
Initiates a view frame for the object selected. |
private BusinessInformation |
getSelectedObject()
Get the selected object from WTQuery. |
(package private) void |
helpB_Action(ActionEvent event)
Display online help. |
private HelpSystem |
initPartHelpSystem()
Initialize the online help system for calling the Product Information explorer. |
private void |
initResources()
Initialize for resource bundles for message system. |
private void |
localize()
Localizes the field labels and localizable text by getting correct values from a ResourceBundle . |
(package private) PropertyChangeListener |
newHelpListener()
Creates a new help listener for putting mouse over messages in the status bar. |
private void |
notifyQueryPanelListeners(int action)
Remove a registry of an interested listener. |
(package private) void |
prodInfoExpB_Action(ActionEvent event)
Initiates a Product Information Explorer for the object selected or a find dialog if no object selected. |
void |
queryEvent(WTQueryEvent e)
Responds to events from WTQuery. |
void |
removeQueryPanelListeners(QueryPanelListener l)
Remove a registry of an interested listener. |
private void |
setParentApplet(Applet parent_applet)
Sets the applet for this Local Search panel. |
private void |
setParentFrame()
Attempts to calculate the parent frame for this Local Search panel, if none is already set. |
void |
setParentFrame(Frame parent_frame)
Sets the frame for this Local Search panel. |
void |
show()
Show panel. |
private void |
showMessageDialog(String message,
boolean modal)
Display message dialog. |
(package private) void |
undoCheckoutB_Action(ActionEvent event)
Initiates an undocheckout dialog for the object selected. |
(package private) void |
updateB_Action(ActionEvent event)
Initiates an update dialog for the object selected. |
Methods inherited from class java.awt.Panel |
getAccessibleContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
boolean fComponentsAdjusted
Panel pickerPanel
Choice classPicker
Label label1
Panel queryPanel
Panel buttonPanel
Button updateB
Button getPropertiesB
Button checkOutB
Button checkInB
Button exploreB
Button closeB
Button helpB
Button prodInfoExpB
Button undoCheckoutB
symantec.itools.awt.StatusBar panel_statusBar
private Applet parentApplet
private Frame parentFrame
private static String MESSAGES_RESOURCE
private static String RESOURCE
private static String OPTIONS_RESOURCE
private static ResourceBundle messagesResource
private static ResourceBundle resources
private static ListResourceBundle optionsResources
private WTQuery myQuery
private WTSchema mySchema
private BusinessInformation selectedObject
private SchemeDB db
private Vector listeners
private HelpSystem helpSystem
private HelpContext helpContext
Constructor Detail |
public QueryPanel()
public QueryPanel(Applet parent_applet)
parent_applet
- the applet that called this panelMethod Detail |
private void localize()
ResourceBundle
.
initResources
,
ResourceBundle
PropertyChangeListener newHelpListener()
public void show()
public void addNotify()
public void queryEvent(WTQueryEvent e)
queryEvent
in interface WTQueryListener
e
- WTQueryEvent to be responded to.private void enableButtons(BusinessInformation selectedObject)
selectedObject
- Object that was selected from the screen.private void disableButtons()
private void initResources()
private void setParentApplet(Applet parent_applet)
parent_applet
- the applet which has a WTContextprivate Applet getParentApplet()
public void setParentFrame(Frame parent_frame)
parent_frame
- the frame which instantiated this panelprivate void setParentFrame()
private Frame getParentFrame()
private WTContext getContext()
void classPicker_ItemStateChanged(ItemEvent event)
event
- the event captured from the class pickerprivate BusinessInformation getSelectedObject()
void getPropertiesB_Action(ActionEvent event)
event
- the action eventvoid updateB_Action(ActionEvent event)
event
- the action eventvoid checkOutB_Action(ActionEvent event)
event
- the action eventvoid undoCheckoutB_Action(ActionEvent event)
event
- the action eventvoid exploreB_Action(ActionEvent event)
event
- the action eventvoid checkInB_Action(ActionEvent event)
event
- the action eventvoid closeB_Action(ActionEvent event)
event
- the action eventvoid helpB_Action(ActionEvent event)
event
- the action eventvoid prodInfoExpB_Action(ActionEvent event)
event
- the action eventpublic void addQueryPanelListener(QueryPanelListener l)
l
- new query panel listener created by interested applet.public void removeQueryPanelListeners(QueryPanelListener l)
l
- listener to remove.private void notifyQueryPanelListeners(int action)
action
- action to forward to listenersprivate void showMessageDialog(String message, boolean modal)
message
- text message to display in dialogmodal
- flag modal behaviorprotected String getCabinetBasedIdentity(CabinetBased cabinet_based)
cabinet_based
- object to return identity forprivate boolean confirmAction(String message)
message
- text message to put in dialogprotected String getLocalizedMessage(String key, Object[] params)
key
- key to retrieve the text from the resource bundleparams
- parameters to substitute in the messageprivate HelpSystem initPartHelpSystem()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |