OpendTect-6_4  6.4
uivismenuitemhandler.h
Go to the documentation of this file.
1 #ifndef uivismenuitemhandler_h
2 #define uivismenuitemhandler_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: 24-01-2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uivismod.h"
17 #include "menuhandler.h"
18 
19 class uiVisPartServer;
20 
34 {
35 public:
36  uiVisMenuItemHandler(const char* classnm,uiVisPartServer&,
37  const uiString& mnutext,const CallBack& cb,
38  const char* parenttext=0,int placement=-1);
39 
40  int getDisplayID() const;
43 protected:
44  bool shouldAddMenu() const;
45 
46  const char* classnm_;
48 };
49 
50 
57 {
58 public:
60  const uiString& mnutext,const CallBack&,
61  const char* parenttext=0,int placement=-1);
62 
63  void addWhenPickSet(bool);
64  void addWhenPolygon(bool);
65 
66  int getDisplayID() const;
68 protected:
69  bool shouldAddMenu() const;
70 
74 };
75 
76 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: uivismenuitemhandler.h:33
The Visualization Part Server.
Definition: uivispartserv.h:60
const char * classnm_
Definition: uivismenuitemhandler.h:46
Definition: menuhandler.h:236
bool addwhenpickset_
Definition: uivismenuitemhandler.h:73
Definition: uistring.h:89
Definition: uivismenuitemhandler.h:56
uiVisPartServer & visserv_
Definition: uivismenuitemhandler.h:71
bool addwhenpolygon_
Definition: uivismenuitemhandler.h:72
uiVisPartServer & visserv_
Definition: uivismenuitemhandler.h:47
CallBacks object-oriented (object + method).
Definition: callback.h:57

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