Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Handling references treated as strings from an existing .xsd model
Handling references treated as strings from an existing .xsd model [message #194498] Thu, 01 September 2005 20:19 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
ElementFoo
Name : string
Desciption: string

ElementBar
Name: string
RefersToFoo: string

I need to heep ElementBar.RefersToFoor in sync when changes to
ElementFoo.Name occur. Since i am in an eclipse env, setting things are
usually done with commands, so listening on the chnages to ElementFoo.Name
to calling all applicable ElelementBar.setRefersToFoo instances seems wrong.
Is there a better way to accomodate this type of scenario? The ecore model
comes is derived from an existing foo.xsd so i cannot currently modify the
ecore model to deal with this as a reference.

Any suggestions?
Re: Handling references treated as strings from an existing .xsd model [message #194502 is a reply to message #194498] Thu, 01 September 2005 20:21 Go to previous message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
Please ignore i posted to the wrong forum.


"Drew" <drew@acm.org> wrote in message news:df7nof$cvr$1@news.eclipse.org...
> ElementFoo
> Name : string
> Desciption: string
>
> ElementBar
> Name: string
> RefersToFoo: string
>
> I need to heep ElementBar.RefersToFoor in sync when changes to
> ElementFoo.Name occur. Since i am in an eclipse env, setting things are
> usually done with commands, so listening on the chnages to ElementFoo.Name
> to calling all applicable ElelementBar.setRefersToFoo instances seems
wrong.
> Is there a better way to accomodate this type of scenario? The ecore model
> comes is derived from an existing foo.xsd so i cannot currently modify the
> ecore model to deal with this as a reference.
>
> Any suggestions?
>
>
>
>
Previous Topic:Newbie: Display Component diagram using GEF?
Next Topic:How to populate context submenu with entries based on the same action?
Goto Forum:
  


Current Time: Tue Jan 14 17:53:20 GMT 2025

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

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

Back to the top