Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse3.5 update to Eclipse4.12, PerspectiveBarManager is invalid(Eclipse3.5 update to Eclipse4.12, Some class is lost and invalid in jar package of org.eclipse.ui.worbench, For instance the class PerspectiveBarManager all lost)
Eclipse3.5 update to Eclipse4.12, PerspectiveBarManager is invalid [message #1809096] Tue, 09 July 2019 04:11 Go to next message
wang xianlong is currently offline wang xianlongFriend
Messages: 2
Registered: July 2019
Junior Member
import org.eclipse.ui.internal.PerspectiveBarContributionItem;
import org.eclipse.ui.internal.PerspectiveBarNewContributionItem;
import org.eclipse.ui.internal.PerspectiveBarManager;
import org.eclipse.ui.internal.WorkbenchPlugin;
import org.eclipse.ui.internal.WorkbenchWindow;



//* set perspective
final PerspectiveBarManager perspBar = window.getPerspectiveBar();
IPerspectiveRegistry perspReg = WorkbenchPlugin.getDefault().getPerspectiveRegistry();
Re: Eclipse3.5 update to Eclipse4.12, PerspectiveBarManager is invalid [message #1809306 is a reply to message #1809096] Fri, 12 July 2019 21:44 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
You are using functions and classes that are not part of the public API of Eclipse. Therefore these functions and classes can change or disappear in any release.

import org.eclipse.ui.internal.PerspectiveBarManager;

The PerspectiveBarManager class is no longer available in Eclipse 4.x
Previous Topic:m2eclipse "Could not get the value for parameter" ClassNotFoundException
Next Topic:OSGI Fragment for logging not working
Goto Forum:
  


Current Time: Fri Apr 19 06:28:45 GMT 2024

Powered by FUDForum. Page generated in 0.01979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top