|Re: [ECP] Custom ModelContentProvider [message #1389017 is a reply to message #1388757]
||Fri, 27 June 2014 08:03
| Jonas Helming
Registered: July 2009
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, ...
Am 27.06.2014 00:52, schrieb Olivier Labrosse:
> 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!
Powered by FUDForum
. Page generated in 0.01672 seconds