Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to custom Projet Explorer tree
How to custom Projet Explorer tree [message #184919] Wed, 30 April 2008 10:44 Go to next message
Eclipse UserFriend
Hi,
I would like to know how to custom the tree displayed in the Project
Explorer perspective ? I would like to add some elements (partitioned
nodes are not illustrated) and delete others ("links" forlders are
created...).

Thanks for your help.

Regards,
Philippe
Re: How to custom Projet Explorer tree [message #184956 is a reply to message #184919] Wed, 30 April 2008 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Hello Philippe,

You have to modify the structure below GenNavigator node in your .gmfgen
model.

-----------------
Alex Shatalin
Re: How to custom Projet Explorer tree [message #184964 is a reply to message #184956] Wed, 30 April 2008 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex, thank you for your very fast answer ;-)

Like my diagram is partitioned (I have several .gmfmap , .gmftool and
..gmfgen), do I have to add all the nodes of my semantic domain (even if
they are not displayed in my main diagram) in my .gmfmap of my main
diagram ?



Alex Shatalin a écrit :
> Hello Philippe,
>
> You have to modify the structure below GenNavigator node in your .gmfgen
> model.
>
> -----------------
> Alex Shatalin
>
>
Re: How to custom Projet Explorer tree [message #184971 is a reply to message #184964] Wed, 30 April 2008 11:23 Go to previous messageGo to next message
Eclipse UserFriend
Hello Philippe,

I think you should ensure that only one GenNavigator instance has generateDomainModelNavigator
== true.
I suppose that content of each diagram should be visualized in ProjectExplorer
by corresponding providers generated together with the diagram, so you should
not have some "main" diagram containing all the elements to generate appropriate
set of providers. As usually there is always a place for mistakes, so I easily
can be wrong. :-)

-----------------
Alex Shatalin
Re: How to custom Projet Explorer tree [message #185257 is a reply to message #184971] Mon, 05 May 2008 02:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex, sorry for my late answer.

See my comment below please.

Alex Shatalin a écrit :
> Hello Philippe,
>
> I think you should ensure that only one GenNavigator instance has
> generateDomainModelNavigator == true.

Yes, I only generate one domainModelNavigator (for my main diagram).

> I suppose that content of each diagram should be visualized in
> ProjectExplorer by corresponding providers generated together with the
> diagram, so you should not have some "main" diagram containing all the
> elements to generate appropriate set of providers. As usually there is
> always a place for mistakes, so I easily can be wrong. :-)

In fact, I can only see the elements of my main diagram (since the
corresponding domainModelNavigator is generated). But, my projet
explorer view for my domain model is correctly displayed. I have just a
problem with my notation diagram.


Regards,
Philippe

>
> -----------------
> Alex Shatalin
>
>
Re: How to custom Projet Explorer tree [message #185311 is a reply to message #185257] Mon, 05 May 2008 06:16 Go to previous messageGo to next message
Eclipse UserFriend
Hello Philippe,

> In fact, I can only see the elements of my main diagram (since the
> corresponding domainModelNavigator is generated). But, my projet
> explorer view for my domain model is correctly displayed. I have just
> a problem with my notation diagram.
I think, all the elements represented on your diagram should be visible below
this node. If you have something missing there (some particular node present
on diagram, but absent in explorer below the corresponding diagram) - try
to submitt request to fix this problem.

-----------------
Alex Shatalin
Re: How to custom Projet Explorer tree [message #185376 is a reply to message #185311] Mon, 05 May 2008 08:59 Go to previous message
Eclipse UserFriend
I think it is a partioned diagram issue. I will post a bug about this.
Tahnks for your help Alex.

Regards,

Philippe

Alex Shatalin a écrit :
> Hello Philippe,
>
>> In fact, I can only see the elements of my main diagram (since the
>> corresponding domainModelNavigator is generated). But, my projet
>> explorer view for my domain model is correctly displayed. I have just
>> a problem with my notation diagram.
> I think, all the elements represented on your diagram should be visible
> below this node. If you have something missing there (some particular
> node present on diagram, but absent in explorer below the corresponding
> diagram) - try to submitt request to fix this problem.
> -----------------
> Alex Shatalin
>
>
Previous Topic:exclude note from auto arrange function
Next Topic:RC
Goto Forum:
  


Current Time: Tue Jul 22 14:53:58 EDT 2025

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

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

Back to the top