Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to visualize different views for a single model
How to visualize different views for a single model [message #37295] Sat, 02 September 2006 03:50 Go to next message
Eclipse UserFriend
Originally posted by: sri7777.gmail.com

I would like to visualize the layout and interaction among various CORBA
components deployed in our system. Basically, I am planning to draw
component diagrams at various "altitudes" -
1. at system level - showing subsystems and their components
2. at sub-system level - showing structural organization of components
within a subsystem,
3. (this is my ultimate goal) show the run-time interaction among
components within a subsystem.

Each component is a CORBA component containing its name, executable
name, and a lot of other information. I am planning to use GMF for
implementing this system.

I am guessing I will have just one domain model that would describe the
details of a single component along with their relationships. I would
also specify the containment relationship between a subsystem and its
components.

I can generate a .gmfgraph, .gmftool, and .gmfgen files from the model.
Using the Mindmap tutorials as a guide, I can customize them.

Based on the tutorials, I would end up with an editor to create/edit
diagrams. But this is not what I need. My users would not want to
create/edit component diagrams but to only view them. Maybe, they would
want to edit some labels, print diagram, copy/paste parts of a diagram,
re-arrange components, etc.

My question is given a single model, how would I visualize different
views for it. Should I focus on generating a .diagram file? Are any
examples available for visualizing different views of a single model?

Your help is much appreciated.

Thanks,
James Austin
Re: How to visualize different views for a single model [message #37331 is a reply to message #37295] Sat, 02 September 2006 07:09 Go to previous message
Eclipse UserFriend
Hi James,

I suppose there are several approaches here, depending on whether or not you
want distinct diagram types for these different views, or simply a
filtering/layering of detail (although for the 3rd goal, I'd say the
"instance" diagram would make sense to be distinct).

For your single domain model, you could create multiple diagrams to produce
the different views. This is no different than creating different diagram
definitions for each UML diagram. These will soon be coming to the proposed
MDT project.

In your case, you could even have a single *.gmfgraph model, and simply
create a *.gmfmap, *.gmftool, and *.gmfgen models for each view. So, create
a single corba.gmfgraph for your corba.ecore domain model. Then, perhaps a
corba_system.gmfmap, corba_subsystem.gmfmap, and corba_instance.gmfmap for
each view, each to then have its own tool and generation model (and
therefore, generated diagram).

I'm not sure about your plans for users to not create/edit diagrams, yet
adjust their content (sounds like editing to me ;), but you can use the
generated init diagram action for creating diagrams from existing instances
of your domain model for them to view or begin with.

Best,
Rich


On 9/2/06 3:50 AM, in article edbd3t$vth$1@utils.eclipse.org, "James Austin"
<sri7777@gmail.com> wrote:

> I would like to visualize the layout and interaction among various CORBA
> components deployed in our system. Basically, I am planning to draw
> component diagrams at various "altitudes" -
> 1. at system level - showing subsystems and their components
> 2. at sub-system level - showing structural organization of components
> within a subsystem,
> 3. (this is my ultimate goal) show the run-time interaction among
> components within a subsystem.
>
> Each component is a CORBA component containing its name, executable
> name, and a lot of other information. I am planning to use GMF for
> implementing this system.
>
> I am guessing I will have just one domain model that would describe the
> details of a single component along with their relationships. I would
> also specify the containment relationship between a subsystem and its
> components.
>
> I can generate a .gmfgraph, .gmftool, and .gmfgen files from the model.
> Using the Mindmap tutorials as a guide, I can customize them.
>
> Based on the tutorials, I would end up with an editor to create/edit
> diagrams. But this is not what I need. My users would not want to
> create/edit component diagrams but to only view them. Maybe, they would
> want to edit some labels, print diagram, copy/paste parts of a diagram,
> re-arrange components, etc.
>
> My question is given a single model, how would I visualize different
> views for it. Should I focus on generating a .diagram file? Are any
> examples available for visualizing different views of a single model?
>
> Your help is much appreciated.
>
> Thanks,
> James Austin
Previous Topic:Problem with validation.
Next Topic:Additional visual properties and using existing objects as templates for creation tool
Goto Forum:
  


Current Time: Sun May 11 22:48:55 EDT 2025

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

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

Back to the top