Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » property sheet value(how to modifie the value in the property sheet)
property sheet value [message #1738820] Mon, 25 July 2016 08:33 Go to next message
arbi amirouche is currently offline arbi amiroucheFriend
Messages: 1
Registered: July 2016
Junior Member
hi,

i'am new in emf, i have created my ecore model in which i have
classes A , B and C.
in class A, i have a reference to B, and in class C, i have a reference to B.

my problem is the following :
in the property sheet of the model instance of the Class C child, i want to have A.B as choice and not B choice as EMF default proposition.

i hope that my problem is clear, if not don't hesitate to ask questions.

Thaank's
Re: property sheet value [message #1738879 is a reply to message #1738820] Mon, 25 July 2016 16:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31900
Registered: July 2009
Senior Member
You want to control that label that's shown for the choices? You can
specialize
org.eclipse.emf.edit.provider.ItemPropertyDescriptor.getLabelProvider(Object)


On 25.07.2016 18:16, arbi amirouche wrote:
> hi,
> i'am new in emf, i have created my ecore model in which i have classes
> A , B and C.
> in class A, i have a reference to B, and in class C, i have a
> reference to B.
>
> my problem is the following :
> in the property sheet of the model instance of the Class C child, i
> want to have A.B as choice and not B choice as EMF default proposition.
>
> i hope that my problem is clear, if not don't hesitate to ask questions.
>
> Thaank's


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Information : New framework to use CDO as back storage for Graphiti diagrams
Next Topic:Manual invocation of proxy resolution required?
Goto Forum:
  


Current Time: Mon Jun 14 15:07:02 GMT 2021

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

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

Back to the top