/[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 86 by rvvs89, Mon Oct 11 06:42:56 2010 UTC revision 87 by rvvs89, Mon Oct 11 21:19:18 2010 UTC
# Line 8  namespace MetadataPlugin.Source Line 8  namespace MetadataPlugin.Source
8  {  {
9      class MetadataActivityReportPages : IExtendDailyActivityViewActions      class MetadataActivityReportPages : IExtendDailyActivityViewActions
10      {      {
11            private static IDailyActivityView view;
12    
13            public static IDailyActivityView View
14            {
15                get { return view; }
16            }
17    
18          public IList<IAction> GetActions(IDailyActivityView view, ExtendViewActions.Location location)          public IList<IAction> GetActions(IDailyActivityView view, ExtendViewActions.Location location)
19          {          {
20                MetadataActivityReportPages.view = view;
21              return location == ExtendViewActions.Location.EditMenu ? new List<IAction> { new AddToPointAction(view), new AddToRangeAction(view), new AddToRouteAction(view) } : null;              return location == ExtendViewActions.Location.EditMenu ? new List<IAction> { new AddToPointAction(view), new AddToRangeAction(view), new AddToRouteAction(view) } : null;
22          }          }
23      }      }

Legend:
Removed from v.86  
changed lines
  Added in v.87

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26