Changeset 13046


Ignore:
Timestamp:
2006-10-06T14:47:13+13:00 (18 years ago)
Author:
shaoqun
Message:

added xml file extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/ExportAsPrompt.java

    r13025 r13046  
    481481         for (int i = 0; i < command_parts_list.size(); i++) {
    482482        DebugStream.print(command_parts_list.get(i) + " ");
    483         //System.err.print(command_parts_list.get(i) + " ");         
     483        System.err.print(command_parts_list.get(i) + " ");         
    484484    }
    485485    DebugStream.println("");
     
    848848        javax.swing.filechooser.FileFilter filter = new javax.swing.filechooser.FileFilter(){
    849849            public boolean accept(File f){
    850             return f.getPath().endsWith(".xsl")||f.isDirectory();
     850            return f.getPath().endsWith(".xsl")||f.isDirectory()||f.getPath().endsWith(".xml");
    851851            } 
    852852
    853853            public String getDescription(){
    854             return "XSL file";
     854            return "XSL or XML file";
    855855            }         
    856856      };
Note: See TracChangeset for help on using the changeset viewer.