• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.clients
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 5659

Show
Ignore:
Timestamp:
10/09/08 10:12:59 (6 weeks ago)
Author:
jburel
Message:

Fixed minor bugs

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  
    115115                        { 
    116116                                TreePath path = navTree.getSelectionPath(); 
    117                                  
     117                                if (path == null) return; 
    118118                                mainTree.expandPath(path.getParentPath()); 
    119119                                mainTree.setSelectionPath(path); 
  • branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/filter/file/CustomizedFileFilter.java

    r5633 r5659  
    6060        { 
    6161                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                /* 
    6267                String extension = null; 
    6368                int i = name.lastIndexOf('.'); 
    … …  
    6873                        if (extension.equals(extensions[j])) return true; 
    6974                return false; 
     75                */ 
    7076        } 
    7177         
  • branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/filter/file/EditorFileFilter.java

    r5654 r5659  
    5252        public static final String      PRO_XML = "pro.xml"; 
    5353         
    54         /** Possible file extensions. */ 
    55         private static final String     XML = "xml"; 
    56          
    5754        /** The possible extensions. */ 
    5855        private static final String[] extensions; 
    5956         
    6057        static { 
    61                 extensions = new String[2]; 
     58                extensions = new String[1]; 
    6259                extensions[0] = PRO_XML; 
    63                 extensions[1] = XML; 
    6460        } 
    6561         
  • branches/Beta3.1/SRC/org/openmicroscopy/shoola/util/ui/lens/LensModel.java

    r5500 r5659  
    193193    
    194194        graphics2D.drawImage(image, 0, 0, thumbWidth, thumbHeight, null); 
     195        graphics2D.dispose(); 
    195196        return thumbImage; 
    196197    } 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/