|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
wt.clients.beans.ClassExplorer
ClassExplorer is a Explorer type Browser for displaying the Windchill class hierarchy.
It uses a contained WTExplorer for most of its functionality.
The ClassExplorer is used as part of a PropertyEditor for the wt.clients.beans.AttributesForm bean.
Supported API: true
Extendable: false
WTExplorer
,
AttributesForm
,
Serialized FormNested Class Summary | |
(package private) class |
ClassExplorer.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 | |
(package private) static int |
ABOUT
|
(package private) static int |
ADDPART
|
(package private) static int |
ADDPARTMASTER
|
private Applet |
applet
|
(package private) static int |
CHECKIN
|
(package private) static int |
CHECKOUT
|
(package private) static int |
CLEAR
|
(package private) static int |
DELETE
|
(package private) static int |
DELETEPART
|
(package private) static int |
ENTERPRISESEARCH
|
(package private) boolean |
expert
|
protected static String |
EXPERT
|
protected static String |
EXPLORE
|
(package private) static int |
HELP
|
protected static String |
HELP_RESOURCE
|
private HelpContext |
helpContext
|
private HelpSystem |
helpSystem
|
(package private) boolean |
hidden
|
(package private) ItemListener |
itemListener
|
(package private) static int |
LOCALSEARCH
|
protected WTExplorer |
myExplorer
|
(package private) static int |
NEW
|
(package private) static int |
NEWVIEWVERSION
|
(package private) static int |
PEXPLR
|
(package private) static int |
REFRESH
|
(package private) static int |
REFRESHPART
|
private static ResourceBundle |
resource
|
private static String |
RESOURCE
|
(package private) static int |
REVISE
|
(package private) static int |
SEARCH
|
private URL |
searchURL
|
protected ClassInfo |
selectedClassInfo
|
(package private) static int |
SET_PART_ITEM
|
private boolean |
showExpert
|
private boolean |
showHidden
|
(package private) static int |
SYSCFIG
|
protected ThreadGroup |
threadGroup
|
(package private) static int |
UNDOCHECKOUT
|
(package private) static int |
UPDATE
|
(package private) static int |
VIEW
|
(package private) static int |
WEXPLR
|
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 | |
ClassExplorer()
Construct a default ClassExplorer object. |
Method Summary | |
WTNode |
addClass(String name)
|
void |
addItemListener(ItemListener l)
|
protected void |
addRefreshListener()
Add a refresh listener. |
void |
explorerEvent(WTExplorerEvent e)
Handle events from the WTExplorer. |
protected void |
exploreSelectedObject()
|
Applet |
getApplet()
Get the parent applet for this component. |
WTContext |
getContext()
Get the current WTContext |
HelpContext |
getHelpContext()
Get the help context for this component. |
HelpSystem |
getHelpSystem()
|
protected ResourceBundle |
getLabelsRB()
|
protected String |
getLocalizedMessage(String key,
Object[] params)
Get the Localized message from the resource bundle. |
protected String |
getLocalizedValue(String key)
|
protected ResourceBundle |
getMessagesRB()
|
protected Frame |
getParentFrame()
Get the parent frame of this Part Explorer component. |
protected ResourceBundle |
getPropertiesRB()
|
Object[] |
getSelectedListObjects()
|
protected Object |
getSelectedObject()
|
Object[] |
getSelectedObjects()
|
Object |
getSelectedTreeObject()
|
ThreadGroup |
getThreadGroup()
|
protected String |
getValue(ResourceBundle rb,
String key)
|
protected String[] |
getValueSet(ResourceBundle rb,
String key)
|
protected void |
handleDeselectEvent(WTExplorerEvent e)
|
protected void |
handleDoubleClickEvent(WTExplorerEvent e)
Handle double-click events from the WTExplorer. |
protected void |
handleExposeEvent(WTExplorerEvent e)
|
protected void |
handleSelectEvent(WTExplorerEvent e)
|
protected void |
initHelpSystem()
|
protected void |
initialize()
Initialize the product explorer. |
protected void |
initResources()
Initialize string resources for this component. |
boolean |
isShowExpert()
|
boolean |
isShowHidden()
|
static void |
main(String[] args)
|
protected void |
processCommand(WTExplorerEvent e)
|
void |
processExpertCommand()
|
void |
processHiddenCommand()
|
protected void |
processItemEvent(ItemEvent e)
|
void |
processLaunchExplorerCommand()
Process the launch Windchill Explorer command. |
protected void |
refreshSelectedObject()
|
void |
removeItemListener(ItemListener l)
|
void |
selectListObject(Object obj,
boolean flag)
|
void |
setApplet(Applet applet)
Set the parent applet for this component. |
void |
setHelpContext(HelpContext helpcontext)
Set the help context for this component. |
void |
setSelectedListObject(Object obj,
boolean flag)
|
void |
setSelectedSchema(Schema schema)
|
void |
setShowExpert(boolean flag)
|
void |
setShowHidden(boolean flag)
|
protected void |
showMessageDialog(String message,
boolean modal)
Display a Message Dialog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final String EXPERT
protected static final String EXPLORE
protected ClassInfo selectedClassInfo
protected WTExplorer myExplorer
protected ThreadGroup threadGroup
private HelpContext helpContext
private HelpSystem helpSystem
private Applet applet
private URL searchURL
private static ResourceBundle resource
private static String RESOURCE
protected static String HELP_RESOURCE
transient ItemListener itemListener
private boolean showHidden
private boolean showExpert
boolean hidden
boolean expert
static final int SET_PART_ITEM
static final int SEARCH
static final int NEW
static final int UPDATE
static final int VIEW
static final int DELETE
static final int CHECKOUT
static final int CHECKIN
static final int UNDOCHECKOUT
static final int REVISE
static final int SYSCFIG
static final int REFRESH
static final int CLEAR
static final int LOCALSEARCH
static final int ENTERPRISESEARCH
static final int WEXPLR
static final int NEWVIEWVERSION
static final int ABOUT
static final int HELP
static final int PEXPLR
static final int ADDPART
static final int ADDPARTMASTER
static final int DELETEPART
static final int REFRESHPART
Constructor Detail |
public ClassExplorer()
Method Detail |
protected void initialize()
public Object getSelectedTreeObject()
public void setSelectedSchema(Schema schema)
public void setSelectedListObject(Object obj, boolean flag)
public void selectListObject(Object obj, boolean flag)
public Object[] getSelectedListObjects()
public Object[] getSelectedObjects()
getSelectedObjects
in interface ItemSelectable
public void addItemListener(ItemListener l)
addItemListener
in interface ItemSelectable
public void removeItemListener(ItemListener l)
removeItemListener
in interface ItemSelectable
protected void processItemEvent(ItemEvent e)
public void explorerEvent(WTExplorerEvent e)
explorerEvent
in interface WTExplorerListener
e
- the WTExplorerEventprotected void processCommand(WTExplorerEvent e)
protected void handleExposeEvent(WTExplorerEvent e)
protected void handleSelectEvent(WTExplorerEvent e)
protected void handleDeselectEvent(WTExplorerEvent e)
protected void handleDoubleClickEvent(WTExplorerEvent e)
e
- the WTExplorerEventpublic void processHiddenCommand()
public void processExpertCommand()
protected void refreshSelectedObject()
public void processLaunchExplorerCommand()
protected void exploreSelectedObject()
protected Object getSelectedObject()
protected Frame getParentFrame()
public void setHelpContext(HelpContext helpcontext)
public HelpContext getHelpContext()
public Applet getApplet()
public void setApplet(Applet applet)
applet
- the Applet for this component.public void setShowHidden(boolean flag)
public boolean isShowHidden()
public void setShowExpert(boolean flag)
public boolean isShowExpert()
protected void addRefreshListener()
protected String getValue(ResourceBundle rb, String key)
protected String[] getValueSet(ResourceBundle rb, String key)
protected ResourceBundle getPropertiesRB()
protected ResourceBundle getMessagesRB()
protected ResourceBundle getLabelsRB()
protected void initResources()
public WTContext getContext()
public ThreadGroup getThreadGroup()
protected void showMessageDialog(String message, boolean modal)
message
- the message to displaymodal
- the modality of the dialog used to display the messageprotected void initHelpSystem()
public HelpSystem getHelpSystem()
protected String getLocalizedMessage(String key, Object[] params)
key
- the key into the resource bundleparams
- array of parameters used to format the message
protected String getLocalizedValue(String key)
public WTNode addClass(String name)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |