wt.clients.tools.transfer
Class ExportPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bywt.clients.tools.transfer.ExportPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class ExportPanel
extends JPanel

Export Panel 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
private  class ExportPanel.DirFilter
          Directory File Filter
(package private)  class ExportPanel.MyRenderer1
           
(package private)  class ExportPanel.MyTableModel
           
(package private)  class ExportPanel.SymAction
           
(package private)  class ExportPanel.SymPropertyChange
           
(package private)  class ExportPanel.SymWindow
           
 
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) static int AD_HOC
           
(package private)  JButton addAttributesButton
           
(package private)  ExportPanel.MyTableModel attributeModel
           
(package private)  JButton attributeOkButton
           
(package private)  JScrollPane attributeScrollPane
           
(package private)  JTable attributeTable
           
(package private)  TableSorter attributeTableSorter
           
(package private)  JButton browseCancelButton
           
(package private)  JButton browseOkButton
           
(package private)  String clname_global
           
(package private)  GridBagConstraints constraints
           
(package private)  Cursor cursor_default
           
(package private)  Cursor cursor_wait
           
(package private)  ExportPanel.DirFilter dirff
           
(package private)  ExportAdHocCriteria[] eac
           
(package private)  JButton EAddCriteriaButton
           
(package private)  JButton EAddObjectButton
           
(package private)  JLabel EAdvTitleLabel
           
(package private)  JLabel EBasicTitleLabel
           
(package private)  JButton EBrowseButton
           
(package private)  JButton EClearbutton
           
(package private)  JTextField EDestinanationFileNameField
           
(package private)  JLabel EDestinationLabel
           
(package private) static int EDIT_GRAPH
           
(package private)  File eFile
           
(package private)  ExportPanel.MyTableModel EFromModel
           
(package private)  TableSorter EFromsorter
           
(package private)  JTable EFromTable
           
(package private)  JButton EGetDestinationFileButton
           
(package private)  JButton EGetLogButton
           
(package private)  JButton EGetRootButton
           
(package private)  ExportObjectGraphTemplate[] egList
           
(package private)  JButton ELoadButton
           
(package private)  JLabel ELogLabel
           
(package private)  JTextField ELogNameField
           
(package private)  JLabel EQueryLabel
           
(package private)  JButton ERemoveAllSelectionButton
           
(package private)  JButton ERemoveObjectsButton
           
(package private)  JButton ESaveSet
           
(package private)  JTextField EScheduledTimeField
           
(package private)  JTextField ESearchField
           
(package private)  JLabel ESearchLabel
           
(package private)  JLabel ESelectedObjectsLabel
           
(package private)  JScrollPane ESelectedPane
           
(package private)  JScrollPane ESelectFromTablePane
           
(package private)  JTextField ESetNameField
           
(package private)  JLabel ESetNameLabel
           
(package private)  ExportPanel.MyTableModel EToModel
           
(package private)  ExportPanel.MyTableModel EToModel2
           
(package private)  DefaultMutableTreeNode Etop
           
(package private)  TableSorter ETosorter
           
(package private)  JTable EToTable
           
(package private)  DefaultTreeModel EtreeModel1
           
(package private)  JScrollPane EWTObjectPane
           
(package private)  JTree EWTObjectTree
           
(package private)  int export_mode
           
(package private)  GridBagLayout exportgb
           
(package private)  ExportSpec exportspec
           
(package private)  Font f1
           
(package private)  Font f2
           
(package private)  boolean fComponentsAdjusted
           
(package private)  EditGraphTemplate graphframe
           
(package private)  ExportCriteriaBuilderFrame IEBF
           
(package private)  Insets in_1
           
(package private)  Insets in_2
           
(package private)  Insets in_3
           
(package private)  Insets in_4
           
(package private)  Insets in_5
           
(package private)  JTextField inputText
           
(package private)  JDialog jd
           
(package private)  GridBagLayout jdgb
           
(package private)  JTextField jt
           
(package private)  JScrollPane leftpane
           
(package private) static boolean m_bInstalledDefaultButtonFix
           
(package private)  WTQuery myQuery
           
(package private)  Hashtable nameHash
           
private  Object object
           
(package private)  JFileChooser openFileDialog1
           
(package private)  JButton optionsOkButton
           
(package private)  Hashtable piHash
           
(package private)  QueryTemplate qt
           
(package private)  Hashtable qtHash
           
(package private)  JFrame querypanelframe
           
(package private)  boolean saved
           
(package private)  String schemaClassName
           
(package private)  int stop
           
(package private)  int view_mode
           
(package private)  int WS_SIZE
           
 
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
ExportPanel(int mode, boolean makeTables)
          Constructor
 
