Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » recursive descend in a diagram
recursive descend in a diagram [message #208286] Fri, 10 October 2008 15:17
Eclipse UserFriend
Originally posted by: user.example.net

Hi,

I have a question about designing a recursive diagram editor with a
breadcrumb trail. can this be done in GMF?

description:

It is a diagram on a network model (= nodes with connection ports +
connections between those ports, like the "logic" example). The model is
recursive, i.e. each node can be a composite node that contains a
network in itself. Composite nodes are displayed as nodes, not as
networks. To "drill down" in the network, an "expand" action is
performed on a recursive node.

now the tricky part:

On an expand action the current diagram is replaced by the (expanded)
network diagram of the expanded node. A breadcrumb trail allows to go
back up one or more levels in the drilldown.


I have some experience with GEF, with GEF I would make a special
container part for the root node to display the breadcrumb trail and in
the child area I would show only the container for the last node element
in the breadcrumb trail.

many thanks for any advice!

Bram
Previous Topic:Eclipse modeling trainings
Next Topic:How to get default size of a node
Goto Forum:
  


Current Time: Tue Jan 19 19:22:08 GMT 2021

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

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

Back to the top