Changeset 5628
- Timestamp:
- 09/25/08 14:18:19 (2 months ago)
- 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 17 17 <classpathentry kind="lib" path="LIB/JHotDraw-7.0.9.jar"/> 18 18 <classpathentry kind="lib" path="LIB/persistence-api-1.0.jar"/> 19 <classpathentry kind="lib" path="LIB/jakarta-oro.jar"/>20 19 <classpathentry kind="lib" path="LIB/commons-validator.jar"/> 21 20 <classpathentry kind="lib" path="LIB/commons-digester.jar"/> … … 35 34 <classpathentry kind="lib" path="LIB/hibernate-search-3.0.1.GA.jar"/> 36 35 <classpathentry kind="lib" path="LIB/hibernate-annotations-3.3.1.GA.jar"/> 36 <classpathentry kind="lib" path="LIB/jakarta-oro-2.0.8.jar"/> 37 37 <classpathentry kind="output" path="bin"/> 38 38 </classpath> -
trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/PlateWellsLoader.java
r5538 r5628 35 35 import org.openmicroscopy.shoola.agents.treeviewer.browser.TreeImageSet; 36 36 import org.openmicroscopy.shoola.env.data.views.CallHandle; 37 import pojos.ExperimenterData; 37 38 38 39 39 /** 40 * 40 * Loads the plate/wells. 41 * This class calls the <code>loadPlateWells</code> method in the 42 * <code>DataManagerView</code>. 41 43 * 42 44 * @author Jean-Marie Burel -
trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/ToolBar.java
r5609 r5628 103 103 TreeViewerControl.CREATE_TOP_SCREEN)); 104 104 UIUtilities.unifiedButtonLookAndFeel(b); 105 bar.add(b);105 //bar.add(b); 106 106 107 107 b = new JButton(controller.getAction( -
trunk/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/TreeViewerWin.java
r5538 r5628 158 158 //browser = (Browser) browsers.get(new Integer( 159 159 // 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()); 163 163 browser = (Browser) browsers.get(new Integer(Browser.TAGS_EXPLORER)); 164 164 if (browser.isDisplayed()) … … 217 217 item.setAction(controller.getAction( 218 218 TreeViewerControl.SCREENS_EXPLORER)); 219 menu.add(item);219 //menu.add(item); 220 220 item = new JCheckBoxMenuItem(); 221 221 browser = (Browser) browsers.get(new Integer(Browser.TAGS_EXPLORER)); … … 249 249 a = controller.getAction(TreeViewerControl.CREATE_TOP_SCREEN); 250 250 item = new JMenuItem(a); 251 menu.add(item);251 //menu.add(item); 252 252 item.setText(a.getActionName()); 253 253 a = controller.getAction(TreeViewerControl.CREATE_OBJECT); -
trunk/SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java
r5609 r5628 2654 2654 2655 2655 /** 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. 2660 2661 * @return See above. 2661 2662 */ … … 2664 2665 if (terms == null || terms.length == 0) return null; 2665 2666 String[] formatted = new String[terms.length]; 2666 for (int i = 0; i < terms.length; i++) {2667 for (int i = 0; i < terms.length; i++) 2667 2668 formatted[i] = field+":"+terms[i]; 2668 }2669 2669 return formatted; 2670 2670 } 2671 2671 2672 2672 /** 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. 2679 2680 */ 2680 2681 private String[] formatText(String[] terms, String firstField, String sep, … … 2686 2687 formatted[i] = firstField+":"+terms[i]+" "+sep+" "; 2687 2688 formatted[i] += secondField+":"+terms[i]; 2688 System.err.println(formatted[i]);2689 2689 } 2690 2690 return formatted; … … 2726 2726 break; 2727 2727 case SearchDataContext.ANNOTATION_TIME: 2728 service.onlyAnnotatedBetween(start, end); 2729 break; 2730 2728 service.onlyAnnotatedBetween(start, end); 2731 2729 } 2732 2730 } … … 2815 2813 service.bySomeMustNone(fSome, fMust, fNone); 2816 2814 size = handleSearchResult(Image.class, rType, service); 2817 if (size instanceof Integer) 2815 if (size instanceof Integer) 2818 2816 results.put(key, size); 2819 2817 service.clearQueries(); -
trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/ThumbnailSetLoader.java
r5618 r5628 130 130 int value = -1; 131 131 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)) 134 134 value = (Integer) fSize; 135 }135 else context.getLogger().warn(this, "Thumbnail fetching size not set"); 136 136 if (value <= 0) value = FETCH_SIZE; 137 137 UserCredentials uc = … … 143 143 fSpeed = context.lookup( 144 144 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 146 148 context.getLogger().warn(this, "Thumbnail " + 147 149 "fetching factor not set"); 148 f = (Double) fSpeed;149 }150 150 if (f <= 0 || f > 1) f = FETCH_MEDIUM_SPEED; 151 151 fetchSize = (int) (value*f); … … 154 154 fSpeed = context.lookup( 155 155 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 157 159 context.getLogger().warn(this, "Thumbnail " + 158 160 "fetching factor not set"); 159 f = (Double) fSpeed;160 }161 161 if (f <= 0 || f > 1) f = FETCH_LOW_SPEED; 162 162 fetchSize = (int) (value*f); -
trunk/SRC/org/openmicroscopy/shoola/util/ui/login/ScreenLogin.java
r5617 r5628 338 338 JPanel mainPanel = new JPanel(); 339 339 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)); 341 342 mainPanel.setOpaque(false); 342 343 double[][] size = {{TableLayout.PREFERRED, TableLayout.FILL, -
trunk/build/dist.xml
r5607 r5628 55 55 <property name="dist.jar.file" value="omero.insight.jar"/> 56 56 <property name="dist.bundle.name" value="omero.insight"/> 57 <property name="dist.bundle.version" value="Beta3.1rc 1"/>57 <property name="dist.bundle.version" value="Beta3.1rc3"/> 58 58 <fileset id="dist.launch.scripts" dir="${base.launch.dir}"> 59 59 <include name="*.sh"/> -
trunk/config/container.xml
r5605 r5628 267 267 * 268 268 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> 269 <entry name="Version">Beta3.1 </entry>269 <entry name="Version">Beta3.1rc3</entry> 270 270 <entry name="SoftwareName">OMERO.insight</entry> 271 271 <entry name="AboutFile">about.xml</entry>
