C# 클래스 Lucene.Net.LukeNet.Plugins.LukePlugin

LukePlugin is a superclass of any plugin that wants to be loaded automatically, and to work with the current index. abial
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: mammo/LukeSharp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
dir Lucene.Net.Store.Directory
ir Lucene.Net.Index.IndexReader
myUi System.Windows.Forms.Control

공개 메소드들

메소드 설명
GetDirectory ( ) : Lucene.Net.Store.Directory
GetIndexReader ( ) : IndexReader

Returns a reference to the IndexReader currently open in the application.

GetPluginHome ( ) : String

Return URL to plugin home page or author's e-mail. NOTE: this MUST be a fully qualified URL, i.e. including the protocol part.

GetPluginInfo ( ) : String

Return short one-line info about the plugin.

GetPluginName ( ) : String

Returns a plugin name. NOTE: this should be a short (preferably one word) String, because it's length affects the amount of available screen space.

Init ( ) : bool

Initialize this component. Parent view, this view, directory and index reader should already be initialized. This method will be called repeatedly, whenever new index is loaded into Luke.

SetDirectory ( Lucene.Net.Store.Directory dir ) : void
SetIndexReader ( IndexReader ir ) : void

Set a reference to the IndexReader currently open in the application.

메소드 상세

GetDirectory() 공개 메소드

public GetDirectory ( ) : Lucene.Net.Store.Directory
리턴 Lucene.Net.Store.Directory

GetIndexReader() 공개 메소드

Returns a reference to the IndexReader currently open in the application.
public GetIndexReader ( ) : IndexReader
리턴 Lucene.Net.Index.IndexReader

GetPluginHome() 공개 메소드

Return URL to plugin home page or author's e-mail. NOTE: this MUST be a fully qualified URL, i.e. including the protocol part.
public GetPluginHome ( ) : String
리턴 String

GetPluginInfo() 공개 메소드

Return short one-line info about the plugin.
public GetPluginInfo ( ) : String
리턴 String

GetPluginName() 공개 메소드

Returns a plugin name. NOTE: this should be a short (preferably one word) String, because it's length affects the amount of available screen space.
public GetPluginName ( ) : String
리턴 String

Init() 공개 메소드

Initialize this component. Parent view, this view, directory and index reader should already be initialized. This method will be called repeatedly, whenever new index is loaded into Luke.
public Init ( ) : bool
리턴 bool

SetDirectory() 공개 메소드

public SetDirectory ( Lucene.Net.Store.Directory dir ) : void
dir Lucene.Net.Store.Directory
리턴 void

SetIndexReader() 공개 메소드

Set a reference to the IndexReader currently open in the application.
public SetIndexReader ( IndexReader ir ) : void
ir Lucene.Net.Index.IndexReader IndexReader for the current index
리턴 void

프로퍼티 상세

dir 보호되어 있는 프로퍼티

protected Directory,Lucene.Net.Store dir
리턴 Lucene.Net.Store.Directory

ir 보호되어 있는 프로퍼티

protected IndexReader,Lucene.Net.Index ir
리턴 Lucene.Net.Index.IndexReader

myUi 보호되어 있는 프로퍼티

protected Control,System.Windows.Forms myUi
리턴 System.Windows.Forms.Control