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


UCC Code Repository

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

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

revision 95 by rvvs89, Tue Oct 12 22:55:25 2010 UTC revision 96 by rvvs89, Wed Oct 13 00:11:17 2010 UTC
# Line 24  namespace MetadataPlugin.Source Line 24  namespace MetadataPlugin.Source
24    
25          public MetadataList()          public MetadataList()
26          {          {
27              icon = MakeMapIcon("MetadataPlugin\\Data\\start.png", new Size(64, 64));              OnDeserialization(null);
28          }          }
29    
30          private MapIcon MakeMapIcon(string name, Size size)          private MapIcon MakeMapIcon(string name, Size size)
# Line 49  namespace MetadataPlugin.Source Line 49  namespace MetadataPlugin.Source
49    
50          public void OnDeserialization(object sender)          public void OnDeserialization(object sender)
51          {          {
52              icon = MakeMapIcon("MetadataPlugin\\Data\\start.png", new Size(64, 64));              icon = MakeMapIcon("MetadataPlugin\\Data\\pointmarker.png", new Size(32, 32));
53              activity = CollectionUtils.GetSingleItemOfType<IActivity>(MetadataActivityReportPages.View.SelectionProvider.SelectedItems);              activity = CollectionUtils.GetSingleItemOfType<IActivity>(MetadataActivityReportPages.View.SelectionProvider.SelectedItems);
54              InvalidateAll();              InvalidateAll();
55          }          }

Legend:
Removed from v.95  
changed lines
  Added in v.96

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26