OpendTect-6_4  6.4
uiodvw2dwigglevararea.h
Go to the documentation of this file.
1 #ifndef uiodvw2dwigglevararea_h
2 #define uiodvw2dwigglevararea_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Umesh Sinha
9  Date: June 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiodmainmod.h"
16 #include "uiodvw2dtreeitem.h"
17 
18 #include "datapack.h"
19 #include "menuhandler.h"
20 
21 class uiMenuHandler;
22 class VW2DSeis;
23 
24 
27 public:
30 
31  bool select();
32  bool showSubMenu();
33 
34 protected:
35 
36  bool init();
37  const char* iconName() const;
38  const char* parentType() const
39  { return typeid(uiODVw2DTreeTop).name(); }
40  bool isSelectable() const { return true; }
41 
45 
46  void createSelMenu(MenuItem&);
47  bool handleSelMenu(int mnuid);
48 
49  DataPack::ID createDataPack(Attrib::SelSpec&,
50  const BufferString& attribnm="",
51  const bool steering=false,
52  const bool stored=false);
53 
54  void checkCB(CallBacker*);
55  void dataChangedCB(CallBacker*);
56  void dataTransformCB(CallBacker*);
57  void createMenuCB(CallBacker*);
58  void handleMenuCB(CallBacker*);
59 };
60 
61 
64 {
65 public:
66  const char* name() const { return typeid(*this).name(); }
67  uiTreeItem* create() const
68  { return new uiODVW2DWiggleVarAreaTreeItem(); }
69  uiTreeItem* createForVis(const uiODViewer2D&,int visid) const;
70 };
71 
72 
73 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
OpendTect application top level object.
Definition: uiodmain.h:41
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool init()
Definition: uiodvw2dtreeitem.h:100
VW2DSeis * dummyview_
Definition: uiodvw2dwigglevararea.h:42
int ID
Definition: datapack.h:38
Definition: uimenuhandler.h:27
const char * name() const
Definition: menuhandler.h:76
Definition: uiodvw2dwigglevararea.h:62
bool isSelectable() const
Definition: uiodvw2dwigglevararea.h:40
Definition: uiodvw2dtreeitem.h:29
const char * parentType() const
Definition: uiodvw2dwigglevararea.h:38
Definition: uiodvw2dtreeitem.h:91
MenuItem selattrmnuitem_
Definition: uiodvw2dwigglevararea.h:44
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
A 2D Viewer.
Definition: uiodviewer2d.h:45
Definition: view2dseismic.h:19
const char * name() const
Definition: uiodvw2dwigglevararea.h:66
Definition: uiodvw2dwigglevararea.h:25
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
uiMenuHandler * menu_
Definition: uiodvw2dwigglevararea.h:43
uiTreeItem * create() const
Definition: uiodvw2dwigglevararea.h:67
Definition: uitreeitemmanager.h:34

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