OpendTect-6_4  6.4
uiodscenetreeitem.h
Go to the documentation of this file.
1 #ifndef uiodscenetreeitem_h
2 #define uiodscenetreeitem_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: May 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uiodmainmod.h"
17 #include "uiodtreeitem.h"
18 
19 class uiMenuHandler;
20 
23 public:
24  uiODSceneTreeItem(const uiString&,int);
26 
27  void updateColumnText(int);
28 
29 protected:
30 
31  virtual bool init();
32  void createMenu(MenuHandler*,bool istb);
33  bool showSubMenu();
34 
35  bool isSelectable() const { return false; }
36  bool isExpandable() const { return false; }
37  const char* parentType() const
38  { return typeid(uiODTreeTop).name(); }
39  int selectionKey() const { return displayid_; }
40 
41  void createMenuCB(CallBacker*);
42  void addToToolBarCB(CallBacker*);
43  void handleMenuCB(CallBacker*);
44 
46 
52 };
53 
54 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool isExpandable() const
Definition: uiodscenetreeitem.h:36
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: menuhandler.h:187
Definition: uiodtreeitem.h:27
uiMenuHandler * menu_
Definition: uiodscenetreeitem.h:47
OpendTect application top level object.
Definition: uiodmain.h:41
bool isSelectable() const
Definition: uiodscenetreeitem.h:35
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
MenuItem propitem_
Definition: uiodscenetreeitem.h:48
bool init()
Definition: uiodscenetreeitem.h:21
Definition: uistring.h:89
Definition: uimenuhandler.h:27
MenuItem coltabitem_
Definition: uiodscenetreeitem.h:50
Definition: menuhandler.h:76
int selectionKey() const
Definition: uiodscenetreeitem.h:39
const char * parentType() const
Definition: uiodscenetreeitem.h:37
Definition: uiodtreeitem.h:50
uiMenu * createMenu(const ObjectSet< MenuItem > &, const MenuItem *=0)
int displayid_
Definition: uiodscenetreeitem.h:45
MenuItem imageitem_
Definition: uiodscenetreeitem.h:49
MenuItem dumpivitem_
Definition: uiodscenetreeitem.h:51

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019