Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and GEF(New Demo with RAP/GEF and some feedback)
RAP and GEF [message #757751] Mon, 21 November 2011 13:41 Go to next message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi RAP Team,

I would like tell you that I have integrated your GEF plugins in our Resume Application to manage our skills resume and it works great! Here a screen of our Skills editor :

index.php/fa/6194/0/

You can play with it by opening "Skills Graphics" menu item to teh application http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.ui.application

Compare to RCP, the Skills editor is almost the same except some little difference that I find it's (little) shame :

  1. Palette in RAP has no border. If you compare the RCP screen :
    index.php/fa/6195/0/ you can notice that there is a border on the left of the palette. In RAP context, this border doens't exist. Is it difficult to draw this line?
  2. Cursor is every time the same in RAP context. When you click on Skill Item palette and you move to the diagram, in RCP context, cursor is displayed with "plus" cursor to tell to the user that it can add a skill in this location. In RAP context the cursor is already the same, so it's difficult to know if you can add a skill or not in the current mouse location.

Anyway, congratulation for your port about GEF for RAP. It's amazing! Great job!

Regards Angelo

[Updated on: Mon, 21 November 2011 13:42]

Report message to a moderator

Re: RAP and GEF [message #757768 is a reply to message #757751] Mon, 21 November 2011 15:09 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Angelo,

I am glad you have found the GEF port useful. Would you please open bugs for the issues you have found?

Thanks.

--Austin
Re: RAP and GEF [message #764739 is a reply to message #757768] Mon, 12 December 2011 19:15 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi, I'd like to know how I can integrate GEF into RAP. I've never used RAP but I need to convert an Eclipse plugin (which use GEF) into a web application. Thanks a lot for any suggestions or advice.
Re: RAP and GEF [message #764743 is a reply to message #757768] Mon, 12 December 2011 19:15 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi, I'd like to know how I can integrate GEF into RAP. I've never used RAP but I need to convert an Eclipse plugin (which use GEF) into a web application. Thanks a lot for any suggestions or advice.
Re: RAP and GEF [message #765165 is a reply to message #764743] Tue, 13 December 2011 14:49 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Andrea,

You can obtain the RAP GEF port from these update sites:

http://download.eclipse.org/rt/rap/1.4/incubator

http://download.eclipse.org/rt/rap/1.5/incubator

Once you have the bundles you need to add them to your target definition. Then your application dependencies should resolve.

Hope this helps,

Austin

Re: RAP and GEF [message #765168 is a reply to message #764739] Tue, 13 December 2011 14:49 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 8
Registered: July 2009
Junior Member
Hi Andrea,

You can obtain the RAP GEF port from these update sites:

http://download.eclipse.org/rt/rap/1.4/incubator

http://download.eclipse.org/rt/rap/1.5/incubator

Once you have the bundles you need to add them to your target definition. Then your application dependencies should resolve.

Hope this helps,

Austin
Re: RAP and GEF [message #765608 is a reply to message #757751] Wed, 14 December 2011 11:26 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi Austin, I tried to add RAP Incubator but I received the following error message:

The following software cannot be installed because it is intended for use only in Plug-in Development Environment (PDE) target platforms. Please deselect these items and retry the operation.
  Rich Ajax Platform (RAP) Incubator Projects (Incubation) 1.4.0.201108091246 (org.eclipse.rap.incubator.feature.feature.group 1.4.0.201108091246)
  If provisioning a target platform then try disabling the option 'Include required software'


The selected target platform is: RAP Runtime - latest stable build

I've tried to select "Runtime platform" also but no luck.

I don't understand what "PDE target platform" means. I thought that there were only three kinds of platform: Runtime, RCP, RAP. Is there another kind of platform which I have to install in order to use RAP incubator?

I've also tried to install RAP Incubator 1.5 but I received the following error message:
Cannot complete the install because one or more required items could not be found.
  Software being installed: Rich Ajax Platform (RAP) Incubator Projects (Incubation) 1.5.0.20111016-1058 (org.eclipse.rap.incubator.feature.feature.group 1.5.0.20111016-1058)
  Missing requirement: RAP File Upload Service (Incubation) 1.5.0.20111016-1058 (org.eclipse.rap.rwt.supplemental.fileupload 1.5.0.20111016-1058) requires 'bundle org.eclipse.rap.rwt 1.5.0' but it could not be found


I'm sure I did something wrong but I don't know what Smile Thanks a lot Smile
Re: RAP and GEF [message #765611 is a reply to message #757751] Wed, 14 December 2011 11:26 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi Austin, I tried to add RAP Incubator but I received the following error message:


The following software cannot be installed because it is intended for use only in Plug-in Development Environment (PDE) target platforms. Please deselect these items and retry the operation.
Rich Ajax Platform (RAP) Incubator Projects (Incubation) 1.4.0.201108091246 (org.eclipse.rap.incubator.feature.feature.group 1.4.0.201108091246)
If provisioning a target platform then try disabling the option 'Include required software'

The selected target platform is: RAP Runtime - latest stable build

I've tried to select "Runtime platform" also but no luck.

I don't understand what "PDE target platform" means. I thought that there were only three kinds of platform: Runtime, RCP, RAP. Is there another kind of platform which I have to install in order to use RAP incubator?

I've also tried to install RAP Incubator 1.5 but I received the following error message:

Cannot complete the install because one or more required items could not be found.
Software being installed: Rich Ajax Platform (RAP) Incubator Projects (Incubation) 1.5.0.20111016-1058 (org.eclipse.rap.incubator.feature.feature.group 1.5.0.20111016-1058)
Missing requirement: RAP File Upload Service (Incubation) 1.5.0.20111016-1058 (org.eclipse.rap.rwt.supplemental.fileupload 1.5.0.20111016-1058) requires 'bundle org.eclipse.rap.rwt 1.5.0' but it could not be found


I'm sure I did something wrong but I don't know what :) Thanks a lot :)
Re: RAP and GEF [message #765629 is a reply to message #765608] Wed, 14 December 2011 12:19 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello

@Andrea

The Target Platform refers to the plug-ins which your workspace will be built and run against. It describes the platform that you are developing for.

Bundles from a target platform are not supposed to be installed directly in eclipse, as plug-ins , but a target platform can be define from Windows > Preferences > Plug-in Development > Target Platform, or in a project you can create a "Target Definition" file from New > Plug-in Development.
From there you can add software update site or folders pointing to bundles that will be part of your target platform so available as dependences for bundles in your workspace.

@Austin
It seems that the update site you give for 1.4 and 1.5 only provide file upload bundles not GEF port. It seems also in 1.5 update site some source bundles are missing

Best regards,
Arnaud


Re: RAP and GEF [message #765684 is a reply to message #765629] Wed, 14 December 2011 14:26 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hello

@Arnaud: thanks a lot

I created a new target platform using RAP Incubator 1.5. It works well using sample RAP projects.

index.php/fa/6475/0/

index.php/fa/6474/0/

Now I'm trying to convert a standard Eclipse plugin into RAP. I don't know at this point how I can replace these imports:



  • org.eclipse.core.resources
  • org.eclipse.ui.part
  • org.eclipse.draw2d
  • org.eclipse.gef


I didn't find org.eclipse.gef.rap nor org.eclipse.rap.gef.

I'm still missing something.

Thanks a lot Smile
Re: RAP and GEF [message #765688 is a reply to message #765629] Wed, 14 December 2011 14:26 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

[dropped]

[Updated on: Tue, 20 December 2011 16:08]

Report message to a moderator

Re: RAP and GEF [message #765760 is a reply to message #765684] Wed, 14 December 2011 16:15 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
I have opened a bug to include the GEF port in the incubator build:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=366714
Re: RAP and GEF [message #768661 is a reply to message #765760] Tue, 20 December 2011 15:13 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

I have to use RAP with GEF porting in order to test the porting of an eclipse plugin into RAP. I think the port of GEF hasn't been included yet inside the RAP incubator version. May you help me to install the GEF port manually into RAP? How can I find a tutorial or some information about this process? Thanks.
Re: RAP and GEF [message #768663 is a reply to message #765760] Tue, 20 December 2011 15:13 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

I have to use RAP with GEF porting in order to test the porting of an eclipse plugin into RAP. I think the port of GEF hasn't been included yet inside the RAP incubator version. May you help me to install the GEF port manually into RAP? How can I find a tutorial or some information about this process? Thanks.
Re: RAP and GEF [message #768674 is a reply to message #768663] Tue, 20 December 2011 16:48 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Ok I've imported the whole GEF porting as Eclipse project using CVS. I don't understand how can use the new "plugin". Thansk.
Re: RAP and GEF [message #768677 is a reply to message #768663] Tue, 20 December 2011 15:40 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Ok I've imported the whole GEF porting as Eclipse project using CVS. I don't understand how can use the new "plugin". Thansk.
Re: RAP and GEF [message #768735 is a reply to message #768674] Tue, 20 December 2011 17:19 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

I've downloaded all the team projects following the instructions given on http://eclipse.org/rap/source/.

Now I have some import errors related to javax.servlet.* and org.mockito.* packages. For example:
- the class ServletRegistration is missing
- the class ServletContext hasn't the method getSerlvetRegistrations()

I tried with different version of server-api (3.0, 3.0.7pre2, 6.0.13, 6.0.20) but nothing has changed.

The errors related to mockito have been solved using mockito-core-1.7.jar

I'm glad if someone has any suggestions Smile

Thanks a lot

--
Andrea
Re: RAP and GEF [message #768738 is a reply to message #768674] Tue, 20 December 2011 17:19 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

I've downloaded all the team projects following the instructions given on http://eclipse.org/rap/source/.

Now I have some import errors related to javax.servlet.* and org.mockito.* packages. For example:
- the class ServletRegistration is missing
- the class ServletContext hasn't the method getSerlvetRegistrations()

I tried with different version of server-api (3.0, 3.0.7pre2, 6.0.13, 6.0.20) but nothing has changed.

The errors related to mockito have been solved using mockito-core-1.7.jar

I'm glad if someone has any suggestions :)

Thanks a lot

--
Andrea
Re: RAP and GEF [message #768775 is a reply to message #768738] Tue, 20 December 2011 19:19 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Andrea,

To use the GEF port you don't have to check out the latest RAP code. You can use the latest stable runtime build from http://eclipse.org/rap/downloads/.

If you set that as the target platform, then all you have to do is check out the GEF port from the incubator into your workspace. Then you application should run fine.

FYI the GEF port will be available in the incubator build in the next few weeks.


Hope this helps.
Re: RAP and GEF [message #777331 is a reply to message #768775] Tue, 10 January 2012 09:53 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi Austin,
your suggestions were very useful but I didn't manage to see GEF work inside RAP.
These are the packages which are available on my current RAP target platform. I don't see anything related to GEF port.

Thanks a lot.

index.php/fa/6690/0/

index.php/fa/6691/0/

index.php/fa/6692/0/

index.php/fa/6693/0/

index.php/fa/6694/0/
Re: RAP and GEF [message #777333 is a reply to message #777331] Tue, 10 January 2012 09:54 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

This is the last screenshot related to the previous post.

index.php/fa/6695/0/
Re: RAP and GEF [message #777336 is a reply to message #768775] Tue, 10 January 2012 09:53 Go to previous messageGo to next message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

[ deleted ]


[Updated on: Tue, 10 January 2012 10:08]

Report message to a moderator

Re: RAP and GEF [message #780439 is a reply to message #777336] Tue, 17 January 2012 21:48 Go to previous message
Andrea Poli is currently offline Andrea PoliFriend
Messages: 28
Registered: December 2011
Location: Italy
Junior Member

Hi Austin,
last week I succeded in compiling and running GEF RAP port. Thanks a lot, your suggestions were correct. I did only one more thing: from CVS I downloaded the packages related to GEF port (http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.rap/incubator/ports/gef/org.eclipse.gef/?root=RT_Project) and I used RAP 1.4.
Previous Topic:Integration with Another App
Next Topic:Google Visualization Update Site
Goto Forum:
  


Current Time: Fri Apr 26 23:29:20 GMT 2024

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

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

Back to the top