EditorFactoryPackage EditorFactoryPackage EditorFactoryPackage Class

정의

모든 SQL Workbench 편집기 팩터리를 등록하고 편집기를 만드는 패키지를 구현합니다. Implements the package that is responsible for registering all SQL Workbench editor factories and creating editors.

public ref class EditorFactoryPackage sealed : Microsoft::SqlServer::Management::UI::VSIntegration::SQLWorkbenchPackage, Microsoft::VisualStudio::OLE::Interop::IServiceProvider, Microsoft::VisualStudio::Shell::Interop::IVsBroadcastMessageEvents, Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorDefaultsProvider, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarkerTypeProvider
[Microsoft.VisualStudio.Shell.ProvideMenuResource("Menus.ctmenu", 1)]
[Microsoft.VisualStudio.Shell.ProvideService(Mono.Cecil.CustomAttributeArgument)]
[System.Runtime.InteropServices.Guid("4058755A-8FBE-41c7-BC99-3DBF5C74BA62")]
public sealed class EditorFactoryPackage : Microsoft.SqlServer.Management.UI.VSIntegration.SQLWorkbenchPackage, Microsoft.VisualStudio.OLE.Interop.IServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsBroadcastMessageEvents, Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaultsProvider, Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerTypeProvider
Public NotInheritable Class EditorFactoryPackage
Inherits SQLWorkbenchPackage
Implements IServiceProvider, IVsBroadcastMessageEvents, IVsFontAndColorDefaultsProvider, IVsTextMarkerTypeProvider
상속
EditorFactoryPackageEditorFactoryPackageEditorFactoryPackage
특성
구현

생성자

EditorFactoryPackage() EditorFactoryPackage() EditorFactoryPackage()

EditorFactoryPackage 클래스의 새 인스턴스를 초기화합니다. Initializes a new instance of the EditorFactoryPackage class.

메서드

Add(IComponent) Add(IComponent) Add(IComponent) Inherited from SQLWorkbenchPackage
Add(IComponent, String) Add(IComponent, String) Add(IComponent, String) Inherited from SQLWorkbenchPackage
AddService(Type, Object) AddService(Type, Object) AddService(Type, Object) Inherited from SQLWorkbenchPackage
AddService(Type, Object, Boolean) AddService(Type, Object, Boolean) AddService(Type, Object, Boolean) Inherited from SQLWorkbenchPackage
AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback) Inherited from SQLWorkbenchPackage
AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean) Inherited from SQLWorkbenchPackage
Close() Close() Close()

패키지가 언로드될 때 정리를 수행합니다. Does cleanup when package is being unloaded.

CreateTool(Guid) CreateTool(Guid) CreateTool(Guid) Inherited from SQLWorkbenchPackage
Dispose() Dispose() Dispose() Inherited from SQLWorkbenchPackage
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Inherited from SQLWorkbenchPackage
GetAutomationObject(String, Object) GetAutomationObject(String, Object) GetAutomationObject(String, Object) Inherited from SQLWorkbenchPackage
GetOptionPage(String) GetOptionPage(String) GetOptionPage(String) Inherited from SQLWorkbenchPackage
GetPropertyPage(Guid, VSPROPSHEETPAGE[]) GetPropertyPage(Guid, VSPROPSHEETPAGE[]) GetPropertyPage(Guid, VSPROPSHEETPAGE[]) Inherited from SQLWorkbenchPackage
GetService(Type) GetService(Type) GetService(Type) Inherited from SQLWorkbenchPackage
GetSite() GetSite() GetSite() Inherited from SQLWorkbenchPackage
LoadString(UInt32) LoadString(UInt32) LoadString(UInt32)

Visual Studio 패키지 위성 DLL에서 지역화된 문자열을 직접 로드합니다. Directly loads a localized string from a Visual Studio package satellite DLL.

OnServiceCreated(Type, Object) OnServiceCreated(Type, Object) OnServiceCreated(Type, Object) Inherited from SQLWorkbenchPackage
QueryClose(Int32) QueryClose(Int32) QueryClose(Int32) Inherited from SQLWorkbenchPackage
Remove(IComponent) Remove(IComponent) Remove(IComponent) Inherited from SQLWorkbenchPackage
RemoveService(Type) RemoveService(Type) RemoveService(Type) Inherited from SQLWorkbenchPackage
RemoveService(Type, Boolean) RemoveService(Type, Boolean) RemoveService(Type, Boolean) Inherited from SQLWorkbenchPackage
ResetDefaults(UInt32) ResetDefaults(UInt32) ResetDefaults(UInt32) Inherited from SQLWorkbenchPackage
SetSite(IServiceProvider) SetSite(IServiceProvider) SetSite(IServiceProvider)

셸이 편집기를 로드할 때 호출됩니다. Called when the shell loads editor.

명시적 인터페이스 구현

IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) Inherited from SQLWorkbenchPackage
IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) Inherited from SQLWorkbenchPackage
IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) Inherited from SQLWorkbenchPackage
IServiceProvider.QueryService(Guid, Guid, IntPtr) IServiceProvider.QueryService(Guid, Guid, IntPtr) IServiceProvider.QueryService(Guid, Guid, IntPtr)

Interop 공급자입니다. Interop provider.

IVsBroadcastMessageEvents.OnBroadcastMessage(UInt32, IntPtr, IntPtr) IVsBroadcastMessageEvents.OnBroadcastMessage(UInt32, IntPtr, IntPtr) IVsBroadcastMessageEvents.OnBroadcastMessage(UInt32, IntPtr, IntPtr)

셸에서 브로드캐스트 메시지를 받는 Interop 공급자입니다. Interop provider that receives broadcast messages from the shell.

IVsFontAndColorDefaultsProvider.GetObject(Guid, Object) IVsFontAndColorDefaultsProvider.GetObject(Guid, Object) IVsFontAndColorDefaultsProvider.GetObject(Guid, Object)

rguidCategory 매개 변수로 지정된 범주에 대한 IVsFontAndColorDefaults 또는 IVsFontAndColorGroupIVsFontAndColorDefaults 인터페이스를 반환합니다. Returns an IVsFontAndColorDefaults or an IVsFontAndColorGroupIVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.

IVsTextMarkerTypeProvider.GetTextMarkerType(Guid, IVsPackageDefinedTextMarkerType) IVsTextMarkerTypeProvider.GetTextMarkerType(Guid, IVsPackageDefinedTextMarkerType) IVsTextMarkerTypeProvider.GetTextMarkerType(Guid, IVsPackageDefinedTextMarkerType)

Interop 공급자입니다. Interop provider.

속성

Components Components Components Inherited from SQLWorkbenchPackage
GlobalCommandTargets GlobalCommandTargets GlobalCommandTargets Inherited from SQLWorkbenchPackage

적용 대상