Changeset 5627
- Timestamp:
- 09/25/08 09:22:07 (2 months ago)
- Location:
- trunk/SRC/org/openmicroscopy/shoola/agents/editor
- Files:
-
- 1 added
- 2 modified
-
IconManager.java (modified) (3 diffs)
-
actions/ActivationAction.java (modified) (1 diff)
-
graphx/omeroEditor16.png (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/org/openmicroscopy/shoola/agents/editor/IconManager.java
r5626 r5627 237 237 public static int FULL_LOCK = 56; 238 238 239 /** The <code>OMERO.editor 16</code> icon. */ 240 public static int OMERO_EDITOR = 57; 241 239 242 240 243 /** … … 242 245 * Allows to correctly build arrays for direct indexing. 243 246 */ 244 private static int MAX_ID = 5 6;247 private static int MAX_ID = 57; 245 248 246 249 /** Paths of the icon files. */ … … 311 314 relPaths[TEMPLATE_LOCK] = "nuvola_encrypted16.png"; 312 315 relPaths[FULL_LOCK] = "nuvola_encrypted_red16.png"; 316 relPaths[OMERO_EDITOR] = "omeroEditor16.png"; 313 317 } 314 318 -
trunk/SRC/org/openmicroscopy/shoola/agents/editor/actions/ActivationAction.java
r5567 r5627 67 67 super(model); 68 68 setEnabled(true); 69 putValue(Action.NAME, model.getEditorTitle()); 70 putValue(Action.SHORT_DESCRIPTION, 71 UIUtilities.formatToolTipText(DESCRIPTION)); 72 IconManager im = IconManager.getInstance(); 73 putValue(Action.SMALL_ICON, im.getImageIcon(IconManager.EDITOR)); 69 setName(model.getEditorTitle()); 70 setDescription(DESCRIPTION); 71 setIcon(IconManager.OMERO_EDITOR); 74 72 } 75 73
