//private DTEEvents events; public PerformanceVisualizationPlugin(BIDSHelperPackage package) : base(package) { // this.events = this.ApplicationObject.Events.DTEEvents; // this.events.ModeChanged += new _dispDTEEvents_ModeChangedEventHandler(DTEEvents_ModeChanged); CreateContextMenu(CommandList.PerformanceVisualizationId, ".dtsx"); }
public BIDSHelperPluginBase(BIDSHelperPackage package) { Extensions = new List <string>(); if (package == null) { throw new ArgumentNullException("package"); } this.package = (BIDSHelperPackage)package; StatusBar = package.StatusBar; if (Enabled) { OnEnable(); } }
private static string GetValue(string registryKey) { string value = null; RegistryKey key = Registry.CurrentUser.OpenSubKey(BIDSHelperPackage.PluginRegistryPath(typeof(ExpressionListPlugin))); if (key == null) { return(null); } value = (string)key.GetValue(registryKey, null); key.Close(); return(value); }
private static void SetValue(string value, string registryKey) { string path = BIDSHelperPackage.PluginRegistryPath(typeof(ExpressionListPlugin)); RegistryKey key = Registry.CurrentUser.OpenSubKey(path, true); if (key == null) { key = Registry.CurrentUser.CreateSubKey(path); } if (value == null) { key.DeleteValue(registryKey, false); } else { key.SetValue(registryKey, value, RegistryValueKind.String); } key.Close(); }
public DesignPracticesPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.DesignPracticeScannerId, ".dtsx"); Type[] types = null; try { types = System.Reflection.Assembly.GetExecutingAssembly().GetTypes(); } catch (System.Reflection.ReflectionTypeLoadException loadEx) { types = loadEx.Types; //if some types can't be loaded (possibly because SSIS SSDT isn't installed, just SSAS?) then proceed with the types that work } foreach (Type t in types) { if (t != null && typeof(DesignPractice).IsAssignableFrom(t) && (!object.ReferenceEquals(t, typeof(DesignPractice))) && (!t.IsAbstract)) { DesignPractice ext; System.Type[] @params = { typeof(string) }; System.Reflection.ConstructorInfo constructor = t.GetConstructor(@params); if (constructor == null) { System.Windows.Forms.MessageBox.Show("Problem loading type " + t.Name + ". No constructor found."); continue; } ext = (DesignPractice)constructor.Invoke(new object[] { PluginRegistryPath }); _practices.Add(ext); } } }
public SortablePackagePropertiesPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.SortablePackagePropertiesId); }
public AttributeRelationshipNameFixPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.AttributeRelationshipFixId, ".dim"); }
public FixedWidthColumnsPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.FixedWidthColumnsId); }
public TabularSyncDescriptionsPlugin(BIDSHelperPackage package) : base(package) { }
/// <summary> /// Initializes a new instance of the <see cref="DeployMdxScriptPlugin"/> class. /// Adds our command handlers for menu (commands must exist in the command table file) /// </summary> /// <param name="package">Owner package, not null.</param> public DeployMdxScriptPlugin(BIDSHelperPackage package) : base(package) { Instance = this; CreateContextMenu(CommandList.DeployMdxScriptId, ".cube"); }
public SortProjectFilesPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.SortProjectFilesId); }
public M2MMatrixCompressionPlugin(BIDSHelperPackage package) : base(package) { }
public ExpressionListPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(Core.CommandList.ExpressionListId, new Guid(BIDSProjectKinds.SSIS)); }
public UsedDatasetsPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.UsedDatasetsId); }
public ResetGuidsPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.ResetGUIDsId, ".dtsx"); }
public DeleteDatasetCachePlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.DeleteDatasetCacheId); }
public TabularTranslationsEditorPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.TabularTranslationsEditorId); }
public ParametersWindowPlugin(BIDSHelperPackage package) : base(package) { }
public DuplicateRole(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.DuplicateRoleId, typeof(Role)); }
public PipelineComponentPerformanceBreakdownPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.PerformanceBreakdownId); }
public VisualizeAttributeLatticePlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.VisualizeAttributeLatticeId, typeof(Dimension)); }
//TODO: may be needed if we decide to capture the ActiveViewChanged event... see TODO below on this topic //private System.Collections.Generic.List<string> windowHandlesFixedPartitionsView = new System.Collections.Generic.List<string>(); public dtsConfigFormatterPlugin(BIDSHelperPackage package) : base(package) { }
public PCDimNaturalizerPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.PCDimNaturalizerId); }
public OutputLogger(BIDSHelperPackage package) { _package = package; }
public EstimatedCountsPlugin(BIDSHelperPackage package) : base(package) { }
public DeployPerspectivesPlugin(BIDSHelperPackage package) : base(package) { }
public BatchPropertyUpdatePlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.BatchPropertyUpdateId); }
public RelativePathsPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(CommandList.FixRelativePathsId, new Guid(BIDSProjectKinds.SSIS)); CaptureClickEventForSSISMenu(); }
public BimlCheckForErrorsPlugin(BIDSHelperPackage package) : base(package) { CreateContextMenu(Core.CommandList.CheckBimlForErrorsId); }
public CalcHelpersPlugin(BIDSHelperPackage package) : base(package) { }