Method Summary
(package private)  void addAttributesButton_actionPerformed()
          add button action chooser
 void addClass(String clname)
           
 void addcrit(int index)
          Adds criteria for selected object, brings up instance if ExportCriteriaBuilderFrame.
 void addNotify()
           
 void addObjectForClass(String classname, ObjectReference a_persis)
           
 void Addto(TableSorter dlf, String display_name, String class_name, String filter_name, String last_modified)
          Adds a name to a Table alphabetically using binary search
(package private)  void attributeOkButton_actionPerformed()
          Action performed by the OK button on the attribute select dialog
(package private)  void browseCancelButton_actionPerformed()
          Action performed by the Cancel button on the output location dialog
(package private)  void browseOkButton_actionPerformed()
          Action performed by the OK button on the output location dialog
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
 void buildspec()
          Build the spec with all new info.
 boolean checkIsIn(TableSorter dlf, String clname)
          Determine if the class is already in the table
 void checkmark()
           
 void clear()
          Clear the spec related info
(package private)  void EAddCriteriaButton_actionPerformed()
          Edit criteria button action
(package private)  void EAddObjectButton_actionPerformed()
          add button action
(package private)  void EBrowseButton_actionPerformed()
          bring up the output location dialog
 void edittemplate(int index)
          Adds criteria for selected object, brings up instance if ExportCriteriaBuilderFrame.
(package private)  void EEditGraphButton_actionPerformed()
          edit graph action
(package private)  void EGetDestinationFileButton_actionPerformed_Interaction1()
          browse get destinationbutton action1
(package private)  void EGetDestinationFileButton_actionPerformed_Interaction2()
          browse get destination button action2
(package private)  void EGetDestinationFileButton_actionPerformed()
          browse get destination button action caller
(package private)  void EGetLogButton_actionPerformed()
          browse for log file button action
(package private)  void ERemoveAllSelectionButton_actionPerformed()
          Remvoe all button action
private  void ERemoveObjectsButton_actionPerformed()
          Remove button action
(package private)  void ESearchButton_actionPerformed(boolean matchCase, boolean searchDown)
          find dialog search button action
 void ESearchTree(DefaultMutableTreeNode wo, int startindex, int childcount, String search_text, boolean matchCase, boolean searchDown)
          Searches Table and tree for location of search text
 void expandnode(DefaultMutableTreeNode node, String nodename)
          Get the file extension of a file
 void Exportbutton_actionPerformed_Interaction1()
          Does the export
 void Exportbutton_actionPerformed()
          Does the export
 int Exportcheck()
          Check to see if the spec is complete for processing
(package private)  void ExportPanel_WindowClosing(WindowEvent event)
           
 Vector getclassinfos(String clname)
           
 String getDisplayName(String cn)
          Find the display name for a class
 int getExportMode()
          gets the current mode of the export
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
(package private)  void getObject()
          bring up the getRootObject dialog for the selected class
 void getOptions()
          bring up the options dialog
 int getRow(TableSorter dlf, String clname)
          Determine the row of a class in the table
private static void installDefaultButtonFix()
           
 void makeTables()
          Make the tree and list view, of all persistable classes
 void newSpec()
          Create a new spec object
(package private)  void optionsOkButton_actionPerformed()
          Action performed by the OK button on the options dialog
 void saveExportSpec()
          Save the current spec
 void setExportSpec(ExportSpec ES)
          Set an Export Spec
 void setMode(int mode)
           
 void setobjecttreeview()
          Set the panel to the Object Tree view
 void setTableview()
          Set the panel to the table view
 void settreeview()
          Set the panel to the Tree view
 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 javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WS_SIZE

final int WS_SIZE
See Also:
Constant Field Values

EDIT_GRAPH

static final int EDIT_GRAPH
See Also:
Constant Field Values

AD_HOC

static final int AD_HOC
See Also:
Constant Field Values

fComponentsAdjusted

boolean fComponentsAdjusted

m_bInstalledDefaultButtonFix

static boolean m_bInstalledDefaultButtonFix

querypanelframe

JFrame querypanelframe

EClearbutton

JButton EClearbutton

EAddObjectButton

JButton EAddObjectButton

ERemoveObjectsButton

JButton ERemoveObjectsButton

ERemoveAllSelectionButton

JButton ERemoveAllSelectionButton

EAddCriteriaButton

JButton EAddCriteriaButton

EGetRootButton

JButton EGetRootButton

EBrowseButton

JButton EBrowseButton

EGetLogButton

JButton EGetLogButton

EGetDestinationFileButton

JButton EGetDestinationFileButton

ELoadButton

