C# 클래스 Plasma.RunnerManager

상속: Qyoto.QObject, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross

공개 메소드들

메소드 설명
ActionsForMatch ( Plasma match ) : List Retrieves the list of actions, if any, for a match
AllowedRunners ( ) : List
Dispose ( ) : void
Matches ( ) : List Retrieves all available matches found so far for the previously launched query
Query ( ) : string
ReloadConfiguration ( ) : void Causes a reload of the current configuration
Run ( Plasma match ) : void Runs a given match @arg match the match to be executed
Run ( string id ) : void Runs a given match @arg id the id of the match to run
Runner ( string name ) : AbstractRunner Finds and returns a loaded runner or NULL @arg name the name of the runner
RunnerManager ( ) : System
RunnerManager ( Kimono.KConfigGroup config ) : System
RunnerManager ( Kimono.KConfigGroup config, QObject parent ) : System
RunnerManager ( QObject parent ) : System
RunnerName ( string id ) : string Returns the translated name of a runner @arg id the id of the runner
Runners ( ) : List
SearchContext ( ) : RunnerContext Retrieves the current context
SetAllowedRunners ( List runners ) : void Sets a whitelist for the plugins that can be loaded @arg plugins the plugin names of allowed runners
SetSingleMode ( bool singleMode ) : void Sets whether or not the manager is in single mode. @arg singleMode true if the manager should be in single mode, false otherwise
SetSingleModeRunnerId ( string id ) : void Puts the manager into "single runner" mode using the given runner; if the runner does not exist or can not be loaded then the single runner mode will not be started and singleModeRunner() will return NULL @arg id the id of the runner to use
SingleMode ( ) : bool
SingleModeAdvertisedRunnerIds ( ) : List
SingleModeRunner ( ) : AbstractRunner
SingleModeRunnerId ( ) : string

보호된 메소드들

메소드 설명
CreateProxy ( ) : void
RunnerManager ( Type dummy ) : System

비공개 메소드들

메소드 설명
ExecQuery ( string term ) : bool
ExecQuery ( string term, string runnerName ) : bool
LaunchQuery ( string term ) : void
LaunchQuery ( string term, string runnerId ) : void
MatchSessionComplete ( ) : void
Reset ( ) : void
SetupMatchSession ( ) : void

메소드 상세

ActionsForMatch() 공개 메소드

Retrieves the list of actions, if any, for a match
public ActionsForMatch ( Plasma match ) : List
match Plasma
리턴 List

AllowedRunners() 공개 메소드

public AllowedRunners ( ) : List
리턴 List

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Matches() 공개 메소드

Retrieves all available matches found so far for the previously launched query
public Matches ( ) : List
리턴 List

Query() 공개 메소드

public Query ( ) : string
리턴 string

ReloadConfiguration() 공개 메소드

Causes a reload of the current configuration
public ReloadConfiguration ( ) : void
리턴 void

Run() 공개 메소드

Runs a given match @arg match the match to be executed
public Run ( Plasma match ) : void
match Plasma
리턴 void

Run() 공개 메소드

Runs a given match @arg id the id of the match to run
public Run ( string id ) : void
id string
리턴 void

Runner() 공개 메소드

Finds and returns a loaded runner or NULL @arg name the name of the runner
public Runner ( string name ) : AbstractRunner
name string
리턴 AbstractRunner

RunnerManager() 공개 메소드

public RunnerManager ( ) : System
리턴 System

RunnerManager() 공개 메소드

public RunnerManager ( Kimono.KConfigGroup config ) : System
config Kimono.KConfigGroup
리턴 System

RunnerManager() 공개 메소드

public RunnerManager ( Kimono.KConfigGroup config, QObject parent ) : System
config Kimono.KConfigGroup
parent Qyoto.QObject
리턴 System

RunnerManager() 공개 메소드

public RunnerManager ( QObject parent ) : System
parent Qyoto.QObject
리턴 System

RunnerManager() 보호된 메소드

protected RunnerManager ( Type dummy ) : System
dummy System.Type
리턴 System

RunnerName() 공개 메소드

Returns the translated name of a runner @arg id the id of the runner
public RunnerName ( string id ) : string
id string
리턴 string

Runners() 공개 메소드

public Runners ( ) : List
리턴 List

SearchContext() 공개 메소드

Retrieves the current context
public SearchContext ( ) : RunnerContext
리턴 RunnerContext

SetAllowedRunners() 공개 메소드

Sets a whitelist for the plugins that can be loaded @arg plugins the plugin names of allowed runners
public SetAllowedRunners ( List runners ) : void
runners List
리턴 void

SetSingleMode() 공개 메소드

Sets whether or not the manager is in single mode. @arg singleMode true if the manager should be in single mode, false otherwise
public SetSingleMode ( bool singleMode ) : void
singleMode bool
리턴 void

SetSingleModeRunnerId() 공개 메소드

Puts the manager into "single runner" mode using the given runner; if the runner does not exist or can not be loaded then the single runner mode will not be started and singleModeRunner() will return NULL @arg id the id of the runner to use
public SetSingleModeRunnerId ( string id ) : void
id string
리턴 void

SingleMode() 공개 메소드

public SingleMode ( ) : bool
리턴 bool

SingleModeAdvertisedRunnerIds() 공개 메소드

public SingleModeAdvertisedRunnerIds ( ) : List
리턴 List

SingleModeRunner() 공개 메소드

public SingleModeRunner ( ) : AbstractRunner
리턴 AbstractRunner

SingleModeRunnerId() 공개 메소드

public SingleModeRunnerId ( ) : string
리턴 string