C# Class nHydrate.DslPackage.nHydrateClipboardCommandSetBase

Class containing handlers for cut/copy/paste commands supported by this DSL.
Inheritance: DslShell::ClipboardCommandSet
Afficher le fichier Open project: nHydrate/nHydrate

Méthodes protégées

Méthode Description
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.

Method Details

GetMenuCommands() protected méthode

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

OnMenuCopy() protected méthode

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
Résultat void

OnMenuCut() protected méthode

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
Résultat void

OnMenuPaste() protected méthode

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
Résultat void

OnStatusCopy() protected méthode

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
Résultat void

OnStatusCut() protected méthode

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
Résultat void

OnStatusPaste() protected méthode

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
Résultat void

nHydrateClipboardCommandSetBase() protected méthode

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