Adobe Extending Dreamweaver CS4 Manuale Utente Pagina 319

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 387
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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:
Vedere la pagina 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 386 387

Commenti su questo manuale

Nessun commento