#include <Fireworks/Core/interface/FWViewContextMenuHandlerBase.h>
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 &)=delete | |
virtual void | init (MenuEntryAdder &, const FWModelId &id)=0 |
Called when have to add entries to the context menu. More... | |
const FWViewContextMenuHandlerBase & | operator= (const FWViewContextMenuHandlerBase &)=delete |
Description: Base class for handling context menu's from views
Usage: <usage>
Definition at line 29 of file FWViewContextMenuHandlerBase.h.
FWViewContextMenuHandlerBase::FWViewContextMenuHandlerBase | ( | ) |
Definition at line 37 of file FWViewContextMenuHandlerBase.cc.
|
virtual |
Definition at line 44 of file FWViewContextMenuHandlerBase.cc.
|
privatedelete |
void FWViewContextMenuHandlerBase::addTo | ( | FWModelContextMenuHandler & | iHandle, |
const FWModelId & | id | ||
) |
Definition at line 61 of file FWViewContextMenuHandlerBase.cc.
References init().
Referenced by FWModelContextMenuHandler::showSelectedModelContext().
|
privatepure virtual |
Called when have to add entries to the context menu.
Implemented in FWViewContextMenuHandlerGL.
Referenced by addTo().
|
privatedelete |
|
pure virtual |
Called when a menu item was selected iEntryIndex: the index of the selected menu item. Same as returned from 'addEntry' iX, iY: Screen coordinates of where mouse was clicked
Implemented in FWViewContextMenuHandlerGL.
Referenced by FWModelContextMenuHandler::chosenItem().