C# Class Company.OrmLanguage.OrmLanguageClipboardCommandSetBase

Class containing handlers for cut/copy/paste commands supported by this DSL.
Inheritance: DslShell::ClipboardCommandSet
Mostrar archivo Open project: thabart/SimpleOrm

Protected Methods

Method Description
GetMenuCommands ( ) : global::System.Collections.Generic.IList

Provide the menu commands that this command set handles

OrmLanguageClipboardCommandSetBase ( global serviceProvider )

Constructs a new OrmLanguageClipboardCommandSetBase.

Private Methods

Method Description
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

Method Details

GetMenuCommands() protected method

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

OrmLanguageClipboardCommandSetBase() protected method

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