|
|
Re: Programmatically open an external BPEL File ? [message #9553 is a reply to message #8709] |
Fri, 17 August 2007 15:05 |
Florian Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hi,
first of all, (delayed) thanks for the reply and all past replies to my
posts.
I ve had a look at the org.eclipse.bpel.common.ui.editmodel and i also
think, as you already mentioned, its a bit of an issue to add non IFile
-Support (the edit model seems to be designed for workspace files only).
But since we want to run our (sometime in the future ;) customized bpel
editor in a RCP-App without Workspace-dependencies we will need this
feature (so we or you (?) have to imlement it ;)
However, since 3.3 the org.eclipse.ui.ide plug-in supports opening
external files trough the "Open File..." action by providing an editor
input type "FileStoreEditorInput". Maybe this would make the whole thing
easier...
Is there a small chance this will be in the M3 release (which is
scheduled for today on the web-site) ?
Thanks for your support (which already helped us a lot).
Greetings
Florian
> Florian,
>
> I think that's a new 3.3 feature that was added to be able to open
> non-workspace inputs in the editors.
>
> You (we) would have to look into the BPELEditModelClient and see what
> really prevents us from supporting this. Edit Model client is shared
> among different view instances of the editor. Basically, 1 edit model
> client, N views (editors). There are some magical listeners that listen
> on IFile resource changes so that might be a little bit of an issue.
>
> -michal
>
> Florian wrote:
>> Hi,
>>
>> i want to add functionality such that i can open an external BPEL File
>> (not in the workspace) either via "Open File..."
>> or via an JCR-repository.
>>
>> If i try to open a bpel file via "Open File.." i get execptions
>> because the input is not of type IFileEditorInput.
>> As far as i ve seen, BPELEditModelClient only supports IFile ?
>>
>>
>> How can i achieve this functionality and where is the place to put
>> this extension?
>>
>> Thank for your help.
>>
>> Greetings
>> Florian
>>
|
|
|
Re: Programmatically open an external BPEL File ? [message #9833 is a reply to message #9553] |
Sun, 30 September 2007 03:02 |
Eclipse User |
|
|
|
Originally posted by: yqouyang.126.com
hi,Florian..
Whether you've solved the problem open an external BPEL File by "Open
File..." ? if not ,you've found another way? I met the similar problem:I
want to use the BPEL editor in the RCP-App for modifying the BPEL flow.
If there is no good methods and I have to bring in the workspace in the
RCP-App like the Eclipse IDE .what i should do to achive this?
thanks very much..
Yi
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds