C# 클래스 Bloom.Edit.Configurator

Manages configuration UI and settings for templates that contain setup scripts
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConfigureBookInternal void
Contains bool
GetInnerjson string
IsArray bool
IsComplexObject bool
MergeJsonData string
NavigateAndWait void
browser_DocumentNavigated void

공개 메소드들

메소드 설명
CollectJsonData ( string newDataString ) : void

Saves off the library part to disk, stores the rest

Configurator ( string folderInWhichToReadAndSaveLibrarySettings, NavigationIsolator isolator ) : System
ConfigureBook ( string bookPath ) : void

Before calling this, ConfigurationData has to be loaded. E.g., by running ShowConfigurationDialog()

GetAllData ( ) : string
GetLibraryData ( ) : string
IsConfigurable ( string folderPath ) : bool
RunJavaScript ( Gecko.GeckoWebBrowser b, string script ) : void
ShowConfigurationDialog ( string folderPath ) : DialogResult

비공개 메소드들

메소드 설명
ConfigureBookInternal ( string bookPath ) : void
Contains ( Newtonsoft.Json.Linq.JObject o, string key ) : bool
GetInnerjson ( string json ) : string
IsArray ( string value ) : bool
IsComplexObject ( string value ) : bool
MergeJsonData ( string a, string b ) : string

merge the existing data with this new stuff

NavigateAndWait ( Gecko.GeckoWebBrowser browser, string url ) : void
browser_DocumentNavigated ( object sender, EventArgs e ) : void

메소드 상세

CollectJsonData() 공개 메소드

Saves off the library part to disk, stores the rest
public CollectJsonData ( string newDataString ) : void
newDataString string
리턴 void

Configurator() 공개 메소드

public Configurator ( string folderInWhichToReadAndSaveLibrarySettings, NavigationIsolator isolator ) : System
folderInWhichToReadAndSaveLibrarySettings string
isolator NavigationIsolator
리턴 System

ConfigureBook() 공개 메소드

Before calling this, ConfigurationData has to be loaded. E.g., by running ShowConfigurationDialog()
public ConfigureBook ( string bookPath ) : void
bookPath string
리턴 void

GetAllData() 공개 메소드

public GetAllData ( ) : string
리턴 string

GetLibraryData() 공개 메소드

public GetLibraryData ( ) : string
리턴 string

IsConfigurable() 공개 정적인 메소드

public static IsConfigurable ( string folderPath ) : bool
folderPath string
리턴 bool

RunJavaScript() 공개 메소드

public RunJavaScript ( Gecko.GeckoWebBrowser b, string script ) : void
b Gecko.GeckoWebBrowser
script string
리턴 void

ShowConfigurationDialog() 공개 메소드

public ShowConfigurationDialog ( string folderPath ) : DialogResult
folderPath string
리턴 DialogResult