Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » loading attribute values from external file
loading attribute values from external file [message #160205] Wed, 14 November 2007 10:54 Go to next message
Eclipse UserFriend
Originally posted by: t.kitamura07.gmail.com

Hello, first of all I'm sorry for my bad english.

I'm newbie and trying to create a GUI using GMF for my thesis. I want to
know how I can load attribute values of objects in the domain model from
existing external file and save it back after the modifying. Objects must
have values which are already defined out of the GUI (but it isn't
constant) and must be able to be modified. I have to only call a method in
java to load/save the value, but I don't know where I should write it.
I've tried to change set-, get- methods in Impl files but it didn't work
and I couldn't find any answers in the web. If someone could give me
hints, suggestions or any other responses, I would be very glad.
Information about useful web sites or literature would be also
appreciated. Thank you.

best regards,
Tomoko
Re: loading attribute values from external file [message #160225 is a reply to message #160205] Wed, 14 November 2007 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tomoko,

You posted the same question to the EMF newsgroup. If you must post to
multiple groups (keep in mind that doing so will tend to annoy people),
please use a single posting addressed to both the groups, not two
separate postings.


Tomoko Kitamura wrote:
> Hello, first of all I'm sorry for my bad english.
> I'm newbie and trying to create a GUI using GMF for my thesis. I want
> to know how I can load attribute values of objects in the domain model
> from existing external file and save it back after the modifying.
> Objects must have values which are already defined out of the GUI (but
> it isn't constant) and must be able to be modified. I have to only
> call a method in java to load/save the value, but I don't know where I
> should write it. I've tried to change set-, get- methods in Impl files
> but it didn't work and I couldn't find any answers in the web. If
> someone could give me hints, suggestions or any other responses, I
> would be very glad. Information about useful web sites or literature
> would be also appreciated. Thank you.
>
> best regards,
> Tomoko
>
>
Re: loading attribute values from external file [message #160257 is a reply to message #160225] Wed, 14 November 2007 13:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: t.kitamura07.gmail.com

Hello,

thank you for your response and I'm sorry for having used two positing. I
use a web browser for the newsgroup and couldn't/cannot find the way to
post a message to two different groups at the same time. I chose at first
eclipse.tools.emf from the Eclipse NewsPortal and then
eclipse.modeling.gmf. I'm not able to post messages from mailsoftware. Is
there any way for posting to different groups from browser? Thank you in
advance.

best regards,
Tomoko
Re: loading attribute values from external file [message #160289 is a reply to message #160257] Wed, 14 November 2007 14:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tomoko,

I see. I've opened
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209794. I would encourage
you to use Thunderbird. It's free and is much more convenient than the
web-based approach.


Tomoko Kitamura wrote:
> Hello,
>
> thank you for your response and I'm sorry for having used two
> positing. I use a web browser for the newsgroup and couldn't/cannot
> find the way to post a message to two different groups at the same
> time. I chose at first eclipse.tools.emf from the Eclipse NewsPortal
> and then eclipse.modeling.gmf. I'm not able to post messages from
> mailsoftware. Is there any way for posting to different groups from
> browser? Thank you in advance.
>
> best regards, Tomoko
>
>
Re: loading attribute values from external file [message #160411 is a reply to message #160205] Wed, 14 November 2007 15:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ijerez2001.msn.com

When do you want to load the attributes?
When you create a new element?
or when do you do any action?

"Tomoko Kitamura" <t.kitamura07@gmail.com> escribió en el mensaje de
noticias:f9f619ba45b07bb9e0cadc9253cd14df$1@www.eclipse.org...
> Hello, first of all I'm sorry for my bad english.
> I'm newbie and trying to create a GUI using GMF for my thesis. I want to
> know how I can load attribute values of objects in the domain model from
> existing external file and save it back after the modifying. Objects must
> have values which are already defined out of the GUI (but it isn't
> constant) and must be able to be modified. I have to only call a method in
> java to load/save the value, but I don't know where I should write it.
> I've tried to change set-, get- methods in Impl files but it didn't work
> and I couldn't find any answers in the web. If someone could give me
> hints, suggestions or any other responses, I would be very glad.
> Information about useful web sites or literature would be also
> appreciated. Thank you.
>
> best regards,
> Tomoko
>
>
Re: loading attribute values from external file [message #160467 is a reply to message #160289] Wed, 14 November 2007 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: t.kitamura07.gmail.com

Thank you.

I dont't use my own computer mainly, so it's not easy to change my
environment... But I'll try to choose one group for one message.

best regards,
Tomoko
Re: loading attribute values from external file [message #160764 is a reply to message #160205] Thu, 15 November 2007 18:43 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Tomoko,

I think you should implement custom ResourceFactory and load/save EMF objects
from this custom storage (external file).

-----------------
Alex Shatalin
Previous Topic:Access to background and pencil color
Next Topic:Externalizing GMF Labels
Goto Forum:
  


Current Time: Wed Sep 04 21:18:16 GMT 2024

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

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

Back to the top