15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating a Popup Menu<br />

Defining the Toolbar<br />

1. Finds the localeRef value for the cut button, CmdCut.<br />

2. Finds the translation for that text in the German localization file, Ausschneiden.<br />

3. Displays the text from the German localization file on the cut button, in this<br />

case, Ausschneiden.<br />

To change the German text that appears, edit the localization file, in this case,<br />

locale0407b.xml.<br />

”Modifying the Language of <strong>eWebEditPro</strong>” on page 201 provides more details<br />

about modifying the language of <strong>eWebEditPro</strong>’s user interface.<br />

To learn about creating a custom command, see ”” on page 158<br />

You can assign a popup menu to a toolbar button. You might want to do this to<br />

provide access to many toolbar commands while limiting the toolbar to one row.<br />

When a popup menu is assigned to a toolbar button, and a user clicks the button,<br />

the menu appears below the button, as illustrated below.<br />

Follow these steps to create a popup menu. In this example, the menu appears<br />

on the toolbar with the text View As. When users click the View As button, they<br />

see a menu with two choices, as illustrated below.<br />

1. Within the features -> external section of the configuration data, create a<br />

command to display the popup. Note that the command’s caption will appear<br />

on the toolbar, indicating the menu’s purpose. (For information about the<br />

syntax of the command element, see “command” on page 275.)<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!