Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7681369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:19:34+00:00 2026-05-31T18:19:34+00:00

I have an Eclipse RCP based Application, in which I have a menu of

  • 0

I have an Eclipse RCP based Application, in which I have a menu of one item added through extensions, which is called kill.
I am using this item to be shown upon right click of a tree viewer items. Now, for the various tree items, I add different Actions for different tree items (to be shown in right click of each item).

For TreeItem1 I added additional actions such as do and Dont. For TreeItem2 I added additional Action that is love.

On the right click of items, custom menus are shown (as needed) but the kill is shown at the end of the menu that pops up on the right click. Can anyone have an idea and help me please to make at at the beginning?

current behavior:
TreeItem1->rightclick-> do, dont, kill.
TreeItem2->rightclick-> love, kill
TreeItem3->rightclick-> kill.

Desired behavior:
TreeItem1->rightclick-> kill, do, dont.
TreeItem2->rightclick-> kill, love.
TreeItem3->rightclick-> kill.

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:19:35+00:00Added an answer on May 31, 2026 at 6:19 pm

    You can add named separators to the menu using extensions and use the names (or IDs, depending on the extension point) of those separators in menu bar path (or location URI) of the action contribution and when adding actions to menu programmatically.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a use case: I have a desktop application (built using Eclipse RCP) which
I have an Eclipse RCP Standalone Application using Eclipse 3.6. I have implemented a
Our application (Eclipse RCP-based, using a JFace/SWT-based interface) needs to support editing of mathematical
I have an Eclipse RCP application which does some time consuming things in the
I am working on an Eclipse RCP-based application, and we have decided that we
I have an Eclipse RCP application which uses some bindings from org.eclipse.ui.defaultAcceleratorConfiguration in addition
I have a personal Eclipse RCP product ( com.example.product ) based on one personal
Our current product is based on Eclipse RCP. We are starting to have problems
I have an Eclipse RCP application that will launch properly after a clean install
I have a plug-in to an Eclipse RCP application that has a view. After

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.