Changeset 5659
- Timestamp:
- 10/09/08 10:12:59 (6 weeks ago)
- Location:
- branches/Beta3.1/SRC/org/openmicroscopy/shoola
- Files:
-
- 4 modified
-
agents/editor/browser/NavTree.java (modified) (1 diff)
-
util/filter/file/CustomizedFileFilter.java (modified) (2 diffs)
-
util/filter/file/EditorFileFilter.java (modified) (1 diff)
-
util/ui/lens/LensModel.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/Beta3.1/SRC/org/openmicroscopy/shoola/agents/editor/browser/NavTree.java
r5590 r5659 115 115 { 116 116 TreePath path = navTree.getSelectionPath(); 117 117 if (path == null) return; 118 118 mainTree.expandPath(path.getParentPath()); 119 119 mainTree.setSelectionPath(path); -
branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/filter/file/CustomizedFileFilter.java
r5633 r5659 60 60 { 61 61 if (name == null || extensions == null) return false; 62 for (int i = 0; i < extensions.length; i++) { 63 if (name.endsWith("."+extensions[i])) return true; 64 } 65 return false; 66 /* 62 67 String extension = null; 63 68 int i = name.lastIndexOf('.'); … … 68 73 if (extension.equals(extensions[j])) return true; 69 74 return false; 75 */ 70 76 } 71 77 -
branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/filter/file/EditorFileFilter.java
r5654 r5659 52 52 public static final String PRO_XML = "pro.xml"; 53 53 54 /** Possible file extensions. */55 private static final String XML = "xml";56 57 54 /** The possible extensions. */ 58 55 private static final String[] extensions; 59 56 60 57 static { 61 extensions = new String[ 2];58 extensions = new String[1]; 62 59 extensions[0] = PRO_XML; 63 extensions[1] = XML;64 60 } 65 61 -
branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/ui/lens/LensModel.java
r5500 r5659 193 193 194 194 graphics2D.drawImage(image, 0, 0, thumbWidth, thumbHeight, null); 195 graphics2D.dispose(); 195 196 return thumbImage; 196 197 }
