Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] [egit-dev] EGit UI tests fail on Eclipse 4.2 with java.lang.NoSuchMethodError: org.eclipse.ui.internal.PartPane.getToolBar()Lorg/eclipse/swt/widgets/Control

On Tue, Apr 10, 2012 at 8:15 AM, Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:

In this case, PartPane was internal and they shouldn't have been using it.  Even the code I've supplied is technically violating API, as the framework only offers a way to get the view part IToolBarManager.   It just happens that my suggested code will work in 3.8 and 4.2 (but I can't speak to >4.2).


Bug 375305 - org.eclipse.ui.internal.PartPane does no longer allows access to its toolbar
 

PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top