|
|
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 |
drew frantz 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 |
Dani Megert 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
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04456 seconds