Extension: org. Eclipse. UI. actionsets

Source: Internet
Author: User

Org. Eclipse. UI. actionsets extension points are used to add menus, menu items, and toolbar buttons to public areas in the workbench window.

There is an element in org. Eclipse. UI. actionsets: actionset, which can contain at least one or more actionsets:

<! Element Extension (actionset +)>

Actionset contains two elements: menu and action. You can use menu separately, action, or two elements at the same time. However, the order of the menu before and the action after the menu must be ensured when both are used.

<! Element actionset (menu *, Action *)>

Menu contains two elements: separator and groupmarker. There can be at least one or more separators, with no or multiple groupmarker.

<! Element menu (separator +, groupmarker *)>

A menu corresponds to a menu, such as run, SOA, and window in the implementation scenario. Action corresponds to both menu items (such as Jax-Wa and SCA in the implementation scenario) in the menu and acts as a toolbar button.

There are multiple parameters in the Action element,
Where:
--- Menubarpath is used to associate menus (because actions correspond to menu items). This parameter is divided into two parts by "/". The first part is the menu ID (ID ), the following part is the ID or any letter of the separator in the menu (if you only need the preceding part, can you? Yes! What will happen? Try it
--- Toolbarpath can control whether action is displayed in the toolbar. If toolbarpath is empty, this button is not displayed in the toolbar.

In STP plugin, use actionsets to implement the SOA menu:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.