[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
- From: Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 Apr 2012 08:15:33 -0400
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8k6Wv5Ovlkjyw16E7sP99QNb60YDplsVmlI+EQZVw8A=; b=y44XUW64n1wV+JwyXYPVOMLfg+axr95zYQuNzYqSD057LDdhYUMweOzd+YOdeDJPhx sL8Hq8UyVoTKNeyXJTC6RZG2NcGHgLVm9muLhc+seStcxoNiJUa8Fh1CLl3RtAYWGCqZ eNohUp9cBG9QmLtyTBTPsMPuERZ2t8wLIJmT0MFdjUUcJqbpRdV4nZCiKyXmYwgK3mLG VdIZmkvGqlFwzQPdHr/yxmu0yaX4Nw0fnI/KI0dQNlwWFOFO8LWVytN7yX9+7fuxFvyI pNy37fjFarVQ42XKsGfWJyvIDeAWSo3hL66VE+QzZbsLqsdUafdwg65IqBBI6tPDB1RL f6qw==
On Tue, Apr 10, 2012 at 7:42 AM, Campo, Christian <Christian.Campo@xxxxxxxxxxxx>
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).
Hi floor.Â Make me a sammich! - GIR