Ignore:
Timestamp:
13/08/10 16:34:17 (22 months ago)
Author:
Stephen Rankin
Message:

Bulk Load working but not really tested. Fixed various bugs fixed, but single file validation is not working now! Close all files function added. Check for NEXUS/HDF files added. Added threads for file loading actions. Some refactoring of code. refs #236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/applications/NXconvertpy/src/org/nexusformat/nxvalidate/NXValidateDialog.java

    r1498 r1504  
    2121 
    2222    private File nxs = null; 
    23     private File nxdc = null; 
     23    private File nxdl = null; 
    2424    private boolean OKButtonUsed = false; 
    2525    /** Creates new form NXLoadFilesDialog */ 
     
    134134 
    135135            if (returnVal == jFileChooser1.APPROVE_OPTION) { 
    136                 nxdc = jFileChooser1.getSelectedFile(); 
    137                 nxdcTextField.setText(nxdc.getAbsolutePath()); 
    138                 nxdcTextField.setToolTipText(nxdc.getAbsolutePath()); 
     136                nxdl = jFileChooser1.getSelectedFile(); 
     137                nxdcTextField.setText(nxdl.getAbsolutePath()); 
     138                nxdcTextField.setToolTipText(nxdl.getAbsolutePath()); 
    139139            } else { 
    140                 nxdc = null; 
     140                nxdl = null; 
    141141            } 
    142142 
     
    160160 
    161161     
    162     public File getNXDCFile(){ 
    163         return nxdc; 
    164     } 
    165  
    166     public void setNXDCFile(File file){ 
    167         nxdc = file; 
    168         nxdcTextField.setText(nxdc.getAbsolutePath()); 
     162    public File getNXDLFile(){ 
     163        return nxdl; 
     164    } 
     165 
     166    public void setNXDLFile(File file){ 
     167        nxdl = file; 
     168        nxdcTextField.setText(nxdl.getAbsolutePath()); 
    169169    } 
    170170 
Note: See TracChangeset for help on using the changeset viewer.