Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Customizing icons associated with EEnum(How can the icon used to display an EEnum item in an editor be customized ?)
Customizing icons associated with EEnum [message #1404488] Fri, 01 August 2014 21:00 Go to next message
Pierre Allard is currently offline Pierre AllardFriend
Messages: 3
Registered: November 2012
Junior Member
Hi all,

I have a model where come EEObject have attributes that are EEnum.

I would like to customize the icon that is used to represent the EENum so that the generated editor shows them.

I have inspected the .edit plugin generated for my model, but I do not see where I could customize the icon (no ItemProvider are generated fro the EENum types I have defined).

How can this be done ?

Re: Customizing icons associated with EEnum [message #1404496 is a reply to message #1404488] Sat, 02 August 2014 04:44 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Pierre,

There is no icon displayed for enums because such values are not
typically displayed in the tree. Are you trying to display them in the
tree?


On 01/08/2014 11:00 PM, Pierre Allard wrote:
> Hi all,
>
> I have a model where come EEObject have attributes that are EEnum.
>
> I would like to customize the icon that is used to represent the EENum
> so that the generated editor shows them.
> I have inspected the .edit plugin generated for my model, but I do not
> see where I could customize the icon (no ItemProvider are generated
> fro the EENum types I have defined).
>
> How can this be done ?
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to get IResource from EObject?
Next Topic:Problem Editing Model
Goto Forum:
  


Current Time: Fri Apr 19 13:43:41 GMT 2024

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

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

Back to the top