Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bdgp.apps.dagedit.dataadapter
Class GOFlatFileGUI  view GOFlatFileGUI download GOFlatFileGUI.java

java.lang.Object
  extended byAbstractIntDataAdapUI
      extended byorg.bdgp.apps.dagedit.dataadapter.GOFlatFileGUI

public class GOFlatFileGUI
extends AbstractIntDataAdapUI


Nested Class Summary
private  class GOFlatFileGUI.BrowseListener
           
private  class GOFlatFileGUI.FilenameEditor
           
private  class GOFlatFileGUI.FileProfile
           
private  class GOFlatFileGUI.RelationshipTypeEditor
           
private  class GOFlatFileGUI.RelationshipTypeWrapper
           
 
Field Summary
(package private)  javax.swing.JButton advancedButton
           
(package private)  boolean allowCycles
           
(package private)  javax.swing.JCheckBox allowCyclesBox
           
(package private)  boolean allowDangling
           
(package private)  javax.swing.JCheckBox allowDanglingBox
           
(package private)  javax.swing.JButton browseDefButton
           
(package private)  javax.swing.JButton cancelButton
           
(package private)  java.lang.String comment
           
(package private)  javax.swing.JTextArea commentField
           
(package private)  javax.swing.JScrollPane commentPane
           
(package private)  javax.swing.JButton commitButton
           
(package private)  org.bdgp.apps.dagedit.gui.Controller controller
           
(package private)  GOFlatFileGUI.FileProfile currentProfile
           
(package private)  int currentSelectedIndex
           
(package private)  org.bdgp.apps.dagedit.datamodel.TermRelationshipType defaultType
           
(package private)  java.lang.String defFileName
           
(package private)  javax.swing.JTextField definitionField
           
(package private)  javax.swing.JLabel definitionLabel
           
(package private)  javax.swing.JButton delButton
           
(package private)  DataAdapter driver
           
(package private)  ListEditor fileList
           
(package private)  javax.swing.JTextField filenameField
           
(package private)  java.util.Vector fileNames
           
(package private)  boolean hideDownstream
           
(package private)  javax.swing.JCheckBox hideDownstreamBox
           
(package private)  javax.swing.JComboBox historyBox
           
static java.lang.String NEW_PROFILE_NAME
           
(package private)  boolean notListPick
           
(package private)  IOOperation op
           
(package private)  javax.swing.JDialog optionDialog
           
(package private)  javax.swing.JCheckBox pathToRootBox
           
(package private)  java.util.Properties props
           
(package private)  boolean reduceSize
           
(package private)  javax.swing.JCheckBox reduceSizeBox
           
(package private)  java.util.Vector relationshipTypes
           
(package private)  boolean showPathToRoot
           
(package private)  ListEditor symbolList
           
(package private)  java.util.Hashtable typeBindings
           
(package private)  boolean useLegacyTypes
           
(package private)  javax.swing.JCheckBox useLegacyTypesBox
           
 
Constructor Summary
GOFlatFileGUI(IOOperation op)
           
 
Method Summary
protected  void addOrModifyProfile()
           
 void cancel()
           
protected  void collectParams()
           
 void commit()
           
protected  void commitAdvancedChanges()
           
protected  void deleteProfile()
           
 java.lang.Object doOperation(java.lang.Object values)
           
private  void encodeFileProfile(GOFlatFileGUI.FileProfile fileProfile, int index, java.util.Properties out)
           
protected  void exportTerms(org.bdgp.apps.dagedit.datamodel.DEEditHistory history, boolean showPathToRoot)
           
 javax.swing.JPanel getAdvancedPanel(javax.swing.JPanel panel)
           
 java.util.Properties getProperties()
           
private  java.util.Vector getRelationshipTypes()
           
protected  java.lang.Object importTerms()
           
protected  void loadProfile(GOFlatFileGUI.FileProfile fileProfile)
           
protected  java.lang.Object readTerms()
           
 void setDataAdapter(DataAdapter in)
           
 void setFont(java.awt.Font font)
           
 void setProperties(java.util.Properties in)
           
protected  void showAdvancedOptions()
           
protected  void sortProfiles()
           
protected  void storeProfile(GOFlatFileGUI.FileProfile fileProfile)
           
