C# Class touchvg.core.CmdObserverDefault

Inheritance: CmdObserver
Show file Open project: rhcad/touchvg-v0.6 Class Usage Examples

Public Methods

Method Description
CmdObserverDefault ( ) : System
Dispose ( ) : void
addShapeActions ( MgMotion arg0, Ints arg1, int n, MgShape arg3 ) : int
createCommand ( MgMotion sender, string name ) : MgCommand
createShape ( MgMotion sender, int type ) : MgBaseShape
doAction ( MgMotion sender, int action ) : bool
doEndAction ( MgMotion sender, int action ) : bool
drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
onDocLoaded ( MgMotion sender ) : void
onEnterSelectCommand ( MgMotion sender ) : void
onShapeAdded ( MgMotion sender, MgShape sp ) : void
onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
onShapeDeleted ( MgMotion sender, MgShape sp ) : void
onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
onUnloadCommands ( MgCmdManager sender ) : void
selectActionsNeedHided ( MgMotion sender ) : bool

Private Methods

Method Description
CmdObserverDefault ( IntPtr cPtr, bool cMemoryOwn ) : System
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectoraddShapeActions ( IntPtr arg0, IntPtr arg1, int n, IntPtr arg3 ) : int
SwigDirectorcreateCommand ( IntPtr sender, string name ) : IntPtr
SwigDirectorcreateShape ( IntPtr sender, int type ) : IntPtr
SwigDirectordoAction ( IntPtr sender, int action ) : bool
SwigDirectordoEndAction ( IntPtr sender, int action ) : bool
SwigDirectordrawInSelectCommand ( IntPtr sender, IntPtr sp, int handleIndex, IntPtr gs ) : void
SwigDirectordrawInShapeCommand ( IntPtr sender, IntPtr cmd, IntPtr gs ) : void
SwigDirectoronDocLoaded ( IntPtr sender ) : void
SwigDirectoronEnterSelectCommand ( IntPtr sender ) : void
SwigDirectoronShapeAdded ( IntPtr sender, IntPtr sp ) : void
SwigDirectoronShapeCanRotated ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanTransform ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanUngroup ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeCanUnlock ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeDeleted ( IntPtr sender, IntPtr sp ) : void
SwigDirectoronShapeMoved ( IntPtr sender, IntPtr sp, int segment ) : void
SwigDirectoronShapeWillAdded ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronShapeWillDeleted ( IntPtr sender, IntPtr sp ) : bool
SwigDirectoronUnloadCommands ( IntPtr sender ) : void
SwigDirectorselectActionsNeedHided ( IntPtr sender ) : bool
getCPtr ( CmdObserverDefault obj ) : HandleRef

Method Details

CmdObserverDefault() public method

public CmdObserverDefault ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

addShapeActions() public method

public addShapeActions ( MgMotion arg0, Ints arg1, int n, MgShape arg3 ) : int
arg0 MgMotion
arg1 Ints
n int
arg3 MgShape
return int

createCommand() public method

public createCommand ( MgMotion sender, string name ) : MgCommand
sender MgMotion
name string
return MgCommand

createShape() public method

public createShape ( MgMotion sender, int type ) : MgBaseShape
sender MgMotion
type int
return MgBaseShape

doAction() public method

public doAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
return bool

doEndAction() public method

public doEndAction ( MgMotion sender, int action ) : bool
sender MgMotion
action int
return bool

drawInSelectCommand() public method

public drawInSelectCommand ( MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs ) : void
sender MgMotion
sp MgShape
handleIndex int
gs GiGraphics
return void

drawInShapeCommand() public method

public drawInShapeCommand ( MgMotion sender, MgCommand cmd, GiGraphics gs ) : void
sender MgMotion
cmd MgCommand
gs GiGraphics
return void

onDocLoaded() public method

public onDocLoaded ( MgMotion sender ) : void
sender MgMotion
return void

onEnterSelectCommand() public method

public onEnterSelectCommand ( MgMotion sender ) : void
sender MgMotion
return void

onShapeAdded() public method

public onShapeAdded ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
return void

onShapeCanRotated() public method

public onShapeCanRotated ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onShapeCanTransform() public method

public onShapeCanTransform ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onShapeCanUngroup() public method

public onShapeCanUngroup ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onShapeCanUnlock() public method

public onShapeCanUnlock ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onShapeDeleted() public method

public onShapeDeleted ( MgMotion sender, MgShape sp ) : void
sender MgMotion
sp MgShape
return void

onShapeMoved() public method

public onShapeMoved ( MgMotion sender, MgShape sp, int segment ) : void
sender MgMotion
sp MgShape
segment int
return void

onShapeWillAdded() public method

public onShapeWillAdded ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onShapeWillDeleted() public method

public onShapeWillDeleted ( MgMotion sender, MgShape sp ) : bool
sender MgMotion
sp MgShape
return bool

onUnloadCommands() public method

public onUnloadCommands ( MgCmdManager sender ) : void
sender MgCmdManager
return void

selectActionsNeedHided() public method

public selectActionsNeedHided ( MgMotion sender ) : bool
sender MgMotion
return bool