Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP with a database and not with IResources ??
RCP with a database and not with IResources ?? [message #449248] Thu, 11 May 2006 09:07 Go to next message
Eclipse UserFriend
Originally posted by: awm_abu.yahoo.com

Hello all,

I am currently working on an RCP product and we have taken the decision to
use EMF
and Hibernate with a relational database in the background.

My task is to create a text editor for a given industrial programming
language, which is C like.
I am required to provide functionality similar to the Java editor in Eclipse
such as Content Assist, Folding etc.
However the fact that we are using a database and do not have IResources is
causing me problems.

Markers are created on IResources, Search requires IResources to run etc.
I am starting to think that there is lots of functionality in Eclipse that I
will not be able to use or will
have to put a lot of effort in to use because I do not have IResources.

Has anybody else faced these problems or have any idea on whether there is a
way around these problems ?

Thanks.
Re: RCP with a database and not with IResources ?? [message #449370 is a reply to message #449248] Thu, 11 May 2006 10:51 Go to previous messageGo to next message
Eclipse UserFriend
In 3.1, you have to have IResources if you want to do anything, and that requires a filesystem-backed store.

In 3.2, the push is to provide a separation between the IResources and the filing system. So whilst everything continues to believe that there's a filesystem there, you can actually translate the mapping between IResources and another storage mechanism. However, I've not tried this and so I don't know how far down the line this has gone -- you might get a better answer from the platform newsgroup.

Here's the bug behind it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=37723

So, it depends on whether you're basing it on 3.1 or 3.2 ...

Alex.
Re: RCP with a database and not with IResources ?? [message #449373 is a reply to message #449370] Thu, 11 May 2006 11:07 Go to previous messageGo to next message
Eclipse UserFriend
See also pointers relating to EFS

http://www.eclipse.org/eclipse/platform-core/documents/3.2/f lexible_workspaces/migration.html
Re: RCP with a database and not with IResources ?? [message #449398 is a reply to message #449373] Thu, 11 May 2006 19:39 Go to previous message
Eclipse UserFriend
I would find it useful if someone could put together a simple RCP that also uses the new IResources in 3.2
(like a simple file browser)

It is not entirely obvious to me right now how to cretae a stand-alone application that can take adavtages of this

Can anyone lend a hand explaining how to do this?
Previous Topic:Internationalization problem
Next Topic:How to get an image in a Section
Goto Forum:
  


Current Time: Sun Aug 31 21:07:39 EDT 2025

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

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

Back to the top