protected  org.bdgp.apps.dagedit.datamodel.DEEditHistory writeTerms(org.bdgp.apps.dagedit.datamodel.DEEditHistory history)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW_PROFILE_NAME

public static final java.lang.String NEW_PROFILE_NAME
See Also:
Constant Field Values

driver

DataAdapter driver

op

IOOperation op

commitButton

javax.swing.JButton commitButton

cancelButton

javax.swing.JButton cancelButton

browseDefButton

javax.swing.JButton browseDefButton

definitionLabel

javax.swing.JLabel definitionLabel

advancedButton

javax.swing.JButton advancedButton

commentPane

javax.swing.JScrollPane commentPane

fileList

ListEditor fileList

filenameField

javax.swing.JTextField filenameField

definitionField

javax.swing.JTextField definitionField

commentField

javax.swing.JTextArea commentField

hideDownstreamBox

javax.swing.JCheckBox hideDownstreamBox

pathToRootBox

javax.swing.JCheckBox pathToRootBox

allowCyclesBox

javax.swing.JCheckBox allowCyclesBox

allowDanglingBox

javax.swing.JCheckBox allowDanglingBox

reduceSizeBox

javax.swing.JCheckBox reduceSizeBox

useLegacyTypesBox

javax.swing.JCheckBox useLegacyTypesBox

historyBox

javax.swing.JComboBox historyBox

delButton

javax.swing.JButton delButton

comment

java.lang.String comment

showPathToRoot

boolean showPathToRoot

allowCycles

boolean allowCycles

allowDangling

boolean allowDangling

reduceSize

boolean reduceSize

useLegacyTypes

boolean useLegacyTypes

hideDownstream

boolean hideDownstream

fileNames

java.util.Vector fileNames

defFileName

java.lang.String defFileName

relationshipTypes

java.util.Vector relationshipTypes

typeBindings

java.util.Hashtable typeBindings

defaultType

org.bdgp.apps.dagedit.datamodel.TermRelationshipType defaultType

symbolList

ListEditor symbolList

props

java.util.Properties props

optionDialog

javax.swing.JDialog optionDialog

controller

org.bdgp.apps.dagedit.gui.Controller controller

notListPick

boolean notListPick

currentProfile

GOFlatFileGUI.FileProfile currentProfile

currentSelectedIndex

int currentSelectedIndex
Constructor Detail

GOFlatFileGUI

public GOFlatFileGUI(IOOperation op)
Method Detail

showAdvancedOptions

protected void showAdvancedOptions()

getRelationshipTypes

private java.util.Vector getRelationshipTypes()

addOrModifyProfile

protected void addOrModifyProfile()

sortProfiles

protected void sortProfiles()

commitAdvancedChanges

protected void commitAdvancedChanges()

getAdvancedPanel

public javax.swing.JPanel getAdvancedPanel(javax.swing.JPanel panel)

commit

public void commit()

cancel

public void cancel()

setFont

public void setFont(java.awt.Font font)

setDataAdapter

public void setDataAdapter(DataAdapter in)

collectParams

protected void collectParams()

doOperation

public java.lang.Object doOperation(java.lang.Object values)
                             throws DataAdapterException

importTerms

protected java.lang.Object importTerms()
                                throws DataAdapterException

writeTerms

protected org.bdgp.apps.dagedit.datamodel.DEEditHistory writeTerms(org.bdgp.apps.dagedit.datamodel.DEEditHistory history)
                                                            throws DataAdapterException

exportTerms

protected void exportTerms(org.bdgp.apps.dagedit.datamodel.DEEditHistory history,
                           boolean showPathToRoot)
                    throws DataAdapterException

readTerms

protected java.lang.Object readTerms()
                              throws DataAdapterException

loadProfile

protected void loadProfile(GOFlatFileGUI.FileProfile fileProfile)

storeProfile

protected void storeProfile(GOFlatFileGUI.FileProfile fileProfile)

deleteProfile

protected void deleteProfile()

setProperties

public void setProperties(java.util.Properties in)

encodeFileProfile

private void encodeFileProfile(GOFlatFileGUI.FileProfile fileProfile,
                               int index,
                               java.util.Properties out)

getProperties

public java.util.Properties getProperties()