Changeset 3584


Ignore:
Timestamp:
Jul 20, 2007, 12:09:08 PM (14 years ago)
Author:
Martin Svensson
Message:

References #686 Updated gui contexts in JepExtraValueCalculator? to also include bioassays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/JepExtraValueCalculator.java

    r3583 r3584  
    2727import java.util.Arrays;
    2828import java.util.Collection;
     29import java.util.Collections;
    2930import java.util.EnumSet;
    3031import java.util.HashSet;
     
    9697 
    9798  private static final Set<Permissions> permissions = new HashSet<Permissions>();
     99  private static final Set<GuiContext> guiContexts = Collections.unmodifiableSet(
     100      new HashSet<GuiContext>(Arrays.asList(CONTEXT_BIOASSAYSET, CONTEXT_BIOASSAYS)));
    98101 
    99102  private static final PluginParameter<String> expressionParameter = new PluginParameter<String>(
     
    204207    -------------------------------------------
    205208  */
     209  @Override
     210  public Set<GuiContext> getGuiContexts()
     211  {
     212    return guiContexts;
     213  }
    206214  public RequestInformation getRequestInformation(GuiContext context, String command)
    207215    throws BaseException
Note: See TracChangeset for help on using the changeset viewer.