Adobe Extending Dreamweaver CS4 Manual de usuario Pagina 319

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 387
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 318
313
EXTENDING DREAMWEAVER CS4
Components
getContextMenuId()
Availability
Dreamweaver MX.
Description
Returns the context menu ID for the component type. Every component type can have a context menu associated with
it. The Context Menu pop-up menus are defined in the ComponentNameMenus.xml file, and they work the same way
as the menu.xml file. The menu string can be static or dynamic. Keyboard shortcuts (accelerator keys) are supported.
Arguments
None.
Returns
A string defining the context menu ID.
Example
The following example sets the Options menu for the Components panel for CFCs associated with the Adobe
ColdFusion server model.The example also defines the keyboard shortcuts for the menu:
function getContextMenuId()
{
return "DWCFCsContext";
}
The DWWebServicesContext of the menu is defined in the file in the
Configuration/Components/ColdFusion/CFCs/CFCsMenus.xml as follows:
Vista de pagina 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 386 387

Comentarios a estos manuales

Sin comentarios