C# Class Open.Testing.Views.AddPackageView

View for defining a new test-package to add to the side bar.
Inheritance: TestHarnessViewBase
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Properties

Property Type Description
IconJs string
IconMethod string

Public Methods

Method Description
AddPackageView ( ) : System

Constructor.

AddToTestHarness ( ) : AddPackageView

Inserts an instance of the view into the TestHarness' main canvas.

GetPackageInfo ( ) : PackageInfo

Gets the package-info singleton from the currently text settings.

SlideOff ( System.Action onComplete ) : void

Slides the panel off screen.

SlideOn ( System.Action onComplete ) : void

Slides the panel on screen.

UpdateState ( ) : void

Updates the state of the control and it's children.

Protected Methods

Method Description
OnDisposed ( ) : void

Private Methods

Method Description
CreateButton ( string text ) : IconTextButton
FireHidden ( ) : void
FireShowing ( ) : void
InitializeTextbox ( string selector, string icon ) : Textbox
InitializeTextboxes ( ) : void
OnKeydown ( object sender, KeyEventArgs e ) : void
Slide ( string left, System.Action onComplete ) : void

Method Details

AddPackageView() public method

Constructor.
public AddPackageView ( ) : System
return System

AddToTestHarness() public static method

Inserts an instance of the view into the TestHarness' main canvas.
public static AddToTestHarness ( ) : AddPackageView
return AddPackageView

GetPackageInfo() public method

Gets the package-info singleton from the currently text settings.
public GetPackageInfo ( ) : PackageInfo
return Open.Testing.Models.PackageInfo

OnDisposed() protected method

protected OnDisposed ( ) : void
return void

SlideOff() public method

Slides the panel off screen.
public SlideOff ( System.Action onComplete ) : void
onComplete System.Action Action to invoke upon completion.
return void

SlideOn() public method

Slides the panel on screen.
public SlideOn ( System.Action onComplete ) : void
onComplete System.Action Action to invoke upon completion.
return void

UpdateState() public method

Updates the state of the control and it's children.
public UpdateState ( ) : void
return void

Property Details

IconJs public_oe static_oe property

public static string IconJs
return string

IconMethod public_oe static_oe property

public static string IconMethod
return string