Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » data binding dialog
data binding dialog [message #159588] Mon, 12 November 2007 05:05 Go to next message
Eclipse UserFriend
Originally posted by: sd10046.lanet.lv

Hi all,

I need a dialog to appear in my diagram editor (during execution of
create/delete command) that will allow to define correct data binding
(references) for changed model data (not just destroy connections and
elements as it happens now in GMF).
What I need in this dialog is probably 3 lists: first one for data of
element type 1, second - for data of element type 2 and third list for
"mapped" elements.
Maybe someone knows which *Dialog can be used for such data binding? Or any
other ideas how to perform it in a user-friendly way?

--
thanks!
Ty
Re: data binding dialog [message #159596 is a reply to message #159588] Mon, 12 November 2007 05:46 Go to previous messageGo to next message
Eclipse UserFriend
I think you should do this by editing your binding string value in an
appropriate property sheet, existing for these kind of means.
If you really need to pop a dialog in the moment of eobject creation you
should have a look in the object edit part, and place a form popping out
right there.
Anyway, I'm little more than a newbie in gmf ;)
Re: data binding dialog [message #159673 is a reply to message #159596] Mon, 12 November 2007 08:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sd10046.lanet.lv

Hi Paolo,

it's not user-friendly in my case, because user will have to click on each
diagram element un update the same property for each element. It isn't
comfortable...
Any other ideas? :)

--
Ty

>I think you should do this by editing your binding string value in an
>appropriate property sheet, existing for these kind of means.
> If you really need to pop a dialog in the moment of eobject creation you
> should have a look in the object edit part, and place a form popping out
> right there.
> Anyway, I'm little more than a newbie in gmf ;)
>
Re: data binding dialog [message #160076 is a reply to message #159673] Tue, 13 November 2007 11:51 Go to previous message
Eclipse UserFriend
what we do is implementing an additional plugin, a "view", in this view we
place our binding list, and to set a binding on a node, all we have to do
is to drag and drop from the view to the node. Of course you have to
implement the drag & drop listener.
Previous Topic:modification to GMF models
Next Topic:Opening a Wizard using Action.
Goto Forum:
  


Current Time: Sun May 11 20:11:42 EDT 2025

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

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

Back to the top