C# Класс nHydrate.DslPackage.nHydrateClipboardCommandSetBase

Class containing handlers for cut/copy/paste commands supported by this DSL.
Наследование: DslShell::ClipboardCommandSet
Показать файл Открыть проект

Защищенные методы

Метод Описание
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