Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Extract data from diagram
Extract data from diagram [message #156250] Thu, 18 October 2007 12:10 Go to next message
Eclipse UserFriend
Originally posted by: giuseppeloprete.gmail.com

Hi all, I create an editor with GMF. When I create a file I can add nodes
and connections, they have some attributes to set and i set it. How can I
extract this attributes from the file generated with this editor? (when I
create a diagram I have 2 file: ".example" and ".example_diagram", I need
to extract data from ".example")

Thanks all,
Cheers
Re: Extract data from diagram [message #156264 is a reply to message #156250] Thu, 18 October 2007 12:54 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you want to access this data in your editor or in order to generate
artifacts?

- -stefan

giuseppe schrieb:
> Hi all, I create an editor with GMF. When I create a file I can add
> nodes and connections, they have some attributes to set and i set it.
> How can I extract this attributes from the file generated with this
> editor? (when I create a diagram I have 2 file: ".example" and
> ".example_diagram", I need to extract data from ".example")
>
> Thanks all,
> Cheers
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHF1eEIYVWjMSpDwwRAingAJ9CNW6dZ41mnPh27T4ePhuwHekslwCc CT2A
BRM9VIGkGJiBNQgEnIn2Uxw=
=G1Bf
-----END PGP SIGNATURE-----
Re: Extract data from diagram [message #156279 is a reply to message #156264] Thu, 18 October 2007 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: giuseppeloprete.gmail.com

in order to generate artifacts. I must generate a html document that
contains information about this diagram.
Cheers
Re: Extract data from diagram [message #156283 is a reply to message #156279] Thu, 18 October 2007 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dennis.huebner.gmail.com

Hi giuseppe,
If you are using oAW it's pretty simple!
Just look at
http://www.eclipse.org/articles/Article-FromFrontendToCode-M DSDInPractice/article.html

regards,
Dennis.

giuseppe schrieb:
> in order to generate artifacts. I must generate a html document that
> contains information about this diagram.
> Cheers
>
>
Re: Extract data from diagram [message #156302 is a reply to message #156283] Thu, 18 October 2007 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: giuseppeloprete.gmail.com

In which part of tutorial they extract attributes from diagram?
Re: Extract data from diagram [message #156310 is a reply to message #156302] Thu, 18 October 2007 14:49 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

giuseppe, you want to generate code out of the model. I won't suggest
you to start with this tutorial but rather look for easier tutorials on
the oAW website www.openarchitectureware.org .It's an eclipse project,
so you'll find doc about it on www.eclipse.org/gmt, too.

- -stefan


giuseppe schrieb:
> In which part of tutorial they extract attributes from diagram?
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHF3JjIYVWjMSpDwwRAsgLAJ9xMxRs3vR85Bk64CloTtEmJoRyMQCg iykA
TG18/DTI6A6hcSLczovxd2I=
=xsWE
-----END PGP SIGNATURE-----
Re: Extract data from diagram [message #156370 is a reply to message #156302] Fri, 19 October 2007 06:53 Go to previous message
Eclipse UserFriend
Originally posted by: dennis.huebner.gmail.com

In "Workflow Definition"- Part,
but not just attributes hole model (locate in ${modelFile}) will be
readed, so you can easy access all instances (also attributes) in your
template files.

Dennis.

giuseppe schrieb:
> In which part of tutorial they extract attributes from diagram?
>
Previous Topic:GMF Prosheet Customization
Next Topic:problems removing elements
Goto Forum:
  


Current Time: Sun Oct 20 04:00:11 GMT 2024

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

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

Back to the top