public TaskDefinitionsScopeNode(IAzManApplication application)
     : base(!application.HasItems(ItemType.Task))
 {
     this.application = application;
     // Create a message view for the Store Groups node.
     MMC.MmcListViewDescription lvdTasks = new MMC.MmcListViewDescription();
     lvdTasks.DisplayName = Globalization.MultilanguageResource.GetString("Folder_Msg120");
     lvdTasks.ViewType    = typeof(ItemDefinitionsListView);
     lvdTasks.Options     = MMC.MmcListViewOptions.AllowUserInitiatedModeChanges;
     this.ViewDescriptions.Clear();
     this.ViewDescriptions.Add(lvdTasks);
     this.ViewDescriptions.DefaultIndex = 0;
     this.RenderTaskDefinitions();
 }
 public OperationDefinitionsScopeNode(IAzManApplication application)
     : base(!application.HasItems(ItemType.Operation))
 {
     this.application = application;
     // Create a message view for the Store Groups node.
     MMC.MmcListViewDescription lvdOperations = new MMC.MmcListViewDescription();
     lvdOperations.DisplayName = Globalization.MultilanguageResource.GetString("Folder_Msg50");
     lvdOperations.ViewType = typeof(ItemDefinitionsListView);
     lvdOperations.Options = MMC.MmcListViewOptions.AllowUserInitiatedModeChanges;
     this.ViewDescriptions.Clear();
     this.ViewDescriptions.Add(lvdOperations);
     this.ViewDescriptions.DefaultIndex = 0;
     this.RenderOperationDefinitions();
 }