Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with super and sub-diagram
Problem with super and sub-diagram [message #236188] Wed, 15 July 2009 06:28 Go to previous message
Sinisa is currently offline Sinisa
Messages: 10
Registered: July 2009
Junior Member
Hi all,
I have the next problem and don’t know how to solve it.
In Project Explorer is presented my domain model.
Its look like this (this model has been simplified for easier
explanations).

myDomain.ext
|
-Document Root
|
--School (my root element)
|
-- Section
|
--Classrooms
|
-- Classroom1
|
-- Classroom2
|
-- Classroom3
.
.
.

Double-click on Classroom (1 or 2 or 3...) should open its own diagram.
It means that every Classroom has own diagram (better to say sub-diagram
with Classrooms as ROOT element).
Off course, I first need to create the super-diagram (School as ROOT
element), but I want to hide that super-diagram.
Only what I need is tree view in the Project Explorer where I can use
context menu (right click) to create Section, Classrooms...
and when it's created the new Classroom should be created and a new
diagram in a new tab.

I hope that I was clear. Any advice is more than welcome.

Thanks & regards,
Sinisa
 
Read Message
Read Message
Previous Topic:Formatable diagram elements (or not?)
Next Topic:Programmatically generate diagram contents
Goto Forum:
  


Current Time: Thu May 23 01:03:11 EDT 2013

Powered by FUDForum. Page generated in 0.01877 seconds