| 546 | //----------------------------------------------------------------------------- |
| 547 | |
| 548 | GuiInspector* GuiInspector::findByObject( SimObject *obj ) |
| 549 | { |
| 550 | sgKeyObj = obj; |
| 551 | |
| 552 | Vector< GuiInspector* > found; |
| 553 | Sim::getGuiGroup()->findObjectByCallback( findInspectors, found ); |
| 554 | |
| 555 | if ( found.empty() ) |
| 556 | return NULL; |
| 557 | |
| 558 | return found.first(); |
| 559 | } |
| 560 | |
| 561 | //----------------------------------------------------------------------------- |
| 562 |
nothing calls this directly
no test coverage detected