C# Class StonehearthEditor.EffectsChromeBrowser

Exibir arquivo Open project: stonehearth/stonehearth-editor Class Usage Examples

Public Methods

Method Description
GetInstance ( ) : EffectsChromeBrowser
InitBrowser ( Panel panel ) : void
LoadFromJson ( string effectKind, string json, Action saveAction ) : void
Refresh ( ) : void
RunScript ( string script ) : void
ShowDevTools ( ) : void

Private Methods

Method Description
EffectsChromeBrowser ( ) : System
GetPagePath ( string pageName ) : string
MChromeBrowser_LoadError ( object sender, CefSharp.LoadErrorEventArgs e ) : void
SwitchPage ( string pageName ) : void

Method Details

GetInstance() public static method

public static GetInstance ( ) : EffectsChromeBrowser
return EffectsChromeBrowser

InitBrowser() public method

public InitBrowser ( Panel panel ) : void
panel System.Windows.Forms.Panel
return void

LoadFromJson() public method

public LoadFromJson ( string effectKind, string json, Action saveAction ) : void
effectKind string
json string
saveAction Action
return void

Refresh() public method

public Refresh ( ) : void
return void

RunScript() public method

public RunScript ( string script ) : void
script string
return void

ShowDevTools() public method

public ShowDevTools ( ) : void
return void