C# Class FC3Editor.Tools.ToolObject.AddMode

Inheritance: ToolObject.Mode
ファイルを表示 Open project: Azerothian/fc3editor Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
AddMode ( ToolObject context ) : System
AfterActivate ( ) : void
Deactivate ( ) : void
GetContextHelp ( ) : string
GetMainParameter ( ) : IParameter
GetParameters ( ) : IEnumerable
GetToolImage ( ) : Image
GetToolName ( ) : string
OnKeyEvent ( Editor keyEvent, KeyEventArgs keyEventArgs ) : bool
OnMouseEvent ( Editor mouseEvent, MouseEventArgs mouseEventArgs ) : bool
SetGotoObject ( ObjectInventory entry ) : void
Update ( float dt ) : void

Private Methods

Method Description
ClearNewObject ( ) : void
ClearObjectParam ( ) : void
ClearPreview ( ) : void
SetNewObject ( ) : void
SetNewObject ( EditorObjectSelection selection ) : void
SetPreview ( ) : void
UpdateNewObject ( ) : void
UpdatePreview ( ) : void
paramObject_FolderChanged ( object sender, EventArgs e ) : void
paramObject_ValueChanged ( object sender, EventArgs e ) : void
paramPreview_ValueChanged ( object sender, EventArgs e ) : void
pasteFromClipboard_Activate ( ) : void
pasteFromClipboard_Deactivate ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

AddMode() public method

public AddMode ( ToolObject context ) : System
context ToolObject
return System

AfterActivate() public method

public AfterActivate ( ) : void
return void

Deactivate() public method

public Deactivate ( ) : void
return void

GetContextHelp() public method

public GetContextHelp ( ) : string
return string

GetMainParameter() public method

public GetMainParameter ( ) : IParameter
return IParameter

GetParameters() public method

public GetParameters ( ) : IEnumerable
return IEnumerable

GetToolImage() public method

public GetToolImage ( ) : Image
return Image

GetToolName() public method

public GetToolName ( ) : string
return string

OnKeyEvent() public method

public OnKeyEvent ( Editor keyEvent, KeyEventArgs keyEventArgs ) : bool
keyEvent FC3Editor.Nomad.Editor
keyEventArgs System.Windows.Forms.KeyEventArgs
return bool

OnMouseEvent() public method

public OnMouseEvent ( Editor mouseEvent, MouseEventArgs mouseEventArgs ) : bool
mouseEvent FC3Editor.Nomad.Editor
mouseEventArgs MouseEventArgs
return bool

SetGotoObject() public method

public SetGotoObject ( ObjectInventory entry ) : void
entry FC3Editor.Nomad.ObjectInventory
return void

Update() public method

public Update ( float dt ) : void
dt float
return void