[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

Hi Christina,

On Tue, Apr 10, 2012 at 7:42 AM, Campo, Christian <Christian.Campo@xxxxxxxxxxxx> wrote:

Hi Paul,

maybe I am asking a silly question here, but since Riena experienced some APIs in E4 which didnt work to our surprise I have to ask this. Is the method getToolbar() DEPRECATED (as it should be) ???

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).


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