Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Opening an editor with Hibernate protocol URI.
Opening an editor with Hibernate protocol URI. [message #421999] Wed, 20 August 2008 09:18 Go to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi,

The openEditor() functions only trigger opening of editors if the URI
has an extension (i.e. foo.mymodel). Has anyone managed to somehow to
map the Hibernate URI ( hibernate://?dsname=mymodel) to an Editor ID?

Can the EditUIUtil class be extended to do this? (As it clearly says it
can only open platform URI's).


Thanks, Christophe Bouhier.
Re: Opening an editor with Hibernate protocol URI. [message #422005 is a reply to message #421999] Wed, 20 August 2008 09:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33146
Registered: July 2009
Senior Member
Christophe,

Editors can be registered against extensions or against content types,
hough the content types are generally registered against extensions and
I can't figure out a way to register one against files with no
extension. So I expect you need to explicitly know the ID of the editor
you want to open in this case...


Christophe Bouhier wrote:
> Hi,
>
> The openEditor() functions only trigger opening of editors if the URI
> has an extension (i.e. foo.mymodel). Has anyone managed to somehow to
> map the Hibernate URI ( hibernate://?dsname=mymodel) to an Editor ID?
>
> Can the EditUIUtil class be extended to do this? (As it clearly says
> it can only open platform URI's).
>
>
> Thanks, Christophe Bouhier.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Performance Handling for Big Database as Resource
Next Topic:xsd import/export
Goto Forum:
  


Current Time: Wed May 08 20:37:17 GMT 2024

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

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

Back to the top