Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Notation package spec or doc ?
Notation package spec or doc ? [message #215606] Fri, 16 January 2009 19:23 Go to next message
Cristian Spiescu is currently offline Cristian SpiescuFriend
Messages: 100
Registered: July 2009
Senior Member
Hello,

I am starting to use the GMF framework for one of my products. It's an
impressive technology.

I see that the Notation (ecore) package is used to persist the diagrams.
Does somebody know if I could find the specification for this metamodel,
or some documentation?

I need it because we have a legacy diagram format, and we need to develop
a converter between the old format and the notation based (gmf) format.

Thanks in advance,
Best regards,
Cristian.
Re: Notation package spec or doc ? [message #215621 is a reply to message #215606] Fri, 16 January 2009 19:34 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
You can look at the notation.ecore model itself:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gmf/plu gins/org.eclipse
..gmf.runtime.notation/model/notation.ecore?root=Modeling_Pr oject&view=log

And there's a section in this document that describes the model a bit:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.gmf.doc/prog-g
uide/runtime/Developer%20Guide%20to%20Diagram%20Runtime.html

- Rich


On 1/16/09 2:23 PM, in article
7f89cc47e96c54944c27d7e8ccffc81f$1@www.eclipse.org, "Cristian"
<cristian607@yahoo.com> wrote:

> Hello,
>
> I am starting to use the GMF framework for one of my products. It's an
> impressive technology.
>
> I see that the Notation (ecore) package is used to persist the diagrams.
> Does somebody know if I could find the specification for this metamodel,
> or some documentation?
>
> I need it because we have a legacy diagram format, and we need to develop
> a converter between the old format and the notation based (gmf) format.
>
> Thanks in advance,
> Best regards,
> Cristian.
>
Re: Notation package spec or doc ? [message #215629 is a reply to message #215621] Fri, 16 January 2009 19:54 Go to previous messageGo to next message
Cristian Spiescu is currently offline Cristian SpiescuFriend
Messages: 100
Registered: July 2009
Senior Member
Dear Rich,

Thanks a much for your quick reply.
Actually I have looked at those items already. It is not the architecture
that confuses me (edges, nodes, etc). It is the meaning of the attributes
that are in those classes (for example how bendpoints are used, the
coordinates system, etc).

For example in our diagram we have connections that have 4 attached labels
(similar to an association/roles labels). In the old format, each label
was positioned using an integer that represented the distance between the
center of the label and a certain point on the connection. I would like to
understand -let's say the maths- of the notation model, so that a
conversion algorithm could be developed.

I hope I can find some kind of doc regarding this. Otherwise the only
solution that remains is reverse engineering of the code that does the
drawing on the screen (to be honest I am not very thrilled by this
perspective :) ).

I understand that the notation model was contributed by IBM originally,
and I think that they must have had some written specs for it (like the
Diagram Interchange format by the OMG).

Any leads?

Thank you.

Best regards,
Cristian.
Re: Notation package spec or doc ? [message #215647 is a reply to message #215629] Fri, 16 January 2009 20:14 Go to previous message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
Well, it's not based on the DI spec, and I've never seen such documentation
for the notation model. And if you've seen the doc I suggested, I'm
assuming you've read up on the use of HiMetric units as well. Unless
someone from the runtime team can dig something up, I guess it's time to
look into the code ;)

- Rich


On 1/16/09 2:54 PM, in article
ffe92f06c71b110b6d2186ed5d8dd5c8$1@www.eclipse.org, "Cristian"
<cristian607@yahoo.com> wrote:

> Dear Rich,
>
> Thanks a much for your quick reply.
> Actually I have looked at those items already. It is not the architecture
> that confuses me (edges, nodes, etc). It is the meaning of the attributes
> that are in those classes (for example how bendpoints are used, the
> coordinates system, etc).
>
> For example in our diagram we have connections that have 4 attached labels
> (similar to an association/roles labels). In the old format, each label
> was positioned using an integer that represented the distance between the
> center of the label and a certain point on the connection. I would like to
> understand -let's say the maths- of the notation model, so that a
> conversion algorithm could be developed.
>
> I hope I can find some kind of doc regarding this. Otherwise the only
> solution that remains is reverse engineering of the code that does the
> drawing on the screen (to be honest I am not very thrilled by this
> perspective :) ).
>
> I understand that the notation model was contributed by IBM originally,
> and I think that they must have had some written specs for it (like the
> Diagram Interchange format by the OMG).
>
> Any leads?
>
> Thank you.
>
> Best regards,
> Cristian.
>
Previous Topic:Diagram without Resource
Next Topic:Link Restriction
Goto Forum:
  


Current Time: Fri Apr 26 21:24:14 GMT 2024

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

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

Back to the top