Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Is there a recipe to have an RCP use resources but hide all the details.
Is there a recipe to have an RCP use resources but hide all the details. [message #486464] Thu, 17 September 2009 18:18 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
There is a plugin I am using that is currentlly using the IDE resource and
associated IFileEditor input . I want to create these behind the scenes
using a dummy workspace, project that i will utilize inside my RCP
application, but I will not be using the standard resource navigator
supplied by the ide. Anyone have an example of this or a pointer to some
reference code?
Re: Is there a recipe to have an RCP use resources but hide all the details. [message #486566 is a reply to message #486464] Fri, 18 September 2009 08:54 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
drew wrote:
> There is a plugin I am using that is currentlly using the IDE resource and
> associated IFileEditor input . I want to create these behind the scenes
> using a dummy workspace, project that i will utilize inside my RCP
> application, but I will not be using the standard resource navigator
> supplied by the ide. Anyone have an example of this or a pointer to some
> reference code?
>
What do you want to achieve in the end?

Dani
Re: Is there a recipe to have an RCP use resources but hide all the details. [message #486628 is a reply to message #486566] Fri, 18 September 2009 13:08 Go to previous messageGo to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
The project we depend on (xtext) uses the underlying IDE concepts of
workspace, project and Resource. I have two options:
a) construct the RCP application using the Navigator and introduce some of
the eclipse-isms into my RCP (workspace,project,resource). Maybe this is
easy and possible, but past version of our RCP application did not use all
these things that is why we are looking for a way to hide them from the
end-user.
b) Hide the eclipse-isms by creating a dummy project and resource behind the
scenes when we open one of the xtext files so the xtext frameowkr behaves
correctly, but we do not need to introduce the navigator and eclipse things
into the product feature set (we just want to open our files using our
simple IPathEditorInput, not create a project, then create/import file, or
import things into workspaces, etc).


Option (b) is a bit more appealing since we already have our XML file that
is essentially a conceptual project and we cannot change this format.
fyi: I already opened a bugzilla report requesting that xtext try and
separate out the IDE concepts in its framework.

"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:h8vhrj$oqk$1@build.eclipse.org...
> drew wrote:
>> There is a plugin I am using that is currentlly using the IDE resource
>> and associated IFileEditor input . I want to create these behind the
>> scenes using a dummy workspace, project that i will utilize inside my RCP
>> application, but I will not be using the standard resource navigator
>> supplied by the ide. Anyone have an example of this or a pointer to some
>> reference code?
> What do you want to achieve in the end?
>
> Dani
Re: Is there a recipe to have an RCP use resources but hide all the details. [message #486984 is a reply to message #486628] Mon, 21 September 2009 12:15 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
drew wrote:
> The project we depend on (xtext) uses the underlying IDE concepts of
> workspace, project and Resource. I have two options:
> a) construct the RCP application using the Navigator and introduce some of
> the eclipse-isms into my RCP (workspace,project,resource). Maybe this is
> easy and possible, but past version of our RCP application did not use all
> these things that is why we are looking for a way to hide them from the
> end-user.
> b) Hide the eclipse-isms by creating a dummy project and resource behind the
> scenes when we open one of the xtext files so the xtext frameowkr behaves
> correctly, but we do not need to introduce the navigator and eclipse things
> into the product feature set (we just want to open our files using our
> simple IPathEditorInput, not create a project, then create/import file, or
> import things into workspaces, etc).
>
>
> Option (b) is a bit more appealing since we already have our XML file that
> is essentially a conceptual project and we cannot change this format.
> fyi: I already opened a bugzilla report requesting that xtext try and
> separate out the IDE concepts in its framework.
>
I would go for b. I don't know xtext in detail but with the standard
Eclipse SDK you can open external (i.e. not contained in a workspace)
files easily.

Dani
> "Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
> news:h8vhrj$oqk$1@build.eclipse.org...
>
>> drew wrote:
>>
>>> There is a plugin I am using that is currentlly using the IDE resource
>>> and associated IFileEditor input . I want to create these behind the
>>> scenes using a dummy workspace, project that i will utilize inside my RCP
>>> application, but I will not be using the standard resource navigator
>>> supplied by the ide. Anyone have an example of this or a pointer to some
>>> reference code?
>>>
>> What do you want to achieve in the end?
>>
>> Dani
>>
>
>
>
Previous Topic:Good Model-View-Presenter/Presenter First RCP example?
Next Topic:CocoaUIEnhancer
Goto Forum:
  


Current Time: Wed Apr 24 22:19:08 GMT 2024

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

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

Back to the top