![]() |
OpendTect-6_4
6.4
|
Public Member Functions | |
| 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) |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
| bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
| void | detachCB (NotifierAccess &, const CallBack &) |
| void | detachCB (NotifierAccess *notif, const CallBack &cb) |
| bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
Protected Member Functions | |
| bool | shouldAddMenu () const |
Protected Member Functions inherited from MenuItemHandler | |
| virtual void | createMenuCB (CallBacker *) |
| virtual void | handleMenuCB (CallBacker *) |
| virtual bool | shouldBeEnabled () const |
| virtual bool | shouldBeChecked () const |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| const char * | classnm_ |
| uiVisPartServer & | visserv_ |
Protected Attributes inherited from MenuItemHandler | |
| MenuItem | menuitem_ |
| MenuHandler & | menuhandler_ |
| CallBack | cb_ |
| BufferString | parenttext_ |
Additional Inherited Members | |
Public Attributes inherited from MenuItemHandler | |
| bool | doadd_ |
| bool | isenabled_ |
| bool | ischecked_ |
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:
| uiVisMenuItemHandler::uiVisMenuItemHandler | ( | const char * | classnm, |
| uiVisPartServer & | , | ||
| const uiString & | mnutext, | ||
| const CallBack & | cb, | ||
| const char * | parenttext = 0, |
||
| int | placement = -1 |
||
| ) |
| int uiVisMenuItemHandler::getDisplayID | ( | ) | const |
Does only give a valid answer if called from cb.
|
protectedvirtual |
Reimplemented from MenuItemHandler.
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019