wt.clients.tools.transfer
Class TransferFrame

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended bywt.clients.tools.transfer.TransferFrame
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants

public class TransferFrame
extends JFrame

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.

See Also:
Serialized Form

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 javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
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.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
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

openFileDialog1

JFileChooser openFileDialog1

exportpanel

ExportPanel exportpanel

importpanel

ImportPanel importpanel

m_bInstalledDefaultButtonFix

static boolean m_bInstalledDefaultButtonFix

fComponentsAdjusted

boolean fComponentsAdjusted

makeTables

boolean makeTables

transfergb

GridBagLayout transfergb

constraints

GridBagConstraints constraints

Ok_button

JButton Ok_button

Cancel_button

JButton Cancel_button

Save_button

JButton Save_button

Apply_button

JButton Apply_button

Help_button

JButton Help_button

openOpenButton

JButton openOpenButton

openCancelButton

JButton openCancelButton

runLaterSaveButton

JButton runLaterSaveButton

okMessageButton

JButton okMessageButton

cancelSaveButton

JButton cancelSaveButton

yesSaveButton

JButton yesSaveButton

noSaveButton

JButton noSaveButton

loadSearchButton

JButton loadSearchButton

batchlocation

JTextField batchlocation

cursor_wait

Cursor cursor_wait

cursor_default

Cursor cursor_default

in1

Insets in1

in2

Insets in2

helpSystem

private HelpSystem helpSystem

pickListModel

DefaultListModel pickListModel

pickList

JList pickList

plpane

JScrollPane plpane

searchtext

JTextField searchtext

spectext

JTextField spectext

rlnametext

JTextField rlnametext

cmdline

JTextField cmdline

nameText

JTextField nameText

findTextField

JTextField findTextField

cb

JComboBox cb

caseBox

JCheckBox caseBox

searchDownRadioButton

JRadioButton searchDownRadioButton

searchUpRadioButton

JRadioButton searchUpRadioButton

ishash

Hashtable ishash

eshash

Hashtable eshash

specname

String specname

actions

Hashtable actions

stop

int stop

mode

int mode

view_mode

int view_mode

lastButtonHit

int lastButtonHit

t_apply

WTThread t_apply

tAction

Thread tAction

tpw

TransferProgressWatcher tpw

jd

JDialog jd

jdgb

GridBagLayout jdgb

f2

Font f2

object

private Object object

mainMenuBar

JMenuBar mainMenuBar

filemenu

JMenu filemenu

exitMenuItem

JMenuItem exitMenuItem

newMenuItem

JMenu newMenuItem

newImportMenuItem

JMenuItem newImportMenuItem

newExportMenu

JMenu newExportMenu

newExportTemplateMenuItem

JMenuItem newExportTemplateMenuItem

newExportAdhocMenuItem

JMenuItem newExportAdhocMenuItem

openMenuItem

JMenuItem openMenuItem

saveMenuItem

JMenuItem saveMenuItem

saveasMenuItem

JMenuItem saveasMenuItem

runnowMenuItem

JMenuItem runnowMenuItem

runlaterMenuItem

JMenuItem runlaterMenuItem

editmenu

JMenu editmenu

optionsMenuItem

JMenuItem optionsMenuItem

rootObjectMenuItem

JMenuItem rootObjectMenuItem

viewmenu

JMenu viewmenu

listMenuItem

JRadioButtonMenuItem listMenuItem

treeMenuItem

JRadioButtonMenuItem treeMenuItem

findMenuItem

JMenuItem findMenuItem

findnextMenuItem

JMenuItem findnextMenuItem

helpmenu

JMenu helpmenu

aboutMenuItem

JMenuItem aboutMenuItem

overviewMenuItem

JMenuItem overviewMenuItem

tutorialMenuItem

JMenuItem tutorialMenuItem
Constructor Detail

TransferFrame

public TransferFrame(Persistable a_p)
Constructor

Parameters:
a_p - object to Export

TransferFrame

public TransferFrame(ObjectReference a_OR)
Constructor


TransferFrame

public TransferFrame(int type)
Constructor

Parameters:
type - Mode of transfer to use (1 = Import, 2 = Export, 3 = Both)

TransferFrame

public TransferFrame(int type,
                     boolean doMake)
Constructor

Parameters:
type - Mode of transfer to use (1 = Import, 2 = Export, 3 = Both)
Method Detail

installDefaultButtonFix

private static void installDefaultButtonFix()

setVisible

public void setVisible(boolean b)
Parameters:
b - boolean

main

public static void main(String[] args)

addNotify

public void addNotify()

okMessageButton_ActionPerformed

void okMessageButton_ActionPerformed()
Action performed by the OK button on dialogs


cancelSaveButton_ActionPerformed

void cancelSaveButton_ActionPerformed()
Action performed by the OK button on dialogs


yesSaveButton_ActionPerformed

void yesSaveButton_ActionPerformed()
Action performed by the YES button on dialogs


noSaveButton_ActionPerformed

