Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Open sub-editors from the diagram Navigator
Open sub-editors from the diagram Navigator [message #191155] Thu, 05 June 2008 14:02 Go to next message
Eclipse UserFriend
Originally posted by: zippo29.hotmail.fr

Hi!

I tried to use my sub-editor from the diagram navigator in the project
explorer view. When I double click on the root node it opens the main
editor but when i double click on the nodes thaht opens normally a sub
editor it fails. Is it made on purpose or did I miss something ?

Thanks in advance
Re: Open sub-editors from the diagram Navigator [message #191261 is a reply to message #191155] Thu, 05 June 2008 17:15 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Mous,

> editor it fails. Is it made on purpose or did I miss something ?
Do you have any errors in log? What does it mean "fails"?
To open sub-diagram you have to find corresponding Diagram instance (top-level
element of the .???_diagram resource) and double-click on it.

-----------------
Alex Shatalin
Re: Open sub-editors from the diagram Navigator [message #191362 is a reply to message #191261] Fri, 06 June 2008 08:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zippo29.hotmail.fr

I don't know why but I had a feeling Alex will be the first to answer ! ;)
Thanks!

Sorry, I was not clear enough... When I said it fails that means for me :
it fails to do what I want i.e opening the sub-editor! A better expression
would be "I can not acess it" :).

I will re-describe my problem and I hope this will be clearer.

- Description of the situation :
I have a model:

+ Organization (root node)
+ Building
+ Floor
+ Office
+ Furniture
+ Employee

My diagram is a .orgchart_diagram. I specified an editor for the model
with Organization as a root node, an editor for buildings with Building as
a root node and an editor for floors with Floor as root node.

When I create an .orgchart_diagram i double click on buildings to access
the building editor same thing for floors.

Now, I open the navigator of the project explorer view. I can double
click on the root node (Organization) to acess the Organization editor
(main editor). But, when I try to acess the Building editor (sub-editor)
from the same navigator (the same tree), I can not!

I don't have any error or warning in the error log, so I was wondering
if it was made like that.
Re: Open sub-editors from the diagram Navigator [message #191476 is a reply to message #191362] Fri, 06 June 2008 17:06 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Mous,

> editor (main editor). But, when I try to acess the Building editor
> (sub-editor) from the same navigator (the same tree), I can not!
Looks like this ode was not imlemented. Additional (root) diagram node will
be created in the same .orgchart_diagram then you do double-click on the
buildings node. Yo ushould be able to see this node nearby the corresponding
top-level diagram (root node (Organization)). Sub-diagram should be openned
on double-clicking to this node.

-----------------
Alex Shatalin
Previous Topic:Create a link between a Node and another Link
Next Topic:Reference based links & Connection View creation.
Goto Forum:
  


Current Time: Tue Apr 23 07:24:30 GMT 2024

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

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

Back to the top