MCPcopy Create free account
hub / github.com/MITK/MITK / FireCommandChanged

Method FireCommandChanged

Plugins/org.blueberry.core.commands/src/berryCommand.cpp:192–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void Command::FireCommandChanged(const CommandEvent::ConstPointer commandEvent)
193{
194 if (!commandEvent)
195 {
196 throw ctkInvalidArgumentException("Cannot fire a null event");
197 }
198
199 try
200 {
201 commandEvents.commandChanged(commandEvent);
202 }
203 catch (...)
204 {
205 //TODO log exceptions?
206 }
207}
208
209void Command::FireNotDefined(const NotDefinedException* e)
210{

Callers 4

DefineMethod · 0.95
SetHandlerMethod · 0.95
HandlerChangedMethod · 0.95
UndefineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected