EMF Databinding adapter leak with javafx [message #1705890] |
Wed, 19 August 2015 20:23 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
I have a master detail form and would like to use EMF data binding to bind a text field to the currently selected EObject. The problem is that EMFEditFXProperties creates a new adapter and adds it to the selected object but there is no context to dispose of like JFace databinding has. So each time an item is selected in the master list a new adapter is added to that item.
Am I missing something or is this seriously broken.
|
|
|
Re: EMF Databinding adapter leak with javafx [message #1705902 is a reply to message #1705890] |
Wed, 19 August 2015 22:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
File a bug but I would suggest you use Eclipse-Databinding like you used
to in the SWT-World - the relevant classes are in
org.eclipse.fx.ui.databinding
Tom
On 19.08.15 22:23, Greg Babcock wrote:
> I have a master detail form and would like to use EMF data binding to
> bind a text field to the currently selected EObject. The problem is
> that EMFEditFXProperties creates a new adapter and adds it to the
> selected object but there is no context to dispose of like JFace
> databinding has. So each time an item is selected in the master list
> a new adapter is added to that item.
> Am I missing something or is this seriously broken.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04970 seconds