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


UCC Code Repository

Contents of /branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/MetadataAttachPointerMode.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74 - (show annotations) (download)
Thu Sep 30 05:55:59 2010 UTC (11 years, 2 months ago) by rvvs89
File size: 822 byte(s)
The current code base appears to be mostly stubs from automatically generated code, some of which we shouldn't be extending (when the class is already provided by SportTracks).
The previous revision has an infinite recursion in one of the IExtend interfaces that causes SportTracks to fail to start.
I'm deleting everything and starting again.
Added a RouteControlPointerMode for attaching data and supporting classes.
Added an icon for the pointer mode.
Fixed namespace issues in Plugin.cs, can't really be bothered checking svn blame to see where they snuck in.
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using ZoneFiveSoftware.Common.Visuals.Mapping;
5
6 namespace MetadataPlugin.Source
7 {
8 class MetadataAttachPointerMode : IRouteControlPointerMode
9 {
10 private IRouteControl control;
11 private MetadataAttachPointerModeProvider provider;
12
13 public MetadataAttachPointerMode(IRouteControl control, MetadataAttachPointerModeProvider provider)
14 {
15 this.control = control;
16 this.provider = provider;
17 }
18
19 public System.Windows.Forms.Control CreateToolbarControl()
20 {
21 return new MetadataAttachPointerModeControl();
22 }
23
24 public IRouteControlPointerModeProvider Provider
25 {
26 get { return provider; }
27 }
28 }
29 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26