void noSaveButton_ActionPerformed()
Action performed by the NO button on dialogs


aboutMenuItem_ActionPerformed

void aboutMenuItem_ActionPerformed(ActionEvent event)
Action performed by the about menu


exitMenuItem_ActionPerformed

void exitMenuItem_ActionPerformed()
Action performed by the exit menu


openMenuItem_ActionPerformed

void openMenuItem_ActionPerformed()
Action performed by the load menu


newImportMenuItem_ActionPerformed

void newImportMenuItem_ActionPerformed()
Action performed by the new->Import Spec menu


newExportTemplateMenuItem_ActionPerformed

void newExportTemplateMenuItem_ActionPerformed()
Action performed by the new->Export->Graph Template menu


newExportAdhocMenuItem_ActionPerformed

void newExportAdhocMenuItem_ActionPerformed()
Action performed by the new->Export->Ad hoc menu


getnewspec

void getnewspec()
Brings up the dialog to open/search for specs


openOpenButton_ActionPerformed

void openOpenButton_ActionPerformed()
Action performed by the open button on the load dialog


openCancelButton_ActionPerformed

void openCancelButton_ActionPerformed()
Action performed by the cancel button on the load dialog


shouldsave

boolean shouldsave()
returns whether or not the current spec should prompt ton save changes


saveMenuItem_ActionPerformed

void saveMenuItem_ActionPerformed()
Action performed by the save menu


saveasMenuItem_ActionPerformed

void saveasMenuItem_ActionPerformed(int save_mode)
Action performed by the save as menu

Parameters:
save_mode - specifies which spec to save (1 = Import, 2 = Export)

runlaterMenuItem_ActionPerformed

void runlaterMenuItem_ActionPerformed()
Action performed by the Run Later menu


runLaterSaveButton_ActionPerformed

void runLaterSaveButton_ActionPerformed()
Action performed by the save button on the RunLater dialog


Cancel_button_ActionPerformed

void Cancel_button_ActionPerformed()
Action performed by the cancel button


Save_button_ActionPerformed

void Save_button_ActionPerformed()
Action performed by the save button


Apply_button_ActionPerformed

void Apply_button_ActionPerformed()
Action performed by the apply button


Help_button_ActionPerformed

void Help_button_ActionPerformed()
Action performed by the help button


Ok_button_ActionPerformed

void Ok_button_ActionPerformed()
Action performed by the OK button,on the Main window


rootObjectMenuItem_ActionPerformed

void rootObjectMenuItem_ActionPerformed()
Action performed by the getRootObject button,on the Main window


optionsMenuItem_ActionPerformed

void optionsMenuItem_ActionPerformed()
Action performed by the Options menu


listMenuItem_ActionPerformed

void listMenuItem_ActionPerformed()
Action performed by the ListView menu


treeMenuItem_ActionPerformed

void treeMenuItem_ActionPerformed()
Action performed by the treeView menu


findMenuItem_ActionPerformed

void findMenuItem_ActionPerformed()
Action performed by the find menu


findnextMenuItem_ActionPerformed

void findnextMenuItem_ActionPerformed()
Action performed by the find next menu


getExtension

public static String getExtension(File f)
Get the file extension of a file

Parameters:
f - File to get extension of
Returns:
extension of f

getExtension

public static String getExtension(String s,
                                  String li)
Get the file extension of a file

Parameters:
s - String representing a file to find the extension
li - string to denote the break to look for
Returns:
part of string after 'li' in 's'

createActionTable

private void createActionTable(JTextComponent textComponent)
The following two methods allow us to find an action provided by the editor kit by its name.


getActionByName

private Action getActionByName(String name)

displayHelp

public void displayHelp(String key)
display the new help window


setHelpSystem

public void setHelpSystem(HelpSystem helpSystem)
brings up a new help window


buildConstraints

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


Addto

public void Addto(DefaultListModel dlf,
                  String name)
Adds a name to a list alphabetically using binary search

Parameters:
dlf - List to add object
name - - object to add

loadSearchButton_ActionPerformed

public void loadSearchButton_ActionPerformed()
Action performed by the search button on the load dialog


enable_buttons

void enable_buttons()
Enable buttons when a valid spec is being edited


configureRootMenu

void configureRootMenu()
Enable the root Object menu depending on the Transfer Mode


showInputDialog

void showInputDialog(String mess)
Show an input dialog

Parameters:
mess - message to describe the input being taken

showFindTextDialog

void showFindTextDialog(String mess)
Show a find dialog

Parameters:
mess - message to describe find

showConfirmSaveDialog

void showConfirmSaveDialog(String text)
Show a save? dialog

Parameters:
text - save text message

showErrorMessage

void showErrorMessage(String errmes)
Show a save? dialog

Parameters:
errmes - text of error

showWithSize

void showWithSize(int x,
                  int y)
show a dialog, and if it comes up with 0 size, resize it to x,y

Parameters:
x - width of dialog
y - height of dialog