|
|||||||||||
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
javax.swing.JFrame
wt.clients.tools.transfer.TransferFrame
Import/Export Utility Import documents in the form of XML into the Windchill database Export objects from the Windchill database into XML neutral format This utility provides the User Interface functionality, and passes off an Export Spec to transfer service.
Nested Class Summary | |
(package private) class |
TransferFrame.keyaction
|
(package private) class |
TransferFrame.SymAction
|
(package private) class |
TransferFrame.SymWindow
|
Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
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) JMenuItem |
aboutMenuItem
|
(package private) Hashtable |
actions
|
(package private) JButton |
Apply_button
|
(package private) JTextField |
batchlocation
|
(package private) JButton |
Cancel_button
|
(package private) JButton |
cancelSaveButton
|
(package private) JCheckBox |
caseBox
|
(package private) JComboBox |
cb
|
(package private) JTextField |
cmdline
|
(package private) GridBagConstraints |
constraints
|
(package private) Cursor |
cursor_default
|
(package private) Cursor |
cursor_wait
|
(package private) JMenu |
editmenu
|
(package private) Hashtable |
eshash
|
(package private) JMenuItem |
exitMenuItem
|
(package private) ExportPanel |
exportpanel
|
(package private) Font |
f2
|
(package private) boolean |
fComponentsAdjusted
|
(package private) JMenu |
filemenu
|
(package private) JMenuItem |
findMenuItem
|
(package private) JMenuItem |
findnextMenuItem
|
(package private) JTextField |
findTextField
|
(package private) JButton |
Help_button
|
(package private) JMenu |
helpmenu
|
private HelpSystem |
helpSystem
|
(package private) ImportPanel |
importpanel
|
(package private) Insets |
in1
|
(package private) Insets |
in2
|
(package private) Hashtable |
ishash
|
(package private) JDialog |
jd
|
(package private) GridBagLayout |
jdgb
|
(package private) int |
lastButtonHit
|
(package private) JRadioButtonMenuItem |
listMenuItem
|
(package private) JButton |
loadSearchButton
|
(package private) static boolean |
m_bInstalledDefaultButtonFix
|
(package private) JMenuBar |
mainMenuBar
|
(package private) boolean |
makeTables
|
(package private) int |
mode
|
(package private) JTextField |
nameText
|
(package private) JMenuItem |
newExportAdhocMenuItem
|
(package private) JMenu |
newExportMenu
|
(package private) JMenuItem |
newExportTemplateMenuItem
|
(package private) JMenuItem |
newImportMenuItem
|
(package private) JMenu |
newMenuItem
|
(package private) JButton |
noSaveButton
|
private Object |
object
|
(package private) JButton |
Ok_button
|
(package private) JButton |
okMessageButton
|
(package private) JButton |
openCancelButton
|
(package private) JFileChooser |
openFileDialog1
|
(package private) JMenuItem |
openMenuItem
|
(package private) JButton |
openOpenButton
|
(package private) JMenuItem |
optionsMenuItem
|
(package private) JMenuItem |
overviewMenuItem
|
(package private) JList |
pickList
|
(package private) DefaultListModel |
pickListModel
|
(package private) JScrollPane |
plpane
|
(package private) JTextField |
rlnametext
|
(package private) JMenuItem |
rootObjectMenuItem
|
(package private) JMenuItem |
runlaterMenuItem
|
(package private) JButton |
runLaterSaveButton
|
(package private) JMenuItem |
runnowMenuItem
|
(package private) JButton |
Save_button
|
(package private) JMenuItem |
saveasMenuItem
|
(package private) JMenuItem |
saveMenuItem
|
(package private) JRadioButton |
searchDownRadioButton
|
(package private) JTextField |
searchtext
|
(package private) JRadioButton |
searchUpRadioButton
|
(package private) String |
specname
|
(package private) JTextField |
spectext
|
(package private) int |
stop
|
(package private) WTThread |
t_apply
|
(package private) Thread |
tAction
|
(package private) TransferProgressWatcher |
tpw
|
(package private) GridBagLayout |
transfergb
|
(package private) JRadioButtonMenuItem |
treeMenuItem
|
(package private) JMenuItem |
tutorialMenuItem
|
(package private) int |
view_mode
|
(package private) JMenu |
viewmenu
|
(package private) JButton |
yesSaveButton
|
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
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 javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TransferFrame(int type)
Constructor |
|
TransferFrame(int type,
boolean doMake)
Constructor |
|
TransferFrame(ObjectReference a_OR)
Constructor |
|
TransferFrame(Persistable a_p)
Constructor |
Method Summary | |
(package private) void |
aboutMenuItem_ActionPerformed(ActionEvent event)
Action performed by the about menu |
void |
addNotify()
|
void |
Addto(DefaultListModel dlf,
String name)
Adds a name to a list alphabetically using binary search |
(package private) void |
Apply_button_ActionPerformed()
Action performed by the apply button |
(package private) void |
buildConstraints(GridBagConstraints gbc,
int x,
int y,
int w,
int h,
double wx,
double wy,
int anchor,
int fill)
Utility method to aid in the creation of gridbag layout |
(package private) void |
Cancel_button_ActionPerformed()
Action performed by the cancel button |
(package private) void |
cancelSaveButton_ActionPerformed()
Action performed by the OK button on dialogs |
(package private) void |
configureRootMenu()
Enable the root Object menu depending on the Transfer Mode |
private void |
createActionTable(JTextComponent textComponent)
The following two methods allow us to find an action provided by the editor kit by its name. |
void |
displayHelp(String key)
display the new help window |
(package private) void |
enable_buttons()
Enable buttons when a valid spec is being edited |
(package private) void |
exitMenuItem_ActionPerformed()
Action performed by the exit menu |
(package private) void |
findMenuItem_ActionPerformed()
Action performed by the find menu |
(package private) void |
findnextMenuItem_ActionPerformed()
Action performed by the find next menu |
private Action |
getActionByName(String name)
|
static String |
getExtension(File f)
Get the file extension of a file |
static String |
getExtension(String s,
String li)
Get the file extension of a file |
(package private) void |
getnewspec()
Brings up the dialog to open/search for specs |
(package private) void |
Help_button_ActionPerformed()
Action performed by the help button |
private static void |
installDefaultButtonFix()
|
(package private) void |
listMenuItem_ActionPerformed()
Action performed by the ListView menu |
void |
loadSearchButton_ActionPerformed()
Action performed by the search button on the load dialog |
static void |
main(String[] args)
|
(package private) void |
newExportAdhocMenuItem_ActionPerformed()
Action performed by the new->Export->Ad hoc menu |
(package private) void |
newExportTemplateMenuItem_ActionPerformed()
Action performed by the new->Export->Graph Template menu |
(package private) void |
newImportMenuItem_ActionPerformed()
Action performed by the new->Import Spec menu |
(package private) void |
noSaveButton_ActionPerformed()
Action performed by the NO button on dialogs |
(package private) void |
Ok_button_ActionPerformed()
Action performed by the OK button,on the Main window |
(package private) void |
okMessageButton_ActionPerformed()
Action performed by the OK button on dialogs |
(package private) void |
openCancelButton_ActionPerformed()
Action performed by the cancel button on the load dialog |
(package private) void |
openMenuItem_ActionPerformed()
Action performed by the load menu |
(package private) void |
openOpenButton_ActionPerformed()
Action performed by the open button on the load dialog |
(package private) void |
optionsMenuItem_ActionPerformed()
Action performed by the Options menu |
(package private) void |
rootObjectMenuItem_ActionPerformed()
Action performed by the getRootObject button,on the Main window |
(package private) void |
runlaterMenuItem_ActionPerformed()
Action performed by the Run Later menu |
(package private) void |
runLaterSaveButton_ActionPerformed()
Action performed by the save button on the RunLater dialog |
(package private) void |
Save_button_ActionPerformed()
Action performed by the save button |
(package private) void |
saveasMenuItem_ActionPerformed(int save_mode)
Action performed by the save as menu |
(package private) void |
saveMenuItem_ActionPerformed()
Action performed by the save menu |
void |
setHelpSystem(HelpSystem helpSystem)
brings up a new help window |
void |
setVisible(boolean b)
|
(package private) boolean |
shouldsave()
returns whether or not the current spec should prompt ton save changes |
(package private) void |
showConfirmSaveDialog(String text)
Show a save? dialog |
(package private) void |
showErrorMessage(String errmes)
Show a save? dialog |
(package private) void |
showFindTextDialog(String mess)
Show a find dialog |
(package private) void |
showInputDialog(String mess)
Show an input dialog |
(package private) void |
showWithSize(int x,
int y)
show a dialog, and if it comes up with 0 size, resize it to x,y |
(package private) void |
treeMenuItem_ActionPerformed()
Action performed by the treeView menu |
(package private) void |
yesSaveButton_ActionPerformed()
Action performed by the YES button on dialogs |
Methods inherited from class java.awt.Frame |
finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, 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 |
JFileChooser openFileDialog1
ExportPanel exportpanel
ImportPanel importpanel
static boolean m_bInstalledDefaultButtonFix
boolean fComponentsAdjusted
boolean makeTables
GridBagLayout transfergb
GridBagConstraints constraints
JButton Ok_button
JButton Cancel_button
JButton Save_button
JButton Apply_button
JButton Help_button
JButton openOpenButton
JButton openCancelButton
JButton runLaterSaveButton
JButton okMessageButton
JButton cancelSaveButton
JButton yesSaveButton
JButton noSaveButton
JButton loadSearchButton
JTextField batchlocation
Cursor cursor_wait
Cursor cursor_default
Insets in1
Insets in2
private HelpSystem helpSystem
DefaultListModel pickListModel
JList pickList
JScrollPane plpane
JTextField searchtext
JTextField spectext
JTextField rlnametext
JTextField cmdline
JTextField nameText
JTextField findTextField
JComboBox cb
JCheckBox caseBox
JRadioButton searchDownRadioButton
JRadioButton searchUpRadioButton
Hashtable ishash
Hashtable eshash
String specname
Hashtable actions
int stop
int mode
int view_mode
int lastButtonHit
WTThread t_apply
Thread tAction
TransferProgressWatcher tpw
JDialog jd
GridBagLayout jdgb
Font f2
private Object object
JMenuBar mainMenuBar
JMenu filemenu
JMenuItem exitMenuItem
JMenu newMenuItem
JMenuItem newImportMenuItem
JMenu newExportMenu
JMenuItem newExportTemplateMenuItem
JMenuItem newExportAdhocMenuItem
JMenuItem openMenuItem
JMenuItem saveMenuItem
JMenuItem saveasMenuItem
JMenuItem runnowMenuItem
JMenuItem runlaterMenuItem
JMenu editmenu
JMenuItem optionsMenuItem
JMenuItem rootObjectMenuItem
JMenu viewmenu
JRadioButtonMenuItem listMenuItem
JRadioButtonMenuItem treeMenuItem
JMenuItem findMenuItem
JMenuItem findnextMenuItem
JMenu helpmenu
JMenuItem aboutMenuItem
JMenuItem overviewMenuItem
JMenuItem tutorialMenuItem
Constructor Detail |
public TransferFrame(Persistable a_p)
a_p
- object to Exportpublic TransferFrame(ObjectReference a_OR)
public TransferFrame(int type)
type
- Mode of transfer to use (1 = Import, 2 = Export, 3 = Both)public TransferFrame(int type, boolean doMake)
type
- Mode of transfer to use (1 = Import, 2 = Export, 3 = Both)Method Detail |
private static void installDefaultButtonFix()
public void setVisible(boolean b)
b
- booleanpublic static void main(String[] args)
public void addNotify()
void okMessageButton_ActionPerformed()
void cancelSaveButton_ActionPerformed()
void yesSaveButton_ActionPerformed()
void noSaveButton_ActionPerformed()
void aboutMenuItem_ActionPerformed(ActionEvent event)
void exitMenuItem_ActionPerformed()
void openMenuItem_ActionPerformed()
void newImportMenuItem_ActionPerformed()
void newExportTemplateMenuItem_ActionPerformed()
void newExportAdhocMenuItem_ActionPerformed()
void getnewspec()
void openOpenButton_ActionPerformed()
void openCancelButton_ActionPerformed()
boolean shouldsave()
void saveMenuItem_ActionPerformed()
void saveasMenuItem_ActionPerformed(int save_mode)
save_mode
- specifies which spec to save (1 = Import, 2 = Export)void runlaterMenuItem_ActionPerformed()
void runLaterSaveButton_ActionPerformed()
void Cancel_button_ActionPerformed()
void Save_button_ActionPerformed()
void Apply_button_ActionPerformed()
void Help_button_ActionPerformed()
void Ok_button_ActionPerformed()
void rootObjectMenuItem_ActionPerformed()
void optionsMenuItem_ActionPerformed()
void listMenuItem_ActionPerformed()
void treeMenuItem_ActionPerformed()
void findMenuItem_ActionPerformed()
void findnextMenuItem_ActionPerformed()
public static String getExtension(File f)
f
- File to get extension of
public static String getExtension(String s, String li)
s
- String representing a file to find the extensionli
- string to denote the break to look for
private void createActionTable(JTextComponent textComponent)
private Action getActionByName(String name)
public void displayHelp(String key)
public void setHelpSystem(HelpSystem helpSystem)
void buildConstraints(GridBagConstraints gbc, int x, int y, int w, int h, double wx, double wy, int anchor, int fill)
public void Addto(DefaultListModel dlf, String name)
dlf
- List to add objectname
- - object to addpublic void loadSearchButton_ActionPerformed()
void enable_buttons()
void configureRootMenu()
void showInputDialog(String mess)
mess
- message to describe the input being takenvoid showFindTextDialog(String mess)
mess
- message to describe findvoid showConfirmSaveDialog(String text)
text
- save text messagevoid showErrorMessage(String errmes)
errmes
- text of errorvoid showWithSize(int x, int y)
x
- width of dialogy
- height of dialog
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |