C# 클래스 nHydrate.DslPackage.nHydrateClipboardCommandSetBase

Class containing handlers for cut/copy/paste commands supported by this DSL.
상속: DslShell::ClipboardCommandSet
파일 보기 프로젝트 열기: nHydrate/nHydrate

보호된 메소드들

메소드 설명
GetMenuCommands ( ) : global::System.Collections.Generic.IList

Provide the menu commands that this command set handles

OnMenuCopy ( object sender, global args ) : void

Event handler to copy the selected objects to the clipboard.

OnMenuCut ( object sender, global args ) : void

Event handler to cut the selected objects to the clipboard then delete the original.

OnMenuPaste ( object sender, global args ) : void

Event handler to paste a copy of the object on the clipboard.

OnStatusCopy ( object sender, global args ) : void

Determines whether Copy menu item should be visible and if so, enabled.

OnStatusCut ( object sender, global args ) : void

Determines whether Cut menu item should be visible and if so, enabled.

OnStatusPaste ( object sender, global args ) : void

Updates the UI for the Paste command

nHydrateClipboardCommandSetBase ( global serviceProvider )

Constructs a new nHydrateClipboardCommandSetBase.

메소드 상세

GetMenuCommands() 보호된 메소드

Provide the menu commands that this command set handles
protected GetMenuCommands ( ) : global::System.Collections.Generic.IList
리턴 global::System.Collections.Generic.IList

OnMenuCopy() 보호된 메소드

Event handler to copy the selected objects to the clipboard.
protected OnMenuCopy ( object sender, global args ) : void
sender object The MenuCommand selected.
args global not used
리턴 void

OnMenuCut() 보호된 메소드

Event handler to cut the selected objects to the clipboard then delete the original.
protected OnMenuCut ( object sender, global args ) : void
sender object The MenuCommand selected.
args global not used
리턴 void

OnMenuPaste() 보호된 메소드

Event handler to paste a copy of the object on the clipboard.
protected OnMenuPaste ( object sender, global args ) : void
sender object The MenuCommand selected.
args global not used
리턴 void

OnStatusCopy() 보호된 메소드

Determines whether Copy menu item should be visible and if so, enabled.
protected OnStatusCopy ( object sender, global args ) : void
sender object The sender of the message
args global empty
리턴 void

OnStatusCut() 보호된 메소드

Determines whether Cut menu item should be visible and if so, enabled.
protected OnStatusCut ( object sender, global args ) : void
sender object The sender of the message
args global empty
리턴 void

OnStatusPaste() 보호된 메소드

Updates the UI for the Paste command
protected OnStatusPaste ( object sender, global args ) : void
sender object The sender of the message
args global Message parameters
리턴 void

nHydrateClipboardCommandSetBase() 보호된 메소드

Constructs a new nHydrateClipboardCommandSetBase.
protected nHydrateClipboardCommandSetBase ( global serviceProvider )
serviceProvider global