Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSeparate visual information from model when saving
https://www.eclipse.org/forums/index.php/mv/msg/68126/213736/#msg_213736
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]]>2006-04-10T14:35:04-00:00Re: Separate visual information from model when saving
https://www.eclipse.org/forums/index.php/mv/msg/68126/213774/#msg_213774
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
>
>]]>2006-04-10T21:25:24-00:00Re: Separate visual information from model when saving
https://www.eclipse.org/forums/index.php/mv/msg/68126/213782/#msg_213782
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
>
>]]>Steven R. Shaw2006-04-10T21:48:33-00:00Re: Separate visual information from model when saving
https://www.eclipse.org/forums/index.php/mv/msg/68126/213860/#msg_213860
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
> >
> >
>
>]]>2006-04-11T15:25:30-00:00