Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to display property sheet from explorer based on eobject.
How to display property sheet from explorer based on eobject. [message #635375] Tue, 26 October 2010 15:37 Go to next message
vaibhav  is currently offline vaibhav Friend
Messages: 22
Registered: September 2010
Junior Member
Hi,
I made a explorer using item providers and emf .edit framework.
When i click on eobject of explorer .. i need to displayed on property sheet as it happen on the generated editors.

I had used AdapterFactoryContentProvider and AdapterFactoryLabelProvider.

I tried using thosementioned Adapterfactory But i was unable to display the attributes of eobjects on Property Sheet.

Thanks in advance
Bests Regards,
Vaibhav
Re: How to display property sheet from explorer based on eobject. [message #635407 is a reply to message #635375] Tue, 26 October 2010 16:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Vaibhav,

I'm not sure I understand what you've tried to do.

vaibhav wrote:
> Hi,
> I made a explorer using item providers and emf .edit framework.
> When i click on eobject of explorer .. i need to displayed on property
> sheet as it happen on the generated editors.
>
> I had used AdapterFactoryContentProvider and AdapterFactoryLabelProvider.
>
> I tried using thosementioned Adapterfactory But i was unable to
> display the attributes of eobjects on Property Sheet.
> Thanks in advance
> Bests Regards,
> Vaibhav


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to display property sheet from explorer based on eobject. [message #635414 is a reply to message #635407] Tue, 26 October 2010 17:22 Go to previous messageGo to next message
vaibhav  is currently offline vaibhav Friend
Messages: 22
Registered: September 2010
Junior Member
Hi Ed Merks,

Actually I made an ui explorer using emf .edit framework ,i mean using corresponding eobjects item providers.
So my concern is when i click on any eobjects which is their in explorer its attributes and their value should be shown in property view and also when i edit anything into property sheet its should automatically reflect into explorer also. I mean exactly the same as it happen in emf .editor.
I tried using AdapterFactoryContentProvider and AdapterFactoryLabelProvider which internally inplements IPropertSouceProvider...but i was unable to do so..

Can u please help me in solving this stuff.


Best regards,
Vaibhav
Re: How to display property sheet from explorer based on eobject. [message #635425 is a reply to message #635414] Tue, 26 October 2010 18:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Vaibhav,

Given you have working examples, you'll have to figure out why they work
and why your approach doesn't. I can't guess at the details of what
you've tried.


vaibhav wrote:
> Hi Ed Merks,
>
> Actually I made an ui explorer using emf .edit framework ,i mean
> using corresponding eobjects item providers.
> So my concern is when i click on any eobjects which is their in
> explorer its attributes and their value should be shown in property
> view and also when i edit anything into property sheet its should
> automatically reflect into explorer also. I mean exactly the same as
> it happen in emf .editor.
> I tried using AdapterFactoryContentProvider and
> AdapterFactoryLabelProvider which internally inplements
> IPropertSouceProvider...but i was unable to do so..
>
> Can u please help me in solving this stuff.
>
>
> Best regards,
> Vaibhav


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Saving a Double.POSITIVE_INFINITY writes Infinity instead of INF
Next Topic:[Teneo] OneToMany without join table in orm.xml
Goto Forum:
  


Current Time: Thu Mar 28 16:20:44 GMT 2024

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

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

Back to the top