Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/11 16:08:27 (13 years ago)
Author:
msammer
Message:

#1520 Added the Run-detail-view which shows the properties and the values of a run. Property-values are shown in a AJAX-based extra view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models/QueryModel.cs

    r6226 r6253  
    2929        }
    3030
     31        public RunCollectionData getRun(long id) {
     32            QueryServiceClient client = Query.GetClientFactory();
     33
     34            if (client != null) {
     35                Run run = client.GetRuns(new long[1] { id }, false).ToList<Run>().First();
     36                RunCollectionData rcd = new RunCollectionData(run);
     37
     38                return rcd;
     39            }
     40            return null;
     41        }
     42
    3143        // just 4 testing
    3244        public IList<RunCollectionData> getTestRuns() {
     
    5163            return new List<RunCollectionData>();
    5264        }
     65
    5366    }
    5467}
Note: See TracChangeset for help on using the changeset viewer.