public override void ElementAttributeChanged(ElementAttributeChangedEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }
            SimpleDecoratorMapping.UpdateDecoratorsFromObjectModel(e.ModelElement, e.MetaAttribute.Id);

            //if (e.MetaAttribute.Id == ISpySoft.SFSchemaLanguage.DomainModel.Artifact.TypeMetaAttributeGuid)
            //{

            //    foreach (ISpySoft.SFSchemaLanguage.Designer.ArtifactShape afs in e.ModelElement.AssociatedPresentationElements)
            //    {
            //        foreach (System.ComponentModel.PropertyDescriptor property in e.ModelElement.GetProperties())
            //        {
            //            if (property.Name == "Type" && (ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType)property.GetValue(property) == ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType.Asset)
            //            {
            //                afs.FillColor = System.Drawing.Color.Lime;
            //            }
            //            if (property.Name == "Type" && (ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType)property.GetValue(property) == ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType.Tool)
            //            {
            //                afs.FillColor = System.Drawing.Color.Red;
            //            }
            //            if (property.Name == "Type" && (ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType)property.GetValue(property) == ISpySoft.SFSchemaLanguage.DomainModel.ArtifactType.WorkProduct)
            //            {
            //                afs.FillColor = System.Drawing.Color.Green;
            //            }
            //
            //        }

            //    }
            //}
        }
 public override void ElementAttributeChanged(ElementAttributeChangedEventArgs e)
 {
     if (e == null)
     {
         throw new ArgumentNullException("e");
     }
     SimpleDecoratorMapping.UpdateDecoratorsFromObjectModel(e.ModelElement, e.MetaAttribute.Id);
 }