public AddinDescriptionView(AddinData data)
        {
            this.data   = data;
            ContentName = data.Project.Name + " Extension Model";
            //ContentName = data.AddinManifestFileName;
            Project = data.Project;

            descWidget          = new AddinDescriptionWidget();
            descWidget.Changed += delegate {
                IsDirty = true;
            };

            data.Changed += OnDataChanged;

            Reload();
        }
Beispiel #2
0
        public AddinDescriptionView(AddinData data, string manifestFile)
        {
            this.data         = data;
            this.manifestFile = manifestFile;
            ContentName       = manifestFile;
            Project           = data.Project;

            descWidget          = new AddinDescriptionWidget();
            descWidget.Changed += delegate {
                IsDirty = true;
            };

            data.Changed += OnDataChanged;

            Reload();
        }
		public AddinDescriptionView (AddinData data)
		{
			this.data = data;
			ContentName = data.Project.Name + " Extension Model";
			//ContentName = data.AddinManifestFileName;
			Project = data.Project;
			
			descWidget = new AddinDescriptionWidget ();
			descWidget.Changed += delegate {
				IsDirty = true;
			};

			data.Changed += OnDataChanged;
			
			Reload ();
		}
		public AddinDescriptionView (AddinData data, string manifestFile)
		{
			this.data = data;
			this.manifestFile = manifestFile;
			ContentName = manifestFile;
			Project = data.Project;
			
			descWidget = new AddinDescriptionWidget ();
			descWidget.Changed += delegate {
				IsDirty = true;
			};

			data.Changed += OnDataChanged;
			
			Reload ();
		}