#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 30 of file FWViewContextMenuHandlerBase.h.
FWViewContextMenuHandlerBase::FWViewContextMenuHandlerBase | ( | ) |
Definition at line 40 of file FWViewContextMenuHandlerBase.cc.
|
virtual |
Definition at line 49 of file FWViewContextMenuHandlerBase.cc.
|
privatedelete |
void FWViewContextMenuHandlerBase::addTo | ( | FWModelContextMenuHandler & | iHandle, |
const FWModelId & | id | ||
) |
Definition at line 69 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(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().