CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWViewContextMenuHandlerBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWViewContextMenuHandlerBase_h
2 #define Fireworks_Core_FWViewContextMenuHandlerBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWViewContextMenuHandlerBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Mon Nov 2 13:46:26 CST 2009
19 // $Id: FWViewContextMenuHandlerBase.h,v 1.3 2009/11/03 14:01:50 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 
26 // forward declarations
27 class FWModelId;
29 
30 
32 {
33 
34 public:
37 
43  public:
46  int addEntry(const char* iEntryName);
47  };
48 
49  // ---------- const member functions ---------------------
50 
51  // ---------- static member functions --------------------
52 
53  // ---------- member functions ---------------------------
55 
60  virtual void select(int iEntryIndex, const FWModelId &id, int iX, int iY) = 0;
61 protected:
62 
63 private:
65 
67 
69  virtual void init(MenuEntryAdder&) = 0;
70 
71 
72 };
73 
74 #endif
virtual void init(MenuEntryAdder &)=0
Called when have to add entries to the context menu.
virtual void select(int iEntryIndex, const FWModelId &id, int iX, int iY)=0
void addTo(FWModelContextMenuHandler &)
const FWViewContextMenuHandlerBase & operator=(const FWViewContextMenuHandlerBase &)