C# Class Stetic.CommandDescriptor

Inheritance: ItemDescriptor
Exibir arquivo Open project: mono/stetic Class Usage Examples

Public Methods

Method Description
CommandDescriptor ( XmlElement elem, Stetic.ItemGroup group, ClassDescriptor klass ) : System
Enabled ( object obj ) : bool
Enabled ( object obj, Gtk context ) : bool
GetImage ( ) : Gtk.Image
IsToggleCommand ( object obj ) : bool
IsToogled ( object obj ) : bool
Run ( object obj ) : void
Run ( object obj, Gtk context ) : void

Private Methods

Method Description
FindBoolProperty ( object obj, object &target ) : PropertyInfo
InvokeMethod ( object target, string name, object context, bool withContext ) : object

Method Details

CommandDescriptor() public method

public CommandDescriptor ( XmlElement elem, Stetic.ItemGroup group, ClassDescriptor klass ) : System
elem System.Xml.XmlElement
group Stetic.ItemGroup
klass ClassDescriptor
return System

Enabled() public method

public Enabled ( object obj ) : bool
obj object
return bool

Enabled() public method

public Enabled ( object obj, Gtk context ) : bool
obj object
context Gtk
return bool

GetImage() public method

public GetImage ( ) : Gtk.Image
return Gtk.Image

IsToggleCommand() public method

public IsToggleCommand ( object obj ) : bool
obj object
return bool

IsToogled() public method

public IsToogled ( object obj ) : bool
obj object
return bool

Run() public method

public Run ( object obj ) : void
obj object
return void

Run() public method

public Run ( object obj, Gtk context ) : void
obj object
context Gtk
return void