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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:16:50+00:00 2026-05-29T19:16:50+00:00

I followed the Eclipse 4 tutorial by Lars Vogel and I am trying to

  • 0

I followed the Eclipse 4 tutorial by Lars Vogel and I am trying to build on that application a bit further. I read the Eclipse Plugins book, but I’m still having a bit of a hard time learning Eclipse RCP.

I added a ToolControl with the following Class URI that I copied from the Live Application Model in the IDE.

bundleclass://org.eclipse.ui.workbench/org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher

But after launching the product I get this exception:

!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-02-08 20:30:39.010
!MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher' from bundle '66'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalStateException: Workbench has not been created yet.

I tried upping the start-level of my own plugin so it is higher than that of the org.eclipse.ui.workbench plugin. It did not change anything.

So my question is: Is it possible to use the perspective switcher in my own product? Or do I need to approach this in a completely different way?

  • 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-29T19:16:52+00:00Added an answer on May 29, 2026 at 7:16 pm

    The perspective switcher that’s in the addons bundle currently needs the 4.2 Workbench, which means creating a standard 3.x RCP app based on Eclipse 4.2 SDK.

    There are plans to decouple the perspective switcher from the Workbench but that probably won’t happen until Eclipse 4.3. If you want to use a perspective switcher in Eclipse 4 it looks like you would have to create your own.

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

Sidebar

Related Questions

I followed the tutorial here but when I create the project in Eclipse, i
I followed this tutorial on configuring the Rails plugin ExceptionNotifier. I know that I
I followed the RailsCasts tutorial to do a simple search with autocomplete, but it
I have followed the tutorial here http://projectlombok.org/ but after adding import and @Data nothing
I followed the instruction on adding Facebook Android SDK to Eclipse, but for some
My problem is that if I use Eclipse to deploy my Web Application (via
I followed the tutorial introducing the Play framework, but it gives me an error:
I have a C++ Android application that I'm trying to debug with ndk-gdb. The
I am trying to build sipdroid under eclipse,I have downloaded the source from the
I followed a tutorial to install Eclipse and the Android development files onto an

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.