实际应用表明,这种方法易于扩展菜单数量,避免了非法状态的出现,菜单转换迅速、稳定可靠。
Practice has proved that this method is feasible, easy to extend the number of menu and can avoid the emergence of non illegal states, and the menu transition is very fast, stable and reliable.
菜单和工具栏可以使用代码或者扩展进行添加。
例如,扩展可以简单到只是弹出菜单中的一个新项,也可以像一个完全的新型项目、或是一系列的编辑器和视图这样包括众多。
For example, the extension can be as simple as a new entry in a pop-up menu, or as comprehensive as a completely new type of project, or a series of editors and views.
扩展接口允许你创建菜单项、工具条按钮、面板和对话框。
Extension points allow you to create menu items, toolbar buttons, panels and dialog boxes.
现在让我们扩展简短示例并将各种类型用于菜单组件。
Now let's extend our short example and use different types for menu contributions.
第一个扩展是新建的操作集,它定义了菜单、工具栏路径、工具提示、图标以及被选中后希望调用的操作。
The first extension is the newly created action set, which defines the menu, toolbar path, tool tip, icon, and the actions to call when it is selected.
这些扩展点定义动作的标签,并将平台指向当从菜单中选择动作时所运行的代码。
These extension points define the label for the actions and point the platform to the code that runs when the actions are selected from the menu.
例如,扩展点可以定义修改主机插件的菜单项的方式。
For example, an extension point can define a means for modifying a host plug-in's menu item.
内容扩展告诉框架如何在视图中显示内容,而动作扩展告诉框架哪些选项对视图(上下文菜单等)可用。
The content extensions tell the framework how to display content in the view, and the action extensions tell the framework what options are available to the view (context menus, etc.).
这是在设法标识对XSLT 1.0的有用扩展功能并将它们分成可在“照菜单点”的基础上实现的功能组。
This is an attempt to identify useful extensions to XSLT 1.0 and to partition them into functional groups that can be implemented on an a la carte basis.
事实上,那就是菜单级联使用“soln”前缀的原因-这样您就可以分辨出它是一个扩展!
In fact, that's why the menu cascade is prefixed with "soln," so you can tell it's an extension.
如果已经以. wff文件扩展名保存了一个预设置,那么可以转到File菜单来导入它。
If you have already saved a preset in a.wff file extension, go to the file menu to import it.
接下来您可以通过从配置板中拖拉personMenuExtension,并指定其中的细节,来向Person菜单添加一个扩展,如图12所示。
Next you can add an extension to the Person menu by Dragging and Dropping Person menu extension from the palette and specifying the details as shown in Figure 12.
Snippets是源代码示例的混合体,例如,把菜单项添加到多个视图以及对象中的简短示例代码,以便扩展多方聊天的参与者列表以及其他功能。
Snippets is a grab bag of source code examples, for instance, short examples that add menu items to different views and objects, that extend the n-way chat participants list, and so on.
组件可以显示在LotusNotes 的侧栏中,作为可由活动文本触发的弹出窗口,或者任何其他更加复杂的 Lotus Notes扩展(例如,菜单贡献)。
The components can show up in the Lotus Notes sideshelf, as pop-up windows triggered by live text, or in any other more sophisticated Lotus Notes extensions (for example, menu contributions).
可以添加WebDeveloper扩展,这向浏览器添加了一个菜单和一个工具栏,包含了各种 Web开发人员工具。
You can add the Web Developer extension, which adds a menu and a toolbar to the browser with various Web developer tools, the same way.
对Notes7邮件数据库的右键菜单进行了扩展,包含了很多新操作。
The Notes 7 mail database right-click menu has been expanded to include many new actions.
在上篇文章“扩展IBMLotusNotesv8侧栏和工具栏”中,您了解了如何通过Eclipse的扩展点将菜单动作加入到侧栏组件中。
In the previous article, "Extending the IBM Lotus Notes V8 sidebar and toolbar," you saw how menu actions can be added to sidebar components through Eclipse extension points.
最后,通过一组扩展点,Eclipse开发人员可以将菜单选项添加到任何侧栏应用程序中。
Finally, through a separate set of extension points, Eclipse developers can add menu options to any sidebar application.
此解决方案的客户端是一个FirefoxXUL扩展,它将添加用于复制到Atom提要的AtomClip上下文菜单选项。
The client side of this solution is a Firefox XUL extension, which adds AtomClip context menu options for copying to and from the Atom feed.
单击add按钮,从而使用Extension模板、弹出式菜单和属性页面添加两个新的扩展。
Click the add button to add two new extensions using the extension templates, a pop-up menu and a property page.
随着shell扩展的不断安装,右键菜单越来越繁杂。找到需要的选项显得很费时。
The right-click menu gets bigger and bigger the more shell extensions you have installed, and finding the right command can take a while.
mobl的标准库还提供了一些高级的控件,像标签组、主从视图、上下文菜单以及可扩展的列表等等。
The mobl standard library also provides higher-level controls such as TAB sets, master-detail views, context menus and expandable lists.
通过Configuration菜单可以配置php . ini文件、扩展和其他Zend产品中的值。
The Configuration menu allows you to configure values in the php.ini file, extensions and other Zend products.
设计选项板包含了常用的组件、容器、菜单及控件,并使用可扩展、压缩和打开的drawer将它们组织起来。
The common components, containers, menus and controls are included in the design palette and are organized using drawers that you can expand, collapse and pin open.
你可以通过Eclipse打开 plugin.xml文件,单击Extensions标签,选择org.eclipse.help.toc扩展,并使用关联菜单来增加一个新的 toc元素。
file in Eclipse, clicking on the Extensions tab, selecting the org.eclipse.help.toc extension, and using the context menu to add a new toc element.
有几个IBM扩展是可执行查询,可以在Querybrowser下拉菜单中找到。
A number of the IBM extensions are executable queries that can be found under the Query Browser pull down menu.
在插件描述符文件中,从allExtensions列表中选择新建的扩展org . eclipse . ui . views,右键单击它,然后从菜单中选择new-view。
In the plug-in descriptor file, select the newly created extension org.eclipse.ui.views from the All Extensions list, right-click it, and then choose new - view from the menu.
这个扩展允许你把趣闻保存在一个方便查找、管理的浏览器菜单中,以便你以后有时间时在仔细阅读。
This tool for Firefox allows you to save these tidbits for later when you have more time and to store them in an easy-to-find-and-manage menu in your browser.
在BankWeb项目的plugin . xml中添加一个扩展点(见清单3),以便用快捷菜单在LotusExpeditor运行时中启动它。
Add an extension point as shown in listing 3 to the BankWeb project's plugin.xml, so that it can be launched in the Lotus Expeditor runtime using the short-cut menu.
应用推荐