• 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 Change
  • Next Change →

Changeset 5525 for trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/AdminLoader.java

Show
Ignore:
Timestamp:
06/30/08 10:15:48 (5 months ago)
Author:
jburel
Message:

Cleaning code and modified group selection

Files:
1 modified

  • trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/AdminLoader.java (modified) (4 diffs)

Legend:

Unmodified
Added
Removed
  • trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/AdminLoader.java

    r5292 r5525  
    5555{ 
    5656 
    57         /** Identifies to load the available groups. */ 
    58         public static final int GROUP = 0; 
    59          
    6057        /** Identifies to load the available and used space. */ 
    6158        public static final int SPACE = 1; 
    … …  
    6865     
    6966    /** 
    70      * Creates a {@link BatchCall} to retrieve the experimenter groups. 
    71      *  
    72      * @param userID    The id of the user or <code>-1</code>. 
    73      * @return The {@link BatchCall}. 
    74      */ 
    75     private BatchCall availableGroupsCall(final long userID) 
    76     { 
    77         return new BatchCall("Loading experimenter groups") { 
    78             public void doCall() throws Exception 
    79             { 
    80                 OmeroDataService os = context.getDataService(); 
    81                 result = os.getAvailableGroups(); 
    82             } 
    83         }; 
    84     } 
    85      
    86     /** 
    8767     * Creates a {@link BatchCall} to retrieve the available and used 
    8868     * disk space. 
    … …  
    9373    private BatchCall availableSpaceCall(final long userID) 
    9474    { 
    95         return new BatchCall("Loading available and used disk space") { 
     75        return new BatchCall("Loading disk space information") { 
    9676            public void doCall() throws Exception 
    9777            { 
    … …  
    163143    { 
    164144        switch (index) { 
    165                         case GROUP: 
    166                                 loadCall = availableGroupsCall(userID); 
    167                                 break; 
    168145                        case SPACE: 
    169146                                loadCall = availableSpaceCall(userID); 

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/