|
| uiVisMenuItemHandler (const char *classnm, uiVisPartServer &, const uiString &mnutext, const CallBack &cb, const char *parenttext=0, int placement=-1) |
|
int | getDisplayID () const |
|
Public Member Functions inherited from MenuItemHandler |
| MenuItemHandler (MenuHandler &, const uiString &nm, const CallBack &, const char *parenttxt=0, int placement=-1) |
|
| ~MenuItemHandler () |
|
void | setIcon (const char *fnm) |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
|
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
|
void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More...
|
|
void | detachCB (const NotifierAccess &, const CallBack &) const |
|
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
|
virtual bool | isCapsule () const |
|
bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
void | stopReceivingNotifications () const |
|
Adds a menu-item to a visual object's right-click menu. Menu item will be added to all visual objects of a certain type.
Usage example:
vispartserver_, tr("My menu text"),
mCB(this,MyClass,myFuncCB) );
uiVisMenuItemHandler(const char *classnm, uiVisPartServer &, const uiString &mnutext, const CallBack &cb, const char *parenttext=0, int placement=-1)
<>