OpendTect-6_4  6.4
uiodwelltreeitem.h
Go to the documentation of this file.
1 #ifndef uiodwelltreeitem_h
2 #define uiodwelltreeitem_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 "uiodattribtreeitem.h"
18 #include "uioddisplaytreeitem.h"
19 #include "multiid.h"
20 #include "sets.h"
21 
23 class uiD2TMLogSelDlg;
24 
27  typedef uiODTreeItem inheritedClass;
28 public:
30 
31 protected:
32 
34  const char* iconName() const;
35  bool showSubMenu();
36  bool handleSubMenu(int);
37  const char* parentType() const
38  { return typeid(uiODTreeTop).name(); }
40 };
41 
42 
45 public:
46  const char* name() const { return typeid(*this).name(); }
47  uiTreeItem* create() const { return new uiODWellParentTreeItem(); }
48  uiTreeItem* createForVis(int visid,uiTreeItem*) const;
49 };
50 
51 
54 public:
55  uiODWellTreeItem( int );
56  uiODWellTreeItem( const MultiID& mid );
58 
59 protected:
60  void initMenuItems();
61  bool init();
62  bool askContinueAndSaveIfNeeded(bool withcancel);
63  virtual void createMenu(MenuHandler*,bool istb);
64  void handleMenuCB(CallBacker*);
65  bool doubleClick(uiTreeViewItem*);
66  const char* parentType() const
67  { return typeid(uiODWellParentTreeItem).name(); }
68 
86 };
87 
88 
89 #endif
MenuItem storemnuitem_
Definition: uiodwelltreeitem.h:82
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
MenuItem markernamemnuitem_
Definition: uiodwelltreeitem.h:78
MenuItem sellogmnuitem_
Definition: uiodwelltreeitem.h:72
MenuItem namebotmnuitem_
Definition: uiodwelltreeitem.h:76
Definition: menuhandler.h:187
Definition: uiodtreeitem.h:27
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
MenuItem logviewermnuitem_
Definition: uiodwelltreeitem.h:74
bool init()
Definition: uicreateattriblogdlg.h:27
MenuItem nametopmnuitem_
Definition: uiodwelltreeitem.h:75
Definition: uiodwelltreeitem.h:25
const char * parentType() const
Definition: uiodwelltreeitem.h:66
Definition: uioddisplaytreeitem.h:24
Definition: uiodtreeitem.h:80
MenuItem showlogmnuitem_
Definition: uiodwelltreeitem.h:79
Definition: uiodwelltreeitem.h:43
Definition: uiodwelltreeitem.h:52
Definition: uitreeview.h:201
Definition: menuhandler.h:76
MenuItem editmnuitem_
Definition: uiodwelltreeitem.h:81
MultiID mid_
Definition: uiodwelltreeitem.h:69
MenuItem attrmnuitem_
Definition: uiodwelltreeitem.h:70
#define mMenuOnAnyButton
Definition: uiodtreeitem.h:91
MenuItem amplspectrummnuitem_
Definition: uiodwelltreeitem.h:84
Definition: uiodtreeitem.h:50
ObjectSet< MenuItem > logmnuitems_
Definition: uiodwelltreeitem.h:85
MenuItem propertiesmnuitem_
Definition: uiodwelltreeitem.h:73
MenuItem logcubemnuitem_
Definition: uiodwelltreeitem.h:71
MenuItem markermnuitem_
Definition: uiodwelltreeitem.h:77
MenuItem showmnuitem_
Definition: uiodwelltreeitem.h:80
static uiHor3DInterpol * create(uiParent *)
bool constlogsize_
Definition: uiodwelltreeitem.h:39
MenuItem gend2tmmnuitem_
Definition: uiodwelltreeitem.h:83
const char * parentType() const
Definition: uiodwelltreeitem.h:37
Definition: uitreeitemmanager.h:34
Compound key consisting of ints.
Definition: multiid.h:25

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