Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [ECP] Custom ModelContentProvider
[ECP] Custom ModelContentProvider [message #1388757] Thu, 26 June 2014 22:52 Go to next message
Olivier Labrosse is currently offline Olivier LabrosseFriend
Messages: 49
Registered: November 2011
Member
Hi!

We're looking to replace our Workspace/XMI-based explorer with an ECP/EMFStore-based one. The application is a 3.x one, but we're gradually migrating to Luna, now that it's released.

Only limitation I can see at this point is that the Model Explorer's content provider seems hardcoded in a way that prevents me from using a single ECPProject and not displaying it in the tree. In other words, I want a single EMFStore and only my domain model contents to show in the Model Explorer.

If this is doable without contributing my own Model Explorer view (or straight-up customizing the ECP code), can you please give me some pointers? Research has been unfruitful so far, and I dread having to resort to either of the aforementioned solutions.

Thanks in advance for any help you may provide!

-Olivier
Re: [ECP] Custom ModelContentProvider [message #1389017 is a reply to message #1388757] Fri, 27 June 2014 08:03 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

We implemented this several times in customers projects, but a genereic
solution would be great. If I understand your requirement correctly, you
want to have one project, which is "open" and only its contents are
displayed in the tree?
I think it must be a dedicated view, because it needs to offer some more
toolbar item, which trigger actions such as "create new model element"
"undo/commit/share", open project, ...

Best Regards

Jonas

Am 27.06.2014 00:52, schrieb Olivier Labrosse:
> Hi!
>
> We're looking to replace our Workspace/XMI-based explorer with an
> ECP/EMFStore-based one. The application is a 3.x one, but we're
> gradually migrating to Luna, now that it's released.
>
> Only limitation I can see at this point is that the Model Explorer's
> content provider seems hardcoded in a way that prevents me from using a
> single ECPProject and not displaying it in the tree. In other words, I
> want a single EMFStore and only my domain model contents to show in the
> Model Explorer.
>
> If this is doable without contributing my own Model Explorer view (or
> straight-up customizing the ECP code), can you please give me some
> pointers? Research has been unfruitful so far, and I dread having to
> resort to either of the aforementioned solutions.
>
> Thanks in advance for any help you may provide!
>
> -Olivier
Previous Topic:Undo Redo Support on ModelExplorer
Next Topic:EMF FORM
Goto Forum:
  


Current Time: Tue Mar 19 02:16:06 GMT 2024

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

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

Back to the top