Changeset 3782


Ignore:
Timestamp:
Aug 23, 2010, 9:46:34 AM (13 years ago)
Author:
Fredrik Levander
Message:

Refs #614. reformatted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/feature/ViewFeatureHits.java

    r3781 r3782  
    4747
    4848/**
     49 * The class will list hits that are associated with a feature
    4950 *
    5051 * @author fredrik, gregory
     
    5758      throws ActionException, InvalidParameterValue
    5859  {
    59   Integer featureId;
     60    Integer featureId;
    6061    Table tbl;
    6162    RowLayout layout;
    6263    Title title;
    63   DbControl dc;
    64   ItemFactory factory;
    65   Feature feature;
    66   List<Hit> hits;
     64    DbControl dc;
     65    ItemFactory factory;
     66    Feature feature;
     67    List<Hit> hits;
    6768
    6869    featureId = getValidInteger(FormFactory.VID);
     
    7273    {
    7374      // Use ConfigureTableFactory2 to configure TableFactory2
    74       setAttribute(ConfigureTableFactory2.VWRAPPERCLASS, Hit.class.getName());
    75       setAttribute(ConfigureTableFactory2.VDATACLASS, HitData.class.getName());
    76       setAttribute(ConfigureTableFactory2.VFORWARDTO, ViewFeatureHits.class.getName());
     75      setAttribute(ConfigureTableFactory2.VWRAPPERCLASS, Hit.class
     76        .getName());
     77      setAttribute(ConfigureTableFactory2.VDATACLASS, HitData.class
     78        .getName());
     79      setAttribute(ConfigureTableFactory2.VFORWARDTO,
     80        ViewFeatureHits.class.getName());
    7781      setAttribute(ConfigureTableFactory2.VONLYINPROJECT, true);
    7882      setAttribute(ConfigureTableFactory2.VUSEDEFAULT, false);
    7983      setForwardTo(ConfigureTableFactory2.class);
    80    return; // Stop here
     84      return; // Stop here
    8185    }
    8286
     
    8791    hits.addAll(feature.getHits());
    8892
    89   // Use the preconfigured TableFactory2 to build a new table for us
     93    // Use the preconfigured TableFactory2 to build a new table for us
    9094    getTableFactory2().setIterator(hits.iterator());
    9195    tbl = getTableFactory2().build();
Note: See TracChangeset for help on using the changeset viewer.