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

  • Home
  • SEARCH
  • 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 6918539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:52:20+00:00 2026-05-27T09:52:20+00:00

I have an Eclipse RCP application which uses some bindings from org.eclipse.ui.defaultAcceleratorConfiguration in addition

  • 0

I have an Eclipse RCP application which uses some bindings from org.eclipse.ui.defaultAcceleratorConfiguration in addition to its own keybindigs, which are defined through the extension org.eclipse.ui.binding. I defined my own binding scheme and set the defaultAcceleratorConfiguration as parentId, then activated that scheme from plugin_customization.ini so that I can override some binding

Currently, nearly all of my commands are in the org.eclipse.ui.contexts.window context. However, I would like some binding to only take effect when a certain perspective is selected.

How could I change the current context so that when a perspective is selected or loaded (upon application launch, for example) a certain context is activated, then revert to the window context when it is deselected? I am looking for a solution that interferes other perspectives minimally, that is, it should be able to be used by several perspectives in the workbech.

I did some IPerspectiveListener3 trickery that indeed works. I activate the context when my perspective is activated, and deactivate it upon perspective deactivation. However, I wonder whether a less hackish solution exists.

  • 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-27T09:52:20+00:00Added an answer on May 27, 2026 at 9:52 am

    I went with the IPerspectiveListener3 approach, and didn’t run into any regressions. Yet.

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

Sidebar

Related Questions

I have an Eclipse RCP application which does some time consuming things in the
Here's a use case: I have a desktop application (built using Eclipse RCP) which
I have a RCP application that reuses org.eclipse.ui.navigator.CommonNavigator to give us a project view.
I have created an eclipse RCP application with .nl1 fragments for some of the
I have a properly functioning Eclipse RCP program which opens the org.eclipse.ui.intro extension to
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
I have an Eclipse RCP app I'm working on. It has some view-specific menus
I have an Eclipse RCP application that I'd like to make available to end
I've been developing a java application with the eclipse RCP which requires the Java

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.