From: <hu...@us...> - 2006-09-29 21:07:38
|
Revision: 228 http://svn.sourceforge.net/cishell/?rev=228&view=rev Author: huangb Date: 2006-09-29 14:07:34 -0700 (Fri, 29 Sep 2006) Log Message: ----------- use swt GUIBuilder pop-up window to display the error message instead of logging the error messages in the console view Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-29 21:04:41 UTC (rev 227) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-29 21:07:34 UTC (rev 228) @@ -21,6 +21,7 @@ import org.cishell.framework.algorithm.Algorithm; import org.cishell.framework.data.Data; import org.cishell.framework.data.BasicData; +import org.cishell.service.guibuilder.GUIBuilderService; /* * @author Weixia(Bonnie) Huang (hu...@in...) @@ -28,14 +29,19 @@ public class FileLoad implements Algorithm{ private static File currentDir; + private final LogService logger; - private final BundleContext bContext; + private final GUIBuilderService guiBuilder; + + private BundleContext bContext; private CIShellContext ciContext; public FileLoad(CIShellContext ciContext, BundleContext bContext) { this.ciContext = ciContext; this.bContext = bContext; - logger = (LogService) ciContext.getService(LogService.class.getName()); + logger = (LogService) ciContext.getService(LogService.class.getName()); + guiBuilder = (GUIBuilderService)ciContext.getService(GUIBuilderService.class.getName()); + } public void selectionChanged(IAction action, ISelection selection) { @@ -47,9 +53,10 @@ // System.out.println("counter is "+counter); // ?? why getActiveWorkbenchWindow() didn't work?? Data[] returnDM; + final IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows(); if (windows.length ==0){ - System.out.println("windows[0] is null!!"); +// System.out.println("windows[0] is null!!"); return null; } @@ -75,7 +82,7 @@ String fileName = theFile.getName() ; String extension ; if (fileName.lastIndexOf(".") != -1) - extension = fileName.substring(fileName.lastIndexOf(".")) ; + extension = fileName.substring(fileName.lastIndexOf(".")+1) ; else extension = "" ; return extension ; @@ -93,7 +100,8 @@ FileDialog dialog = new FileDialog(window.getShell(), SWT.OPEN); if (currentDir == null) { - currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata" + File.separator + "anything"); + currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata"); +// currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata" + File.separator + "anything"); } dialog.setFilterPath(currentDir.getPath()); dialog.setText("Select a File"); @@ -109,8 +117,6 @@ } else { currentDir = new File(file.getPath()); } -// FileResourceDescriptor frd = new BasicFileResourceDescriptor(file); -// String fileExtension = frd.getFileExtension(); String fileExtension = getFileExtension(file); System.out.println("fileExtension = "+fileExtension); @@ -122,15 +128,16 @@ // to nocompression by default. // get all the service references of converters that can load this type of file. -// ServiceReference[] serviceRefList = bContext.getServiceReferences(null, filter); ServiceReference[] serviceRefList = bContext.getAllServiceReferences( AlgorithmFactory.class.getName(), filter); // no converters found means the file format is not supported if (serviceRefList == null || serviceRefList.length == 0){ - //log "The file format is not supported" - logger.log(LogService.LOG_INFO, "Sorry, the file format: *"+fileExtension+" is not supported so far."); + guiBuilder.showError("Unsupported File Format", "Sorry, the file format: *"+fileExtension+" is not supported so far.", + "Sorry, the file format: *"+fileExtension+" is not supported so far. \n"+ + "Please send your requests to cis...@li.... \n" + +"Thank you."); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2006-09-29 21:12:08
|
Revision: 230 http://svn.sourceforge.net/cishell/?rev=230&view=rev Author: huangb Date: 2006-09-29 14:12:03 -0700 (Fri, 29 Sep 2006) Log Message: ----------- change the message shown in the GUIBuilder window a bit Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-29 21:08:30 UTC (rev 229) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-29 21:12:03 UTC (rev 230) @@ -134,8 +134,8 @@ // no converters found means the file format is not supported if (serviceRefList == null || serviceRefList.length == 0){ - guiBuilder.showError("Unsupported File Format", "Sorry, the file format: *"+fileExtension+" is not supported so far.", - "Sorry, the file format: *"+fileExtension+" is not supported so far. \n"+ + guiBuilder.showError("Unsupported File Format", "Sorry, the file format: *."+fileExtension+" is not supported so far.", + "Sorry, the file format: *."+fileExtension+" is not supported so far. \n"+ "Please send your requests to cis...@li.... \n" +"Thank you."); return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bea...@us...> - 2006-09-30 16:21:58
|
Revision: 232 http://svn.sourceforge.net/cishell/?rev=232&view=rev Author: bearsfan Date: 2006-09-30 09:21:53 -0700 (Sat, 30 Sep 2006) Log Message: ----------- Removed a System.out.println on line 122. This printed out the current file extension. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-29 21:31:43 UTC (rev 231) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-09-30 16:21:53 UTC (rev 232) @@ -119,7 +119,7 @@ } String fileExtension = getFileExtension(file); - System.out.println("fileExtension = "+fileExtension); + //System.out.println("fileExtension = "+fileExtension); String filter = "(&(type=converter)(in_data=file-ext:"+fileExtension+"))"; try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2006-10-02 15:54:48
|
Revision: 236 http://svn.sourceforge.net/cishell/?rev=236&view=rev Author: huangb Date: 2006-10-02 08:53:38 -0700 (Mon, 02 Oct 2006) Log Message: ----------- clean up the code a bit Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-02 15:06:00 UTC (rev 235) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-02 15:53:38 UTC (rev 236) @@ -56,7 +56,6 @@ final IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows(); if (windows.length ==0){ -// System.out.println("windows[0] is null!!"); return null; } @@ -72,7 +71,6 @@ return returnDM; } else { -// logger.log(LogService.LOG_INFO, "Did not load any data..."); return null; } @@ -119,7 +117,6 @@ } String fileExtension = getFileExtension(file); - //System.out.println("fileExtension = "+fileExtension); String filter = "(&(type=converter)(in_data=file-ext:"+fileExtension+"))"; try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2006-10-11 20:24:47
|
Revision: 262 http://svn.sourceforge.net/cishell/?rev=262&view=rev Author: huangb Date: 2006-10-11 13:24:41 -0700 (Wed, 11 Oct 2006) Log Message: ----------- changes made by refactor(rename) LoadDataChooser class Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-11 20:23:45 UTC (rev 261) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-11 20:24:41 UTC (rev 262) @@ -157,7 +157,7 @@ } // lots of persisters found, return the chooser - new LoadPersisterChooser("Load", file, window.getShell(), + new LoadDataChooser("Load", file, window.getShell(), ciContext, bContext, serviceRefList, returnList).open(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2006-10-24 05:17:26
|
Revision: 310 http://svn.sourceforge.net/cishell/?rev=310&view=rev Author: huangb Date: 2006-10-23 22:17:17 -0700 (Mon, 23 Oct 2006) Log Message: ----------- when there are multiple converters that can support a certain file format (such as .xml), the application will automatically try one by one till find a good converter to load the file. (the old feature is the application will ask users to choose a converter) If all converters didn't work, the application will report the error in the end. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-23 21:49:51 UTC (rev 309) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2006-10-24 05:17:17 UTC (rev 310) @@ -93,6 +93,7 @@ } final class DataUpdater implements Runnable{ + boolean loadFileSuccess = false; IWorkbenchWindow window; ArrayList returnList = new ArrayList(); @@ -146,27 +147,59 @@ "Sorry, the file format: *."+fileExtension+" is not supported so far. \n"+ "Please send your requests to cis...@li.... \n" +"Thank you."); - return; + } //<filename>[.<data model type>][.<index>] // only one persister found, so load the model - if (serviceRefList.length == 1){ - logger.log(LogService.LOG_INFO, "Loaded: "+file.getPath()); + else if (serviceRefList.length == 1){ AlgorithmFactory persister = (AlgorithmFactory)bContext.getService(serviceRefList[0]); Data[] dm = new Data[]{new BasicData(file.getPath(), String.class.getName()) }; dm = persister.createAlgorithm(dm, null, ciContext).execute(); - for (int i=0; i<dm.length; i++) - returnList.add(dm[i]); - return; + if (dm != null){ + loadFileSuccess = true; + logger.log(LogService.LOG_INFO, "Loaded: "+file.getPath()); + for (int i=0; i<dm.length; i++) + returnList.add(dm[i]); + } + } // lots of persisters found, return the chooser - new LoadDataChooser("Load", file, window.getShell(), - ciContext, bContext, serviceRefList, returnList).open(); - + else if (serviceRefList.length > 1){ +// new LoadDataChooser("Load", file, window.getShell(), +// ciContext, bContext, serviceRefList, returnList).open(); + for (int index=0; index<serviceRefList.length; index++){ + AlgorithmFactory persister = (AlgorithmFactory)bContext.getService(serviceRefList[index]); + Data[] dm = new Data[]{new BasicData(file.getPath(), String.class.getName()) }; + dm = persister.createAlgorithm(dm, null, ciContext).execute(); + if (dm != null ){ + loadFileSuccess = true; + logger.log(LogService.LOG_INFO, "Loaded: "+file.getPath()); + for (int i=0; i<dm.length; i++){ + returnList.add(dm[i]); + } + break; + } + } + } + if (serviceRefList != null){ + if(serviceRefList.length >0 && !loadFileSuccess){ + guiBuilder.showError("Can Not Load The File", + "Sorry, it's very possible that you have a wrong file format," + + "since the file can not be loaded to the application.", + + "Please check Data Formats that this application can support at "+ + "https://nwb.slis.indiana.edu/community/?n=Algorithms.HomePage." + + "And send your requests or report the problem to "+ + "cis...@li.... \n"+"Thank you."); + } + } + + + }catch (Exception e){ e.printStackTrace(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-05-02 16:44:59
|
Revision: 390 http://svn.sourceforge.net/cishell/?rev=390&view=rev Author: huangb Date: 2007-05-02 09:43:51 -0700 (Wed, 02 May 2007) Log Message: ----------- comment out some code to avoid generating duplicate error reports when the application fails to load a file. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-04-26 18:39:27 UTC (rev 389) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-05-02 16:43:51 UTC (rev 390) @@ -185,7 +185,14 @@ } } - if (serviceRefList != null){ + /* + * Bonnie: I commented out the following functions since when + * the application failed to load an nwb file, etc, the reader + * has report the error. It does not need this second error display. + * But maybe not all file readers will generate the error display if + * a failure occurs... + */ +/* if (serviceRefList != null){ if(serviceRefList.length >0 && !loadFileSuccess){ guiBuilder.showError("Can Not Load The File", "Sorry, it's very possible that you have a wrong file format," + @@ -196,8 +203,9 @@ "And send your requests or report the problem to "+ "cis...@li.... \n"+"Thank you."); } + } - +*/ }catch (Exception e){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-09-11 04:02:46
|
Revision: 513 http://cishell.svn.sourceforge.net/cishell/?rev=513&view=rev Author: huangb Date: 2007-09-10 21:02:40 -0700 (Mon, 10 Sep 2007) Log Message: ----------- Change the file extension to lower case before set it in the filter. This change should fix the #86 ticket in the trac. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-09-10 17:22:15 UTC (rev 512) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-09-11 04:02:40 UTC (rev 513) @@ -128,7 +128,7 @@ currentDir = new File(file.getParent() + File.separator + "anything"); } - String fileExtension = getFileExtension(file); + String fileExtension = getFileExtension(file).toLowerCase(); String filter = "(&(type=converter)(in_data=file-ext:"+fileExtension+"))"; try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-09-12 02:50:25
|
Revision: 514 http://cishell.svn.sourceforge.net/cishell/?rev=514&view=rev Author: huangb Date: 2007-09-11 19:50:23 -0700 (Tue, 11 Sep 2007) Log Message: ----------- Now by default File load...points to sampledata/Network directory. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-09-11 04:02:40 UTC (rev 513) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-09-12 02:50:23 UTC (rev 514) @@ -105,13 +105,16 @@ FileDialog dialog = new FileDialog(window.getShell(), SWT.OPEN); if (currentDir == null) { - currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata"); + currentDir = new File(System.getProperty("osgi.install.area").replace("file:","") + + "sampledata"+File.separator+"Network"); if (!currentDir.exists()) { - currentDir = new File(System.getProperty("user.home") + File.separator + "anything"); - } else { - currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata" + File.separator + "anything"); - } + currentDir = new File(System.getProperty("osgi.install.area").replace("file:","") + + "sampledata" +File.separator+"Network"+ File.separator + "anything"); + } +// else { +// currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata" + File.separator + "anything"); +// } } dialog.setFilterPath(currentDir.getPath()); dialog.setText("Select a File"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-12-21 15:18:50
|
Revision: 589 http://cishell.svn.sourceforge.net/cishell/?rev=589&view=rev Author: huangb Date: 2007-12-21 07:18:39 -0800 (Fri, 21 Dec 2007) Log Message: ----------- set the default directory for File-->Load as sampledata directory, which contains isi and network sub-folders. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-12-19 20:50:31 UTC (rev 588) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-12-21 15:18:39 UTC (rev 589) @@ -106,15 +106,12 @@ FileDialog dialog = new FileDialog(window.getShell(), SWT.OPEN); if (currentDir == null) { currentDir = new File(System.getProperty("osgi.install.area").replace("file:","") - + "sampledata"+File.separator+"Network"); + + "sampledata"); if (!currentDir.exists()) { currentDir = new File(System.getProperty("osgi.install.area").replace("file:","") - + "sampledata" +File.separator+"Network"+ File.separator + "anything"); - } -// else { -// currentDir = new File(System.getProperty("user.dir") + File.separator + "sampledata" + File.separator + "anything"); -// } + + "sampledata" +File.separator + "anything"); + } } dialog.setFilterPath(currentDir.getPath()); dialog.setText("Select a File"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mwl...@us...> - 2008-02-26 23:31:27
|
Revision: 640 http://cishell.svn.sourceforge.net/cishell/?rev=640&view=rev Author: mwlinnem Date: 2008-02-26 15:31:15 -0800 (Tue, 26 Feb 2008) Log Message: ----------- Minor change in error message text. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-02-26 19:51:53 UTC (rev 639) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-02-26 23:31:15 UTC (rev 640) @@ -143,8 +143,8 @@ // no converters found means the file format is not supported if (serviceRefList == null || serviceRefList.length == 0){ - guiBuilder.showError("Unsupported File Format", "Sorry, the file format: *."+fileExtension+" is not supported so far.", - "Sorry, the file format: *."+fileExtension+" is not supported so far. \n"+ + guiBuilder.showError("Unsupported File Format", "Sorry, the file format: *."+fileExtension+" is not yet supported.", + "Sorry, the file format: *."+fileExtension+" is not yet supported. \n"+ "Please send your requests to cis...@li.... \n" +"Thank you."); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mwl...@us...> - 2008-03-27 14:51:00
|
Revision: 726 http://cishell.svn.sourceforge.net/cishell/?rev=726&view=rev Author: mwlinnem Date: 2008-03-27 07:50:53 -0700 (Thu, 27 Mar 2008) Log Message: ----------- Removed error when you cancel a file load. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-03-27 14:44:41 UTC (rev 725) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-03-27 14:50:53 UTC (rev 726) @@ -76,7 +76,8 @@ return returnDM; } else { - throw new AlgorithmExecutionException("No data could be loaded."); + this.logger.log(LogService.LOG_WARNING, "File loading canceled"); + return new Data[0]; } } catch (AlgorithmExecutionException e1) { throw e1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2008-03-27 18:59:49
|
Revision: 731 http://cishell.svn.sourceforge.net/cishell/?rev=731&view=rev Author: huangb Date: 2008-03-27 11:59:44 -0700 (Thu, 27 Mar 2008) Log Message: ----------- change filter from type=converter to type=validator Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-03-27 18:46:00 UTC (rev 730) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2008-03-27 18:59:44 UTC (rev 731) @@ -133,7 +133,7 @@ } String fileExtension = getFileExtension(file).toLowerCase(); - String filter = "(&(type=converter)(in_data=file-ext:"+fileExtension+"))"; + String filter = "(&(type=validator)(in_data=file-ext:"+fileExtension+"))"; try { // set the properties for the resource descriptor. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |