CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions
FWViewContextMenuHandlerBase Class Referenceabstract

#include <Fireworks/Core/interface/FWViewContextMenuHandlerBase.h>

Inheritance diagram for FWViewContextMenuHandlerBase:
FWViewContextMenuHandlerGL

Classes

class  MenuEntryAdder
 

Public Member Functions

void addTo (FWModelContextMenuHandler &, const FWModelId &id)
 
 FWViewContextMenuHandlerBase ()
 
virtual void select (int iEntryIndex, const FWModelId &id, int iX, int iY)=0
 
virtual ~FWViewContextMenuHandlerBase ()
 

Private Member Functions

 FWViewContextMenuHandlerBase (const FWViewContextMenuHandlerBase &)
 
virtual void init (MenuEntryAdder &, const FWModelId &id)=0
 Called when have to add entries to the context menu. More...
 
const FWViewContextMenuHandlerBaseoperator= (const FWViewContextMenuHandlerBase &)
 

Detailed Description

Description: Base class for handling context menu's from views

Usage: <usage>

Definition at line 30 of file FWViewContextMenuHandlerBase.h.

Constructor & Destructor Documentation

FWViewContextMenuHandlerBase::FWViewContextMenuHandlerBase ( )

Definition at line 40 of file FWViewContextMenuHandlerBase.cc.

41 {
42 }
FWViewContextMenuHandlerBase::~FWViewContextMenuHandlerBase ( )
virtual

Definition at line 49 of file FWViewContextMenuHandlerBase.cc.

50 {
51 }
FWViewContextMenuHandlerBase::FWViewContextMenuHandlerBase ( const FWViewContextMenuHandlerBase )
private

Member Function Documentation

void FWViewContextMenuHandlerBase::addTo ( FWModelContextMenuHandler iHandle,
const FWModelId id 
)

Definition at line 69 of file FWViewContextMenuHandlerBase.cc.

References init().

Referenced by FWModelContextMenuHandler::showSelectedModelContext().

70 {
71  MenuEntryAdder adder(iHandle);
72  init(adder, id);
73 }
virtual void init(MenuEntryAdder &, const FWModelId &id)=0
Called when have to add entries to the context menu.
virtual void FWViewContextMenuHandlerBase::init ( MenuEntryAdder ,
const FWModelId id 
)
privatepure virtual

Called when have to add entries to the context menu.

Implemented in FWViewContextMenuHandlerGL.

Referenced by addTo().

const FWViewContextMenuHandlerBase& FWViewContextMenuHandlerBase::operator= ( const FWViewContextMenuHandlerBase )
private
virtual void FWViewContextMenuHandlerBase::select ( int  iEntryIndex,
const FWModelId id,
int  iX,
int  iY 
)
pure virtual