[databinding] Properties do not show from selections in non-EMF managed viewer [message #422828] |
Tue, 16 September 2008 11:42  |
Eclipse User |
|
|
|
Hi,
On my FormsPage I have two TableViewers, one is hooked up with
Databinding and EMF.edit observables, the other is working on a non-EMF
model. My problem is that the page does not propagate selections from
the non-EMF viewer, but only with the EMF viewer. Hence, properties are
not displayed for selections in the non-EMF viewer.
Now, how can I "turn off" EMF control for the properties view when focus
is passed to my non-EMF viewer, and turn it on again when focus is
switched back?
Cheers,
/Ola
|
|
|
Re: [databinding] Properties do not show from selections in non-EMF managed viewer [message #422838 is a reply to message #422828] |
Wed, 17 September 2008 01:53  |
Eclipse User |
|
|
|
Ola,
You'd need a property source provider that sometimes was just the plan
old EMF one and other wise does the other things when the things for
which it's asked the IPropertySource aren't EMF objects.
Ola Spjuth wrote:
> Hi,
>
> On my FormsPage I have two TableViewers, one is hooked up with
> Databinding and EMF.edit observables, the other is working on a
> non-EMF model. My problem is that the page does not propagate
> selections from the non-EMF viewer, but only with the EMF viewer.
> Hence, properties are not displayed for selections in the non-EMF viewer.
>
> Now, how can I "turn off" EMF control for the properties view when
> focus is passed to my non-EMF viewer, and turn it on again when focus
> is switched back?
>
> Cheers,
>
> /Ola
|
|
|
Powered by
FUDForum. Page generated in 0.03930 seconds