|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
wt.clients.tools.transfer.ImportPanel
Import/Export Utility Import documents in the form of zipped XML into the Windchill database This utility provides the User Interface functionality, and passes off an Import Spec to transfer service.
Nested Class Summary | |
(package private) class |
ImportPanel.MyTableModel
|
(package private) class |
ImportPanel.SymAction
|
(package private) class |
ImportPanel.SymPropertyChange
|
private class |
ImportPanel.ZipFileFilter
The *.zip file filter |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
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) JButton |
browseCancelButton
|
(package private) JButton |
browseOkButton
|
(package private) GridBagConstraints |
constraints
|
(package private) Cursor |
cursor_default
|
(package private) Cursor |
cursor_wait
|
(package private) File |
EFile
|
(package private) Font |
f1
|
(package private) Font |
f2
|
(package private) boolean |
fComponentsAdjusted
|
static int |
FILE_MODE
|
(package private) ImportAdHocCriteria[] |
iac
|
(package private) JButton |
IAddAllObjectButton
|
(package private) JButton |
IAddObjectButton
|
(package private) JButton |
IClearbutton
|
(package private) JTextField |
IDestinanationFileNameField
|
(package private) JLabel |
IDestinationLabel
|
(package private) JLabel |
IFromLabel
|
(package private) ImportPanel.MyTableModel |
IFromModel
|
(package private) TableSorter |
IFromsorter
|
(package private) JTable |
IFromTable
|
(package private) JButton |
IGetLocationButton
|
(package private) JButton |
IGetLogButton
|
(package private) JRadioButton |
ILaterRadio
|
(package private) JButton |
ILoadButton
|
(package private) JLabel |
ILogLabel
|
(package private) JTextField |
ILogNameField
|
(package private) GridBagLayout |
importgb
|
(package private) ImportSpec |
importspec
|
(package private) JTabbedPane |
ImportTypeTabbedPanel
|
(package private) Insets |
in_1
|
(package private) Insets |
in_2
|
(package private) Insets |
in_3
|
(package private) Insets |
in_4
|
(package private) JRadioButton |
INowRadio
|
(package private) JLabel |
IQueryLabel
|
(package private) JButton |
IRemoveAllSelectionButton
|
(package private) JButton |
IRemoveObjectsButton
|
(package private) JButton |
ISaveSet
|
(package private) JTextField |
IScheduledTimeField
|
(package private) JTextField |
ISearchField
|
(package private) JLabel |
ISearchLabel
|
(package private) JButton |
ISelectDirButton
|
(package private) JLabel |
ISelectedObjectsLabel
|
(package private) JScrollPane |
ISelectedPane
|
(package private) JScrollPane |
ISelectFromTablePane
|
(package private) JButton |
ISelectURLButton
|
(package private) JTextField |
ISetNameField
|
(package private) JLabel |
ISetNameLabel
|
(package private) ImportPanel.MyTableModel |
IToModel
|
(package private) TableSorter |
ITosorter
|
(package private) JTable |
IToTable
|
(package private) JDialog |
jd
|
(package private) GridBagLayout |
jdgb
|
(package private) JTextField |
jt
|
(package private) static boolean |
m_bInstalledDefaultButtonFix
|
(package private) int |
mymode
|
(package private) JTextField |
nameText
|
JFileChooser |
openFileDialog1
|
(package private) JButton |
optionsOkButton
|
(package private) boolean |
saved
|
static int |
URL_MODE
|
(package private) ImportPanel.ZipFileFilter |
zipff
|
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_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 | |
ImportPanel()
Constructor |
Method Summary | |
void |
addNotify()
|
private void |
Addto(TableSorter dlf,
String name)
Adds a name to a list alphabetically using binary search |
(package private) void |
browseCancelButton_actionPerformed()
action performed by the cancel button on the browse dialog |
(package private) void |
browseOkButton_actionPerformed()
action performed by the ok button on the browse dialog |
private void |
buildConstraints(GridBagConstraints gbc,
int x,
int y,
int w,
int h,
double wx,
double wy,
int anchor,
int fill)
|
void |
buildspec()
Build the spec with all new info. |
void |
clear()
Clear the spec related info |
private static String |
getExtension(File f)
Get the file extension of a file |
private static String |
getExtension(String s,
String li)
Get the file extension of a file |
private static String |
getNameWithOutExtension(String s)
Get the file extension of a file |
void |
getOptions()
show the options dialog |
(package private) void |
IAddAllObjectButton_actionPerformed()
add all button action |
(package private) void |
IAddObjectButton_actionPerformed()
add button action |
(package private) void |
IGetLocationButton_actionPerformed()
show the browse dialog |
(package private) void |
IGetLogButton_actionPerformed()
|
void |
ImportButton_actionPerformed_Interaction1()
import button action |
(package private) void |
ImportButton_actionPerformed()
action performed to do the import |
int |
Importcheck()
Check to see if import spec is ready for import |
private static void |
installDefaultButtonFix()
|
(package private) void |
IRemoveAllSelectionButton_actionPerformed()
|
(package private) void |
IRemoveFrom()
Remove an element in the From (left hand) pane |
(package private) void |
IRemoveObjectsButton_actionPerformed()
Remvoe button action |
(package private) void |
IRemoveTo()
Remove an element in the To (right hand) pane |
(package private) void |
ISearchButton_actionPerformed(boolean matchCase,
boolean searchDown)
find dialog search button action |
(package private) void |
ISelectDirButton_actionPerformed()
show the file chooser |
(package private) void |
ISelectDirButton_actionPerformed2()
set the directory chosen in the filechooser |
(package private) void |
ISelectURLButton_actionPerformed()
action perpormed when a url is entered |
(package private) void |
ISelectURLButton_actionPerformed2(String outtext)
action perpormed when a url is entered |
void |
newSpec()
Create a new spec object |
(package private) void |
optionsOkButton_actionPerformed()
action performed by the ok button on the options dialog |
void |
saveImportSpec()
Save the current spec |
void |
setImportSpec(ImportSpec IS)
Set an Import Spec |
void |
setVisible(boolean b)
Shows or hides the component depending on the boolean flag b. |
(package private) void |
showErrorMessage(String errmes)
Show an error dialog |
(package private) void |
showInputDialog(String mess)
Show an input dialog, results returned in inputText global textfield |
void |
showmerow(int i)
Scroll table to the row |
(package private) void |
showWithSize(int x,
int y)
Show a dialog with size x,y if it initially comes up with zero size |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
boolean fComponentsAdjusted
static boolean m_bInstalledDefaultButtonFix
GridBagLayout importgb
GridBagConstraints constraints
JTabbedPane ImportTypeTabbedPanel
JRadioButton ILaterRadio
JRadioButton INowRadio
JButton IClearbutton
JButton IAddObjectButton
JButton IAddAllObjectButton
JButton IRemoveObjectsButton
JButton IRemoveAllSelectionButton
JButton IGetLocationButton
JButton IGetLogButton
JButton ISelectURLButton
JButton ISelectDirButton
JButton ILoadButton
JButton ISaveSet
JButton browseOkButton
JButton browseCancelButton
JButton optionsOkButton
JTextField IScheduledTimeField
JTextField IDestinanationFileNameField
JTextField ILogNameField
JTextField ISearchField
JTextField ISetNameField
JTextField jt
JTextField nameText
JLabel ISearchLabel
JLabel IQueryLabel
JLabel ISetNameLabel
JLabel ISelectedObjectsLabel
JLabel ILogLabel
JLabel IDestinationLabel
JLabel IFromLabel
ImportPanel.MyTableModel IFromModel
ImportPanel.MyTableModel IToModel
TableSorter ITosorter
TableSorter IFromsorter
JTable IFromTable
JTable IToTable
JScrollPane ISelectFromTablePane
JScrollPane ISelectedPane
File EFile
Cursor cursor_wait
Cursor cursor_default
ImportPanel.ZipFileFilter zipff
ImportSpec importspec
Font f1
Font f2
Insets in_1
Insets in_2
Insets in_3
Insets in_4
int mymode
JDialog jd
GridBagLayout jdgb
ImportAdHocCriteria[] iac
boolean saved
public JFileChooser openFileDialog1
public static final int FILE_MODE
public static final int URL_MODE
Constructor Detail |
public ImportPanel()
Method Detail |
public void setVisible(boolean b)
b
- if true, show the component; otherwise, hide the component.Component.isVisible()
public void addNotify()
private static void installDefaultButtonFix()
void IGetLogButton_actionPerformed()
void ISelectURLButton_actionPerformed()
void ISelectURLButton_actionPerformed2(String outtext)
outtext
- text of the URLvoid ISelectDirButton_actionPerformed()
void ISelectDirButton_actionPerformed2()
void ImportButton_actionPerformed()
public void ImportButton_actionPerformed_Interaction1()
void IGetLocationButton_actionPerformed()
void browseOkButton_actionPerformed()
void browseCancelButton_actionPerformed()
public void getOptions()
void optionsOkButton_actionPerformed()
void ISearchButton_actionPerformed(boolean matchCase, boolean searchDown)
searchDown
- flat to searc up or downvoid IAddObjectButton_actionPerformed()
void IAddAllObjectButton_actionPerformed()
void IRemoveObjectsButton_actionPerformed()
void IRemoveFrom()
void IRemoveTo()
void IRemoveAllSelectionButton_actionPerformed()
private static String getExtension(File f)
f
- File to get extension of
private 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 static String getNameWithOutExtension(String s)
s
- String representing a file to find the extension
public void showmerow(int i)
i
- the row to scroll toprivate void buildConstraints(GridBagConstraints gbc, int x, int y, int w, int h, double wx, double wy, int anchor, int fill)
private void Addto(TableSorter dlf, String name)
dlf
- Table to add objectname
- - object to addpublic void setImportSpec(ImportSpec IS)
IS
- the spec to setpublic void saveImportSpec()
public void clear()
public void buildspec()
public int Importcheck()
public void newSpec()
void showWithSize(int x, int y)
x
- width if 0y
- height if 0void showErrorMessage(String errmes)
errmes
- the error messagevoid showInputDialog(String mess)
mess
- the input message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |