• 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 5628

Show
Ignore:
Timestamp:
09/25/08 14:18:19 (2 months ago)
Author:
jburel
Message:

Fixed remaining problems

Location:
trunk
Files:
1 added
9 modified

  • .classpath (modified) (2 diffs)
  • LIB/jakarta-oro-2.0.8.jar (added)
  • SRC/org/openmicroscopy/shoola/agents/treeviewer/PlateWellsLoader.java (modified) (1 diff)
  • SRC/org/openmicroscopy/shoola/agents/treeviewer/view/ToolBar.java (modified) (1 diff)
  • SRC/org/openmicroscopy/shoola/agents/treeviewer/view/TreeViewerWin.java (modified) (3 diffs)
  • SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java (modified) (5 diffs)
  • SRC/org/openmicroscopy/shoola/env/data/views/calls/ThumbnailSetLoader.java (modified) (3 diffs)
  • SRC/org/openmicroscopy/shoola/util/ui/login/ScreenLogin.java (modified) (1 diff)
  • build/dist.xml (modified) (1 diff)
  • config/container.xml (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • trunk/.classpath

    r5598 r5628  
    1717        <classpathentry kind="lib" path="LIB/JHotDraw-7.0.9.jar"/> 
    1818        <classpathentry kind="lib" path="LIB/persistence-api-1.0.jar"/> 
    19         <classpathentry kind="lib" path="LIB/jakarta-oro.jar"/> 
    2019        <classpathentry kind="lib" path="LIB/commons-validator.jar"/> 
    2120        <classpathentry kind="lib" path="LIB/commons-digester.jar"/> 
    … …  
    3534        <classpathentry kind="lib" path="LIB/hibernate-search-3.0.1.GA.jar"/> 
    3635        <classpathentry kind="lib" path="LIB/hibernate-annotations-3.3.1.GA.jar"/> 
     36        <classpathentry kind="lib" path="LIB/jakarta-oro-2.0.8.jar"/> 
    3737        <classpathentry kind="output" path="bin"/> 
    3838</classpath> 
  • trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/PlateWellsLoader.java

    r5538 r5628  
    3535import org.openmicroscopy.shoola.agents.treeviewer.browser.TreeImageSet; 
    3636import org.openmicroscopy.shoola.env.data.views.CallHandle; 
    37 import pojos.ExperimenterData; 
     37 
    3838 
    3939/**  
    40  *  
     40 * Loads the plate/wells. 
     41 * This class calls the <code>loadPlateWells</code> method in the 
     42 * <code>DataManagerView</code>.  
    4143 * 
    4244 * @author  Jean-Marie Burel &nbsp;&nbsp;&nbsp;&nbsp; 
  • trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/ToolBar.java

    r5609 r5628  
    103103                TreeViewerControl.CREATE_TOP_SCREEN)); 
    104104        UIUtilities.unifiedButtonLookAndFeel(b); 
    105         bar.add(b); 
     105        //bar.add(b); 
    106106         
    107107        b = new JButton(controller.getAction( 
  • trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/TreeViewerWin.java

    r5538 r5628  
    158158        //browser = (Browser) browsers.get(new Integer( 
    159159        //                                    Browser.CATEGORY_EXPLORER)); 
    160         browser = (Browser) browsers.get(new Integer(Browser.SCREENS_EXPLORER)); 
    161         if (browser.isDisplayed()) 
    162             tabs.addTab(browser.getTitle(), browser.getIcon(), browser.getUI()); 
     160        //browser = (Browser) browsers.get(new Integer(Browser.SCREENS_EXPLORER)); 
     161        //if (browser.isDisplayed()) 
     162        //    tabs.addTab(browser.getTitle(), browser.getIcon(), browser.getUI()); 
    163163        browser = (Browser) browsers.get(new Integer(Browser.TAGS_EXPLORER)); 
    164164        if (browser.isDisplayed()) 
    … …  
    217217        item.setAction(controller.getAction( 
    218218                        TreeViewerControl.SCREENS_EXPLORER)); 
    219         menu.add(item); 
     219        //menu.add(item); 
    220220        item = new JCheckBoxMenuItem(); 
    221221        browser = (Browser) browsers.get(new Integer(Browser.TAGS_EXPLORER)); 
    … …  
    249249        a = controller.getAction(TreeViewerControl.CREATE_TOP_SCREEN); 
    250250        item = new JMenuItem(a); 
    251         menu.add(item); 
     251        //menu.add(item); 
    252252        item.setText(a.getActionName()); 
    253253        a = controller.getAction(TreeViewerControl.CREATE_OBJECT); 
  • trunk/SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java

    r5609 r5628  
    26542654         
    26552655        /** 
    2656          * Formats the elements of the passed array, the field to use. 
    2657          *  
    2658          * @param terms 
    2659          * @param field 
     2656         * Formats the elements of the passed array. Adds the  
     2657         * passed field in front of each term. 
     2658         *  
     2659         * @param terms The terms to format. 
     2660         * @param field The string to add in front of the terms. 
    26602661         * @return See above. 
    26612662         */ 
    … …  
    26642665                if (terms == null || terms.length == 0) return null; 
    26652666                String[] formatted = new String[terms.length]; 
    2666                 for (int i = 0; i < terms.length; i++) { 
     2667                for (int i = 0; i < terms.length; i++)  
    26672668                        formatted[i] = field+":"+terms[i]; 
    2668                 } 
    26692669                return formatted; 
    26702670        } 
    26712671         
    26722672        /** 
    2673          *  
    2674          * @param terms 
    2675          * @param firstField 
    2676          * @param sep 
    2677          * @param secondField 
    2678          * @return 
     2673         * Formats the elements of the passed array. Adds the  
     2674         * passed field in front of each term. 
     2675         * @param terms                 The terms to format. 
     2676         * @param firstField    The string to add in front of the terms. 
     2677         * @param sep                   Separator used to join, exclude etc. 
     2678         * @param secondField   The string to add in front of the terms. 
     2679         * @return See above. 
    26792680         */ 
    26802681        private String[] formatText(String[] terms, String firstField, String sep, 
    … …  
    26862687                        formatted[i] = firstField+":"+terms[i]+" "+sep+" "; 
    26872688                        formatted[i] += secondField+":"+terms[i]; 
    2688                         System.err.println(formatted[i]); 
    26892689                } 
    26902690                return formatted; 
    … …  
    27262726                                        break; 
    27272727                                case SearchDataContext.ANNOTATION_TIME: 
    2728                                         service.onlyAnnotatedBetween(start, end); 
    2729                                         break; 
    2730                                                  
     2728                                        service.onlyAnnotatedBetween(start, end);        
    27312729                        } 
    27322730                } 
    … …  
    28152813                                        service.bySomeMustNone(fSome, fMust, fNone); 
    28162814                                        size = handleSearchResult(Image.class, rType, service); 
    2817                                         if (size instanceof Integer)  
     2815                                        if (size instanceof Integer) 
    28182816                                                results.put(key, size); 
    28192817                                        service.clearQueries(); 
  • trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/ThumbnailSetLoader.java

    r5618 r5628  
    130130        int value = -1; 
    131131        Object fSize = context.lookup(LookupNames.THUMBNAIL_FETCH_SZ); 
    132         if (fSize == null || !(fSize instanceof Integer)) { 
    133                 context.getLogger().warn(this, "Thumbnail fetching size not set"); 
     132 
     133        if (fSize != null && (fSize instanceof Integer))  
    134134                value = (Integer) fSize; 
    135         } 
     135        else context.getLogger().warn(this, "Thumbnail fetching size not set"); 
    136136        if (value <= 0) value = FETCH_SIZE; 
    137137        UserCredentials uc =  
    … …  
    143143                                fSpeed = context.lookup( 
    144144                                                LookupNames.THUMBNAIL_FETCH_MEDIUM_SPEED); 
    145                                 if (fSpeed == null || !(fSpeed instanceof Double)) { 
     145                                if (fSpeed != null && (fSpeed instanceof Double))  
     146                                        f = (Double) fSpeed; 
     147                        else  
    146148                                context.getLogger().warn(this, "Thumbnail " + 
    147149                                                "fetching factor not set"); 
    148                                 f = (Double) fSpeed; 
    149                         } 
    150150                                if (f <= 0 || f > 1) f = FETCH_MEDIUM_SPEED; 
    151151                                fetchSize = (int) (value*f); 
    … …  
    154154                                fSpeed = context.lookup( 
    155155                                                LookupNames.THUMBNAIL_FETCH_LOW_SPEED); 
    156                                 if (fSpeed == null || !(fSpeed instanceof Double)) { 
     156                                if (fSpeed != null && (fSpeed instanceof Double))  
     157                                        f = (Double) fSpeed; 
     158                        else  
    157159                                context.getLogger().warn(this, "Thumbnail " + 
    158160                                                "fetching factor not set"); 
    159                                 f = (Double) fSpeed; 
    160                         } 
    161161                                if (f <= 0 || f > 1) f = FETCH_LOW_SPEED; 
    162162                                fetchSize = (int) (value*f); 
  • trunk/SRC/org/openmicroscopy/shoola/util/ui/login/ScreenLogin.java

    r5617 r5628  
    338338                JPanel mainPanel = new JPanel(); 
    339339                int g = 5; 
    340                 mainPanel.setBorder(BorderFactory.createEmptyBorder(g, g, g, g)); 
     340                int t = 10; 
     341                mainPanel.setBorder(BorderFactory.createEmptyBorder(t, g, t, g)); 
    341342                mainPanel.setOpaque(false); 
    342343                double[][] size = {{TableLayout.PREFERRED, TableLayout.FILL,  
  • trunk/build/dist.xml

    r5607 r5628  
    5555  <property name="dist.jar.file" value="omero.insight.jar"/> 
    5656  <property name="dist.bundle.name" value="omero.insight"/>  
    57   <property name="dist.bundle.version" value="Beta3.1rc1"/> 
     57  <property name="dist.bundle.version" value="Beta3.1rc3"/> 
    5858  <fileset id="dist.launch.scripts" dir="${base.launch.dir}"> 
    5959    <include name="*.sh"/> 
  • trunk/config/container.xml

    r5605 r5628  
    267267   *  
    268268  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> 
    269     <entry name="Version">Beta3.1</entry> 
     269    <entry name="Version">Beta3.1rc3</entry> 
    270270    <entry name="SoftwareName">OMERO.insight</entry> 
    271271    <entry name="AboutFile">about.xml</entry> 

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/