Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Separate visual information from model when saving
Separate visual information from model when saving [message #213736] Mon, 10 April 2006 10:35 Go to next message
Eclipse User
Originally posted by: modica.$nospam$cs.tu-berlin.de

Hello dear community!

We intend to implement a graphical editor for a uml2-like visual language,
so the model of the uml2-plugin fits covers our needs.

Till now our editor models contained specific visual information like
locations, colors etc. I wonder how to make this information persistent if
we used the uml2-plugin which does not contain (at least I didn't find it)
such information. I'm sure that we could extract this manually while saving
the model to a file and creating an extra file for visual information only
which would be merged with the model on loading.

But as this seems to be a common issue to me, I'd like to know if anybody of
you knows about a plugin that handles its models in a way that we could use
for our project. Thanks a lot!

Regards,
Tony
Re: Separate visual information from model when saving [message #213774 is a reply to message #213736] Mon, 10 April 2006 17:25 Go to previous messageGo to next message
Eclipse User
Originally posted by: vuml.feradz.com

Hi Tony,
I currently work on a similar project as yours but it is still in very early
implementation stage. In my design considerations I think of wrapping the
UML2 model by using composition. More specifically, I have a wrapper class
for each Classifier within the UML2 that add the style and decoration
properties for the view side. It seems a flexible approach for me. You may
throw a look on my project's page at http://vuml.sf.net. There are detailed
analysis and design docs in UML, although my design has not completed yet.

Regards,
Ferad Zyulkyarov


"Tony Modica" <modica@$nospam$cs.tu-berlin.de> wrote in message
news:e1dqeo$fka$1@utils.eclipse.org...
> Hello dear community!
>
> We intend to implement a graphical editor for a uml2-like visual language,
> so the model of the uml2-plugin fits covers our needs.
>
> Till now our editor models contained specific visual information like
> locations, colors etc. I wonder how to make this information persistent if
> we used the uml2-plugin which does not contain (at least I didn't find it)
> such information. I'm sure that we could extract this manually while
saving
> the model to a file and creating an extra file for visual information only
> which would be merged with the model on loading.
>
> But as this seems to be a common issue to me, I'd like to know if anybody
of
> you knows about a plugin that handles its models in a way that we could
use
> for our project. Thanks a lot!
>
> Regards,
> Tony
>
>
Re: Separate visual information from model when saving [message #213782 is a reply to message #213736] Mon, 10 April 2006 17:48 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. Shaw
Messages: 128
Registered: July 2009
Senior Member
Take a look at the GMF project. www.eclipse.org/gmf

It defines a notation meta-model in EMF that persists the diagram
information separately from the user domain model. The notation model then
references the domain model.

-Steve

"Tony Modica" <modica@$nospam$cs.tu-berlin.de> wrote in message
news:e1dqeo$fka$1@utils.eclipse.org...
> Hello dear community!
>
> We intend to implement a graphical editor for a uml2-like visual language,
> so the model of the uml2-plugin fits covers our needs.
>
> Till now our editor models contained specific visual information like
> locations, colors etc. I wonder how to make this information persistent if
> we used the uml2-plugin which does not contain (at least I didn't find it)
> such information. I'm sure that we could extract this manually while
saving
> the model to a file and creating an extra file for visual information only
> which would be merged with the model on loading.
>
> But as this seems to be a common issue to me, I'd like to know if anybody
of
> you knows about a plugin that handles its models in a way that we could
use
> for our project. Thanks a lot!
>
> Regards,
> Tony
>
>
Re: Separate visual information from model when saving [message #213860 is a reply to message #213782] Tue, 11 April 2006 11:25 Go to previous message
Eclipse User
Originally posted by: vuml.feradz.com

I threw a look on GMF, it appears to be really very powerful. I will
consider how to get advantage of it.

Ferad Zyulkyarov

"Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
news:e1ejlk$ee2$1@utils.eclipse.org...
> Take a look at the GMF project. www.eclipse.org/gmf
>
> It defines a notation meta-model in EMF that persists the diagram
> information separately from the user domain model. The notation model
then
> references the domain model.
>
> -Steve
>
> "Tony Modica" <modica@$nospam$cs.tu-berlin.de> wrote in message
> news:e1dqeo$fka$1@utils.eclipse.org...
> > Hello dear community!
> >
> > We intend to implement a graphical editor for a uml2-like visual
language,
> > so the model of the uml2-plugin fits covers our needs.
> >
> > Till now our editor models contained specific visual information like
> > locations, colors etc. I wonder how to make this information persistent
if
> > we used the uml2-plugin which does not contain (at least I didn't find
it)
> > such information. I'm sure that we could extract this manually while
> saving
> > the model to a file and creating an extra file for visual information
only
> > which would be merged with the model on loading.
> >
> > But as this seems to be a common issue to me, I'd like to know if
anybody
> of
> > you knows about a plugin that handles its models in a way that we could
> use
> > for our project. Thanks a lot!
> >
> > Regards,
> > Tony
> >
> >
>
>
Previous Topic:intersecting elements
Next Topic:View not being drawn/shown/displayed
Goto Forum:
  


Current Time: Wed Aug 20 03:09:42 EDT 2014

Powered by FUDForum. Page generated in 0.07078 seconds