CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
FWModelContextMenuHandler Class Reference

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

Public Member Functions

void addViewEntry (const char *, int, bool enabled=true)
 
void chosenItem (Int_t)
 
 ClassDef (FWModelContextMenuHandler, 0)
 
void colorChangeRequested (Color_t)
 
 FWModelContextMenuHandler (FWSelectionManager *, FWDetailViewManager *, FWColorManager *, FWGUIManager *)
 
void showSelectedModelContext (Int_t iX, Int_t iY, FWViewContextMenuHandlerBase *) const
 NOTE: iX and iY are in global coordinates. More...
 
virtual ~FWModelContextMenuHandler ()
 

Private Member Functions

void createColorPopup () const
 
void createModelContext () const
 
 FWModelContextMenuHandler (const FWModelContextMenuHandler &)
 
const FWModelContextMenuHandleroperator= (const FWModelContextMenuHandler &)
 

Private Attributes

TGMenuEntry * m_afterViewSeperator
 
FWColorManagerm_colorManager
 
FWColorPopupm_colorPopup
 
FWDetailViewManagerm_detailViewManager
 
FWGUIManagerm_guiManager
 
TGPopupMenu * m_modelPopup
 
unsigned int m_nDetailViewEntries
 
unsigned int m_nViewEntries
 
FWSelectionManagerm_selectionManager
 
TGMenuEntry * m_seperator
 
FWViewContextMenuHandlerBasem_viewHander
 
TGMenuEntry * m_viewSeperator
 
Int_t m_x
 
Int_t m_y
 

Detailed Description

Description: Controls the context menus

Usage: This file is used internally by the system

Definition at line 37 of file FWModelContextMenuHandler.h.

Constructor & Destructor Documentation

FWModelContextMenuHandler::FWModelContextMenuHandler ( FWSelectionManager iSM,
FWDetailViewManager iDVM,
FWColorManager iCM,
FWGUIManager iGM 
)

Definition at line 61 of file FWModelContextMenuHandler.cc.

FWModelContextMenuHandler::~FWModelContextMenuHandler ( )
virtual

Definition at line 87 of file FWModelContextMenuHandler.cc.

FWModelContextMenuHandler::FWModelContextMenuHandler ( const FWModelContextMenuHandler )
private

Member Function Documentation

void FWModelContextMenuHandler::addViewEntry ( const char *  iEntryName,
int  iEntryIndex,
bool  enabled = true 
)

Definition at line 216 of file FWModelContextMenuHandler.cc.

void FWModelContextMenuHandler::chosenItem ( Int_t  iChoice)

Definition at line 121 of file FWModelContextMenuHandler.cc.

FWModelContextMenuHandler::ClassDef ( FWModelContextMenuHandler  ,
 
)
void FWModelContextMenuHandler::colorChangeRequested ( Color_t  color)

Definition at line 203 of file FWModelContextMenuHandler.cc.

void FWModelContextMenuHandler::createColorPopup ( ) const
private

Definition at line 361 of file FWModelContextMenuHandler.cc.

void FWModelContextMenuHandler::createModelContext ( ) const
private

Definition at line 335 of file FWModelContextMenuHandler.cc.

const FWModelContextMenuHandler& FWModelContextMenuHandler::operator= ( const FWModelContextMenuHandler )
private
void FWModelContextMenuHandler::showSelectedModelContext ( Int_t  iX,
Int_t  iY,
FWViewContextMenuHandlerBase iHandler 
) const

NOTE: iX and iY are in global coordinates.

Definition at line 248 of file FWModelContextMenuHandler.cc.

Member Data Documentation

TGMenuEntry* FWModelContextMenuHandler::m_afterViewSeperator
mutableprivate

Definition at line 75 of file FWModelContextMenuHandler.h.

FWColorManager* FWModelContextMenuHandler::m_colorManager
private

Definition at line 71 of file FWModelContextMenuHandler.h.

FWColorPopup* FWModelContextMenuHandler::m_colorPopup
mutableprivate

Definition at line 68 of file FWModelContextMenuHandler.h.

FWDetailViewManager* FWModelContextMenuHandler::m_detailViewManager
private

Definition at line 70 of file FWModelContextMenuHandler.h.

FWGUIManager* FWModelContextMenuHandler::m_guiManager
private

Definition at line 72 of file FWModelContextMenuHandler.h.

TGPopupMenu* FWModelContextMenuHandler::m_modelPopup
mutableprivate

Definition at line 67 of file FWModelContextMenuHandler.h.

unsigned int FWModelContextMenuHandler::m_nDetailViewEntries
mutableprivate

Definition at line 78 of file FWModelContextMenuHandler.h.

unsigned int FWModelContextMenuHandler::m_nViewEntries
mutableprivate

Definition at line 79 of file FWModelContextMenuHandler.h.

FWSelectionManager* FWModelContextMenuHandler::m_selectionManager
private

Definition at line 69 of file FWModelContextMenuHandler.h.

TGMenuEntry* FWModelContextMenuHandler::m_seperator
mutableprivate

Definition at line 73 of file FWModelContextMenuHandler.h.

FWViewContextMenuHandlerBase* FWModelContextMenuHandler::m_viewHander
mutableprivate

Definition at line 80 of file FWModelContextMenuHandler.h.

TGMenuEntry* FWModelContextMenuHandler::m_viewSeperator
mutableprivate

Definition at line 74 of file FWModelContextMenuHandler.h.

Int_t FWModelContextMenuHandler::m_x
mutableprivate

Definition at line 76 of file FWModelContextMenuHandler.h.

Int_t FWModelContextMenuHandler::m_y
mutableprivate

Definition at line 77 of file FWModelContextMenuHandler.h.