/[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 87 by rvvs89, Mon Oct 11 21:19:18 2010 UTC revision 88 by rvvs89, Tue Oct 12 04:54:08 2010 UTC
# Line 19  namespace MetadataPlugin.Source Line 19  namespace MetadataPlugin.Source
19              set { activity = value; }              set { activity = value; }
20          }          }
21    
22            public bool Dirty
23            {
24                get
25                {
26                    // FIXME: implement me
27                    return true;
28                }
29            }
30    
31          public void Commit()          public void Commit()
32          {          {
33              // TODO: create some triggers for this function              // TODO: create some triggers for this function
34              if (activity == null)              if (activity == null || !Dirty)
35                  return;                  return;
36              activity.SetExtensionData(Plugin.Instance.Id, MetadataListSerializer.Serialize(this));              activity.SetExtensionData(Plugin.Instance.Id, MetadataListSerializer.Serialize(this));
37          }          }

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

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26