OpendTect  6.3
canvascommands.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Jaap Glas
8  Date: February 2009
9  ________________________________________________________________________
10 
11 -*/
12 
13 #include "uicmddrivermod.h"
14 #include "command.h"
15 #include "cmdcomposer.h"
16 #include "uigraphicsviewbase.h"
17 
20 namespace CmdDrive
21 {
22 
23 mStartDeclCmdClass( uiCmdDriver, CanvasMenu, UiObjectCmd ) mEndDeclCmdClass
24 
25 
27 {
28 public:
30  : actobj_( const_cast<uiGraphicsViewBase&>(obj) )
31  {}
32  void actCB(CallBacker*);
33 
34 protected:
36 };
37 
38 
39 mStartDeclCmdClass( uiCmdDriver, NrCanvasMenuItems, UiObjQuestionCmd )
41 mStartDeclCmdClass( uiCmdDriver, IsCanvasMenuItemOn, UiObjQuestionCmd )
43 mStartDeclCmdClass( uiCmdDriver, GetCanvasMenuItem, UiObjQuestionCmd )
45 
48 
49 
50 }; // namespace CmdDrive
#define mEndDeclCmdClass
Definition: command.h:150
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mStartDeclCmdClass(mod, cmdkey, parentclass)
Definition: command.h:146
Definition: canvascommands.h:26
Command Drive
Definition: canvascommands.h:20
Definition: command.h:184
Definition: uigraphicsviewbase.h:26
Definition: cmdcomposer.h:50
#define mEndDeclComposerClass
Definition: cmdcomposer.h:147
uiGraphicsViewBase & actobj_
Definition: canvascommands.h:35
Definition: command.h:160
Definition: command.h:154
GraphicsViewMenuActivator(const uiGraphicsViewBase &obj)
Definition: canvascommands.h:29
#define mStartDeclComposerClass(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:129

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