Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Two contentProvider with one genmodel
Two contentProvider with one genmodel [message #417761] Wed, 26 March 2008 16:26 Go to next message
Giulio Seregni is currently offline Giulio SeregniFriend
Messages: 21
Registered: July 2009
Junior Member
Hi all.

Given this scenario:

I have a model and two differents editors.
One that "visualize" the model through a java3d viewer (see my provios
post for sample :) ) and the other one that permit to edit the model.

Both of them provide a content outline page.

I would like to have two differents ContentProvider hiding/showing
differents trees. I tried to make a second genmodel but it raise
differents problems about packages name, projects dependencies etc.

someone has a better idea ?
Re: Two contentProvider with one genmodel [message #417842 is a reply to message #417761] Wed, 26 March 2008 16:51 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Giulio,

It seems best to have a basic version as you'd use in a content outline
page, and then have a derived factory that creates derived item provider
instances for use in more specialized contexts (as we do for
XSDSemanticItemProviderAdapterFactory).


Giulio Seregni wrote:
> Hi all.
>
> Given this scenario:
>
> I have a model and two differents editors. One that "visualize" the
> model through a java3d viewer (see my provios post for sample :) ) and
> the other one that permit to edit the model.
>
> Both of them provide a content outline page.
>
> I would like to have two differents ContentProvider hiding/showing
> differents trees. I tried to make a second genmodel but it raise
> differents problems about packages name, projects dependencies etc.
>
> someone has a better idea ?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:cross reference to models in other project not resolved
Next Topic:impl compiler error
Goto Forum:
  


Current Time: Thu Sep 26 06:21:06 GMT 2024

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

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

Back to the top