/[cits3200i]/branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/MetadataActivityReportPages.cs


UCC Code Repository

Diff of /branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/MetadataActivityReportPages.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 93 by rvvs89, Tue Oct 12 21:18:41 2010 UTC revision 94 by rvvs89, Tue Oct 12 22:55:25 2010 UTC
# Line 9  namespace MetadataPlugin.Source Line 9  namespace MetadataPlugin.Source
9      class MetadataActivityReportPages : IExtendDailyActivityViewActions      class MetadataActivityReportPages : IExtendDailyActivityViewActions
10      {      {
11          private static IDailyActivityView view = null;          private static IDailyActivityView view = null;
12            public static readonly AddToPointAction POINT_ACTION = new AddToPointAction();
13            public static readonly AddToRangeAction RANGE_ACTION = new AddToRangeAction();
14            public static readonly AddToRouteAction ROUTE_ACTION = new AddToRouteAction();
15    
16          public static IDailyActivityView View          public static IDailyActivityView View
17          {          {
# Line 18  namespace MetadataPlugin.Source Line 21  namespace MetadataPlugin.Source
21          public IList<IAction> GetActions(IDailyActivityView view, ExtendViewActions.Location location)          public IList<IAction> GetActions(IDailyActivityView view, ExtendViewActions.Location location)
22          {          {
23              MetadataActivityReportPages.view = view;              MetadataActivityReportPages.view = view;
24              return location == ExtendViewActions.Location.EditMenu ? new List<IAction> { new AddToPointAction(view), new AddToRangeAction(view), new AddToRouteAction() } : null;              return location == ExtendViewActions.Location.EditMenu ? new List<IAction> { POINT_ACTION, RANGE_ACTION, ROUTE_ACTION } : null;
25          }          }
26      }      }
27  }  }

Legend:
Removed from v.93  
changed lines
  Added in v.94

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26