JButton ELoadButton

ESaveSet

JButton ESaveSet

addAttributesButton

JButton addAttributesButton

attributeOkButton

JButton attributeOkButton

browseOkButton

JButton browseOkButton

browseCancelButton

JButton browseCancelButton

optionsOkButton

JButton optionsOkButton

ESetNameLabel

JLabel ESetNameLabel

EQueryLabel

JLabel EQueryLabel

EDestinationLabel

JLabel EDestinationLabel

ESelectedObjectsLabel

JLabel ESelectedObjectsLabel

ELogLabel

JLabel ELogLabel

ESearchLabel

JLabel ESearchLabel

EBasicTitleLabel

JLabel EBasicTitleLabel

EAdvTitleLabel

JLabel EAdvTitleLabel

EScheduledTimeField

JTextField EScheduledTimeField

ESetNameField

JTextField ESetNameField

EDestinanationFileNameField

JTextField EDestinanationFileNameField

ELogNameField

JTextField ELogNameField

jt

JTextField jt

inputText

JTextField inputText

EFromModel

ExportPanel.MyTableModel EFromModel

EToModel

ExportPanel.MyTableModel EToModel

EToModel2

ExportPanel.MyTableModel EToModel2

attributeModel

ExportPanel.MyTableModel attributeModel

ETosorter

TableSorter ETosorter

EFromsorter

TableSorter EFromsorter

attributeTableSorter

TableSorter attributeTableSorter

EFromTable

JTable EFromTable

EToTable

JTable EToTable

attributeTable

JTable attributeTable

ESearchField

JTextField ESearchField

Etop

DefaultMutableTreeNode Etop

EtreeModel1

DefaultTreeModel EtreeModel1

EWTObjectTree

JTree EWTObjectTree

ESelectFromTablePane

JScrollPane ESelectFromTablePane

EWTObjectPane

JScrollPane EWTObjectPane

ESelectedPane

JScrollPane ESelectedPane

attributeScrollPane

JScrollPane attributeScrollPane

leftpane

JScrollPane leftpane

exportgb

GridBagLayout exportgb

constraints

GridBagConstraints constraints

jdgb

GridBagLayout jdgb

cursor_wait

Cursor cursor_wait

cursor_default

Cursor cursor_default

dirff

ExportPanel.DirFilter dirff

exportspec

ExportSpec exportspec

nameHash

Hashtable nameHash

qtHash

Hashtable qtHash

piHash

Hashtable piHash

eFile

File eFile

f1

Font f1

f2

Font f2

in_1

Insets in_1

in_2

Insets in_2

in_3

Insets in_3

in_4

Insets in_4

in_5

Insets in_5

myQuery

WTQuery myQuery

schemaClassName

String schemaClassName

jd

JDialog jd

qt

QueryTemplate qt

eac

ExportAdHocCriteria[] eac

egList

ExportObjectGraphTemplate[] egList

clname_global

String clname_global

IEBF

ExportCriteriaBuilderFrame IEBF

graphframe

EditGraphTemplate graphframe

openFileDialog1

JFileChooser openFileDialog1

stop

int stop

export_mode

int export_mode

view_mode

int view_mode

saved

boolean saved

object

private Object object
Constructor Detail

ExportPanel

public ExportPanel(int mode,
                   boolean makeTables)
Constructor

Method Detail

setVisible

public void setVisible(boolean b)
Shows or hides the component depending on the boolean flag b.

Parameters:
b - if true, show the component; otherwise, hide the component.
See Also:
Component.isVisible()

addNotify

public void addNotify()

installDefaultButtonFix

private static void installDefaultButtonFix()

ExportPanel_WindowClosing

void ExportPanel_WindowClosing(WindowEvent event)

EGetLogButton_actionPerformed

void EGetLogButton_actionPerformed()
browse for log file button action


EGetDestinationFileButton_actionPerformed

void EGetDestinationFileButton_actionPerformed()
browse get destination button action caller


EGetDestinationFileButton_actionPerformed_Interaction1

void EGetDestinationFileButton_actionPerformed_Interaction1()
browse get destinationbutton action1


EGetDestinationFileButton_actionPerformed_Interaction2

void EGetDestinationFileButton_actionPerformed_Interaction2()
browse get destination button action2


ERemoveAllSelectionButton_actionPerformed

void ERemoveAllSelectionButton_actionPerformed()
Remvoe all button action


Exportbutton_actionPerformed

public void Exportbutton_actionPerformed()
Does the export


Exportbutton_actionPerformed_Interaction1

public void Exportbutton_actionPerformed_Interaction1()
Does the export


EEditGraphButton_actionPerformed

