[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.bpel-designer] Re: Programmatically open an external BPEL File ?

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