#include <plugop.h>
Inheritance diagram for PlugInsContextMenu:
Public Member Functions | |
PlugInsContextMenu () | |
To construct ;-). | |
PlugInsContextMenu (KernelBitmap *pBitmap, Document *pDocument) | |
Default constructer. | |
virtual BOOL | Build (void) |
To build the Plug-ins pop-up menu. | |
Static Public Member Functions | |
static BOOL | BuildMenu (KernelBitmap *pBitmap, Document *pDocument, ContextMenu *pContextMenu, MenuItem *pMainRoot=NULL, BOOL AddSeparator=FALSE, BOOL UseUndoable=FALSE) |
To build the a plug-ins pop-up menu either directly or tacked on as a sub-menu item to the specified pMainRoot. At present, this is the pop-ups that appear over the bitmap gallery and so are very bitmap related. | |
Protected Attributes | |
KernelBitmap * | m_pBitmap |
Document * | m_pDocument |
Private Member Functions | |
CC_DECLARE_MEMDUMP (PlugInsContextMenu) |
Definition at line 155 of file plugop.h.
|
To construct ;-).
Definition at line 441 of file plugop.cpp. 00442 { 00443 // As we are just about to invoke UI, check that the plug-in manager has its list 00444 // of available plug-ins otherwise, go and get it now as we are just about to need it. 00445 /* PlugInManager* pManager = GetApplication()->GetPlugInManager(); 00446 if (pManager) 00447 pManager->CheckHaveDetailsOnPlugIns(); */ 00448 }
|
|
Default constructer.
Definition at line 463 of file plugop.cpp. 00464 { 00465 // remember them for later use 00466 m_pBitmap = pBitmap; 00467 m_pDocument = pDocument; 00468 00469 // As we are just about to invoke UI, check that the plug-in manager has its list 00470 // of available plug-ins otherwise, go and get it now as we are just about to need it. 00471 /* PlugInManager* pManager = GetApplication()->GetPlugInManager(); 00472 if (pManager) 00473 pManager->CheckHaveDetailsOnPlugIns(); */ 00474 }
|
|
To build the Plug-ins pop-up menu.
Reimplemented from ContextMenu. Reimplemented in BfxPlugInContextMenu. Definition at line 488 of file plugop.cpp. 00489 { 00490 return PlugInsContextMenu::BuildMenu(m_pBitmap, m_pDocument, this); 00491 }
|
|
To build the a plug-ins pop-up menu either directly or tacked on as a sub-menu item to the specified pMainRoot. At present, this is the pop-ups that appear over the bitmap gallery and so are very bitmap related.
Reimplemented in BfxPlugInContextMenu. Definition at line 516 of file plugop.cpp. 00519 { 00520 ERROR2IF(pContextMenu == NULL,FALSE,"PlugInsContextMenu::BuildMenu null ContextMenu to add to"); 00521 00522 BOOL ok = TRUE; 00523 00524 // As we are just about to invoke UI, check that the plug-in manager has its list 00525 // of available plug-ins otherwise, go and get it now as we are just about to need it. 00526 // PlugInManager* pManager = GetApplication()->GetPlugInManager(); 00527 // if (pManager) 00528 // pManager->CheckHaveDetailsOnPlugIns(); 00529 00530 //#ifndef WEBSTER 00531 //#ifndef EXCLUDE_BFX 00532 // ok = ok && BfxPlugInContextMenu::BuildMenu(pBitmap, pDocument, pContextMenu, pMainRoot, TRUE, UseUndoable); 00533 //#endif 00534 //#endif // WEBSTER 00535 // ok = ok && PhotoShopContextMenu::BuildMenu(pBitmap, pDocument, pContextMenu, pMainRoot, FALSE, UseUndoable); 00536 00537 ok = ok && BfxPlugInContextMenu::BuildMenu(pBitmap, pDocument, pContextMenu, pMainRoot, TRUE, UseUndoable); 00538 00539 return ok; 00540 }
|
|
|
|
Reimplemented in BfxPlugInContextMenu. |
|
Reimplemented in BfxPlugInContextMenu. |