void EEditGraphButton_actionPerformed()
edit graph action


EAddCriteriaButton_actionPerformed

void EAddCriteriaButton_actionPerformed()
Edit criteria button action


getObject

void getObject()
bring up the getRootObject dialog for the selected class


EBrowseButton_actionPerformed

void EBrowseButton_actionPerformed()
bring up the output location dialog


getOptions

public void getOptions()
bring up the options dialog


optionsOkButton_actionPerformed

void optionsOkButton_actionPerformed()
Action performed by the OK button on the options dialog


ESearchButton_actionPerformed

void ESearchButton_actionPerformed(boolean matchCase,
                                   boolean searchDown)
find dialog search button action

Parameters:
searchDown - flat to searc up or down

EAddObjectButton_actionPerformed

void EAddObjectButton_actionPerformed()
add button action


addClass

public void addClass(String clname)

addObjectForClass

public void addObjectForClass(String classname,
                              ObjectReference a_persis)

ERemoveObjectsButton_actionPerformed

private void ERemoveObjectsButton_actionPerformed()
Remove button action


getExtension

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

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

getExtension

private 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'

buildConstraints

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


checkIsIn

public boolean checkIsIn(TableSorter dlf,
                         String clname)
Determine if the class is already in the table

Parameters:
dlf - table to search in
clname - name to search for

getRow

public int getRow(TableSorter dlf,
                  String clname)
Determine the row of a class in the table

Parameters:
dlf - table to search in
clname - name to search for
Returns:
the row number

Addto

public void Addto(TableSorter dlf,
                  String display_name,
                  String class_name,
                  String filter_name,
                  String last_modified)
Adds a name to a Table alphabetically using binary search

Parameters:
dlf - Table to add object

ESearchTree

public void ESearchTree(DefaultMutableTreeNode wo,
                        int startindex,
                        int childcount,
                        String search_text,
                        boolean matchCase,
                        boolean searchDown)
Searches Table and tree for location of search text

Parameters:
wo - node of tree to add children to.
startindex - - index of child to start adding at
childcount - - total number of children wo has
search_text - - text to search for.

addcrit

public void addcrit(int index)
Adds criteria for selected object, brings up instance if ExportCriteriaBuilderFrame.

Parameters:
index - location of selected object in Table

edittemplate

public void edittemplate(int index)
Adds criteria for selected object, brings up instance if ExportCriteriaBuilderFrame.

Parameters:
index - location of selected object in Table

makeTables

public void makeTables()
Make the tree and list view, of all persistable classes


expandnode

public void expandnode(DefaultMutableTreeNode node,
                       String nodename)
Get the file extension of a file

Returns:
part of string after 'li' is 's'

setExportSpec

public void setExportSpec(ExportSpec ES)
Set an Export Spec

Parameters:
ES - the spec to set

saveExportSpec

public void saveExportSpec()
Save the current spec


clear

public void clear()
Clear the spec related info


buildspec

public void buildspec()
Build the spec with all new info.


settreeview

public void settreeview()
Set the panel to the Tree view


setobjecttreeview

public void setobjecttreeview()
Set the panel to the Object Tree view


setTableview

public void setTableview()
Set the panel to the table view


checkmark

public void checkmark()

Exportcheck

public int Exportcheck()
Check to see if the spec is complete for processing

Returns:
the number off errors encountered

showmerow

public void showmerow(int i)
Scroll table to the row

Parameters:
i - the row to scroll to

getDisplayName

public String getDisplayName(String cn)
Find the display name for a class

Parameters:
cn - the class name to find the display name from

setMode

public void setMode(int mode)

getExportMode

public int getExportMode()
gets the current mode of the export


getclassinfos

public Vector getclassinfos(String clname)

addAttributesButton_actionPerformed

void addAttributesButton_actionPerformed()
add button action chooser


attributeOkButton_actionPerformed

void attributeOkButton_actionPerformed()
Action performed by the OK button on the attribute select dialog


browseOkButton_actionPerformed

void browseOkButton_actionPerformed()
Action performed by the OK button on the output location dialog


browseCancelButton_actionPerformed

void browseCancelButton_actionPerformed()
Action performed by the Cancel button on the output location dialog


newSpec

public void newSpec()
Create a new spec object


showWithSize

void showWithSize(int x,
                  int y)
Show a dialog with size x,y if it initially comes up with zero size

Parameters:
x - width if 0
y - height if 0

showErrorMessage

void showErrorMessage(String errmes)
Show an error dialog

Parameters:
errmes - the error message

showInputDialog

void showInputDialog(String mess)
Show an input dialog, results returned in inputText global textfield

Parameters:
mess - the input message