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

Show
Ignore:
Timestamp:
09/25/08 09:22:07 (2 months ago)
Author:
will
Message:

Editor Icon

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  
    237237    public  static int                  FULL_LOCK = 56; 
    238238     
     239    /** The <code>OMERO.editor 16</code> icon. */ 
     240    public  static int                  OMERO_EDITOR = 57; 
     241     
    239242     
    240243    /**  
    … …  
    242245     * Allows to correctly build arrays for direct indexing.  
    243246     */ 
    244     private static int          MAX_ID = 56; 
     247    private static int          MAX_ID = 57; 
    245248     
    246249    /** Paths of the icon files. */ 
    … …  
    311314        relPaths[TEMPLATE_LOCK] = "nuvola_encrypted16.png"; 
    312315        relPaths[FULL_LOCK] = "nuvola_encrypted_red16.png"; 
     316        relPaths[OMERO_EDITOR] = "omeroEditor16.png"; 
    313317    } 
    314318     
  • trunk/SRC/org/openmicroscopy/shoola/agents/editor/actions/ActivationAction.java

    r5567 r5627  
    6767        super(model); 
    6868        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); 
    7472    } 
    7573 

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/