Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » using zest in RAP
using zest in RAP [message #723307] Thu, 08 September 2011 09:46 Go to next message
Achim  is currently offline Achim Friend
Messages: 7
Registered: August 2011
Junior Member
Hi,

I'm trying to run some graphical output via zest inside a RAP application.
I have added the below jars to the project.
org.eclipse.zest.core
org.eclipse.zest.layout
org.eclipse.draw2d
org.eclipse.swt.win32.win32_x86
During runtime I get the below console output:

java.lang.NoSuchMethodError: org.eclipse.draw2d.FigureCanvas.getHorizontalBar()Lorg/eclipse/swt/widgets/ScrollBar;
at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:179)
at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:198)
at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:134)
at org.eclipse.zest.core.widgets.Graph.<init>(Graph.java:121)

I can see that getHorizontalBar is availbale in org.eclipse.swt.win32.win32_x86
but still cannot find it as far as I can see

any help is appreciated

Achim
Re: using zest in RAP [message #724510 is a reply to message #723307] Mon, 12 September 2011 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Achim,

zest cannot be used in RAP as-is. However, there is a RAP port in the
incubator [1] that you may want to try.

HTH
Rüdiger

[1] http://eclipse.org/rap/incubator

On 08.09.2011 11:46, Achim wrote:
> Hi,
>
> I'm trying to run some graphical output via zest inside a RAP application.
> I have added the below jars to the project. org.eclipse.zest.core
> org.eclipse.zest.layout
> org.eclipse.draw2d
> org.eclipse.swt.win32.win32_x86
> During runtime I get the below console output:
>
> java.lang.NoSuchMethodError:
> org.eclipse.draw2d.FigureCanvas.getHorizontalBar()Lorg/eclipse/swt/widgets/ScrollBar;
>
> at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:179)
> at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:198)
> at org.eclipse.draw2d.FigureCanvas.<init>(FigureCanvas.java:134)
> at org.eclipse.zest.core.widgets.Graph.<init>(Graph.java:121)
>
> I can see that getHorizontalBar is availbale in
> org.eclipse.swt.win32.win32_x86
> but still cannot find it as far as I can see
>
> any help is appreciated
>
> Achim

--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: using zest in RAP [message #726679 is a reply to message #724510] Mon, 19 September 2011 09:07 Go to previous messageGo to next message
Achim  is currently offline Achim Friend
Messages: 7
Registered: August 2011
Junior Member
thanks Rüdiger for the response.
I have checked out /incubator/visualization/ from cvs
How do i make these demos e.g. google.demo?
I have tried tried via export team project set but this does not seem to work
can you help with this?
Regards,
Achim
Re: using zest in RAP [message #727043 is a reply to message #726679] Tue, 20 September 2011 09:26 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
On 19.09.2011 11:07, Achim wrote:
> thanks Rüdiger for the response.
> I have checked out /incubator/visualization/ from cvs
BTW, the Zest code resides in /incubator/ports/gef

> How do i make these demos e.g. google.demo?
I am afraid, I don't understand the question. What do you mean with 'make'?

> I have tried tried via export team project set but this does not seem to
> work
> can you help with this?
> Regards,
> Achim

--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: using zest in RAP [message #727414 is a reply to message #727043] Wed, 21 September 2011 08:53 Go to previous messageGo to next message
Achim  is currently offline Achim Friend
Messages: 7
Registered: August 2011
Junior Member
oh sorry for misunderstanding.
I mean the org.eclipse.rap.rwt.visulation.google package. Is this a plugin?
How do I export this as deployable plugin? Do I have to create a product file first?

thanks in advance,
Achim
Re: using zest in RAP [message #727921 is a reply to message #727414] Thu, 22 September 2011 08:32 Go to previous message
Eclipse UserFriend
Originally posted by:

Achim,

the google visualization is a plug-in.
To run the plug-in from within the Eclipse IDE, you can use the RAP
application launcher that comes with "Eclipse for RCP and RAP
Developers" [1].
To deploy RAP applications (or more generally server-side OSGi
applications) there is plenty of information. Just google for "rap
deployment" or search this forum or use the WAR Products Deployment Tool
from the Libra project [2].

HTH
Rüdiger

[1] http://www.eclipse.org/downloads
[2] http://eclipse.org/libra

On 21.09.2011 10:53, Achim wrote:
> oh sorry for misunderstanding.
> I mean the org.eclipse.rap.rwt.visulation.google package. Is this a plugin?
> How do I export this as deployable plugin? Do I have to create a product
> file first?
>
> thanks in advance,
> Achim

--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Wrapping Canvas in ScrolledComposite
Next Topic:Javascript error -> custom html page
Goto Forum:
  


Current Time: Fri Apr 26 17:24:30 GMT 2024

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

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

Back to the top