C# 클래스 Scroller.ScrollerPlugin

상속: IPlugin, IHighlighterService
파일 보기 프로젝트 열기: Invenietis/ck-certified 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PluginId INamedVersionedUniqueId

Private Properties

프로퍼티 타입 설명
BrowseTree bool
OnConfigChanged void
OnInputTriggered void

공개 메소드들

메소드 설명
HighlightImmediately ( IHighlightableElement element ) : void

This function forces the highlight of the given element.

This function is useful only when there is no alternative to.

Pause ( bool forceEndHighlight = false ) : void
RegisterInRegisteredElementAt ( string targetModuleName, string extensibleElementName, ChildPosition position, IHighlightableElement element ) : bool

Enables registering a tree node (and its children) in an already registered module. The module has to have an IExtensibleHighlightableElement whose name matches the extensibleElementName set as parameter.

RegisterTree ( string targetModuleName, string targetDisplayName, IHighlightableElement element, bool HighlightDirectly = false ) : void
Resume ( ) : void
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void
UnregisterInRegisteredElement ( string targetModuleName, string extensibleElementName, ChildPosition position, IHighlightableElement element ) : bool

Enables unregistering a tree node (and its children) that had been registered inside an already registered module (see RegisterInRegisteredElementAt )

UnregisterTree ( string targetModuleName, IHighlightableElement element ) : void

비공개 메소드들

메소드 설명
BrowseTree ( IHighlightableElement element, bool>.Func doing ) : bool

This method calls the function with with "element" as parameter and then calls it on each of its hightlightable children. At any point, if the function returns false, the browsing stops.

OnConfigChanged ( object sender, CK.Plugin.Config.ConfigChangedEventArgs e ) : void
OnInputTriggered ( ITrigger t ) : void

메소드 상세

HighlightImmediately() 공개 메소드

This function forces the highlight of the given element.
This function is useful only when there is no alternative to.
public HighlightImmediately ( IHighlightableElement element ) : void
element IHighlightableElement The element highlight.
리턴 void

Pause() 공개 메소드

public Pause ( bool forceEndHighlight = false ) : void
forceEndHighlight bool
리턴 void

RegisterInRegisteredElementAt() 공개 메소드

Enables registering a tree node (and its children) in an already registered module. The module has to have an IExtensibleHighlightableElement whose name matches the extensibleElementName set as parameter.
public RegisterInRegisteredElementAt ( string targetModuleName, string extensibleElementName, ChildPosition position, IHighlightableElement element ) : bool
targetModuleName string The name of the target module
extensibleElementName string The name of the target node
position ChildPosition
element IHighlightableElement The element to register
리턴 bool

RegisterTree() 공개 메소드

public RegisterTree ( string targetModuleName, string targetDisplayName, IHighlightableElement element, bool HighlightDirectly = false ) : void
targetModuleName string
targetDisplayName string
element IHighlightableElement
HighlightDirectly bool
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Setup() 공개 메소드

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
리턴 bool

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Teardown() 공개 메소드

public Teardown ( ) : void
리턴 void

UnregisterInRegisteredElement() 공개 메소드

Enables unregistering a tree node (and its children) that had been registered inside an already registered module (see RegisterInRegisteredElementAt )
public UnregisterInRegisteredElement ( string targetModuleName, string extensibleElementName, ChildPosition position, IHighlightableElement element ) : bool
targetModuleName string The name of the target module
extensibleElementName string The name of the target node
position ChildPosition
element IHighlightableElement The element to unregister
리턴 bool

UnregisterTree() 공개 메소드

public UnregisterTree ( string targetModuleName, IHighlightableElement element ) : void
targetModuleName string
element IHighlightableElement
리턴 void

프로퍼티 상세

PluginId 공개적으로 정적으로 프로퍼티

public static INamedVersionedUniqueId PluginId
리턴 INamedVersionedUniqueId