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


UCC Code Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations) (download)
Mon Oct 11 06:42:56 2010 UTC (11 years, 1 month ago) by rvvs89
File size: 1111 byte(s)
Committing partially implemented Metadata plugin.
Couldn't finish it before the meeting :(
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 MetadataRouteControlLayer : IRouteControlLayer
9 {
10 private static IList<MetadataRouteControlLayer> instances = new List<MetadataRouteControlLayer>(3);
11 private IRouteControl control;
12 private MetadataRouteControlLayerProvider provider;
13
14 public MetadataRouteControlLayer(MetadataRouteControlLayerProvider provider, IRouteControl control)
15 {
16 this.provider = provider;
17 this.control = control;
18 instances.Add(this);
19 }
20
21 public static IList<MetadataRouteControlLayer> Instances
22 {
23 get { return instances; }
24 }
25
26 public IRouteControl Control
27 {
28 get { return control; }
29 }
30
31 public IRouteControlLayerProvider Provider
32 {
33 get { return provider; }
34 }
35
36 public int ZOrder
37 {
38 get { return 0; }
39 }
40 }
41 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26