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 4582732
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:07:00+00:00 2026-05-21T21:07:00+00:00

Our Eclipse RCP application was originally built in the 3.1/3.2 era and was running

  • 0

Our Eclipse RCP application was originally built in the 3.1/3.2 era and was running on 3.2 until we switched to 3.6 recently. Its IApplication runs via PlatformUI.createAndRunWorkbench(...). The WorkbenchAdvisor we pass to that function overridescreateWorkbenchWindowAdvisor(...) to return a WorkbenchWindowAdvisor whose createActionBarAdvisor(...) returns an ActionBarAdvisor.

This ActionBarAdvisor‘s makeActions(...) creates and register()s a bunch of org.eclipse.jface.action.Actions, many of which do things like setAccelerator(SWT.CTRL | 'O'); in their constructors. The Actions are subsequently installed in the ActionBarAdvisor‘s fillMenuBar(...) and fillCoolBar(...) methods.

The problem we are having (now that we are on Eclipse RCP 3.6) is that these accelerators don’t seem to be active until their menus are shown (even if no action is taken besides closing the menu again).

We see a relevant bug but are having some difficulty understanding how to apply its remedy to our situation. We recognize that instead of Actions we “ought” to be using commands, handlers, and key bindings. But we’re hoping we don’t have to go down that path just yet.

How can we make our accelerators “live” as soon as the application starts up?

  • 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-21T21:07:01+00:00Added an answer on May 21, 2026 at 9:07 pm

    After hunting around and experimenting a bit trying to apply the advice from the bug, we added the following to our WorkbenchWindowAdvisor, which seems to have done the trick:

    @Override
    public void postWindowCreate() {
        getWindowConfigurer().getActionBarConfigurer().getMenuManager().updateAll(true);
    }
    

    We have no idea how well this fits with the Workbench’s design expectations; there could be a better way.

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

Sidebar

Related Questions

We recently started using Eclipse to develop our java application and have been running
Our project is an Eclipse RCP application using Hibernate as an ORM. I recently
Our application (Eclipse RCP-based, using a JFace/SWT-based interface) needs to support editing of mathematical
Our team uses Eclipse to develop a software product, and recently we switched to
We're trying to do an Eclipse PDE build for a RCP Application via Hudson/Jenkins.
Background Our Eclipse RCP 3.6-based application lets people drag files in for storage/processing. This
Our current product is based on Eclipse RCP. We are starting to have problems
We recently started using maven for dependency management. Our team uses eclipse as it's
We run org.eclipse.ant.core.antRunner to build our plugins and RCP projects. In the build logs
When I launch our application in Eclipse on Windows I receive the following error:

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.