Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [databinding] Properties do not show from selections in non-EMF managed viewer
[databinding] Properties do not show from selections in non-EMF managed viewer [message #422828] Tue, 16 September 2008 15:42 Go to next message
Ola Spjuth is currently offline Ola SpjuthFriend
Messages: 47
Registered: July 2009
Member
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 05:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31494
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:FileURIHandlerImpl bug ?
Next Topic:Status of SDO Component
Goto Forum:
  


Current Time: Wed Sep 30 23:32:38 GMT 2020

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

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

Back to the top