change default icons [message #175710] |
Wed, 05 March 2008 08:44 |
Eclipse User |
|
|
|
Originally posted by: simonatoslo.gmail.com
Dear all:
i am a begineerin GMF, who can tell me how can i change a attribute's
icon, like i want to change the default star to an iamge i provided. i
have find the way to turn off the display of the icon. but don't find
how to change it. is it at the same place as turn off the display?(which
is at the *.gmfgen, gen top level->gen node label->diagram
label->element icon)
thanks, i am online waiting.
|
|
|
|
Re: change default icons [message #176487 is a reply to message #175728] |
Sun, 09 March 2008 12:17 |
Eclipse User |
|
|
|
Originally posted by: jan.koehnlein.web.de
Simon -
you should also disable the generation of default icons in the genmodel
(edit section) to avoid your custom icons from being overwritten. I find
this particularly annoying, as you are forced to mix generated stuff
with manually changed things.
Note that GMF gets the generated LabelItemProvider directly and not
using the extension point. So you cannot even avoid generating the
EMF.edit plug-in and provide your own LabelItemProvider instead.
Unfortunately, I did not get an answer to my previous post on that topic.
(see news://news.eclipse.org:119/fpn0jn$6mu$1@build.eclipse.org)
Regards
Jan
Enrico Schnepel wrote:
> hello simon,
>
> The icons stored in EMF-Edit plugin are also used for the GMF-editor. So
> changing this would also change the GMF-editor appearance.
>
> enrico
>
> simon han wrote:
>> Dear all:
>> i am a begineerin GMF, who can tell me how can i change a attribute's
>> icon, like i want to change the default star to an iamge i provided. i
>> have find the way to turn off the display of the icon. but don't find
>> how to change it. is it at the same place as turn off the display?(which
>> is at the *.gmfgen, gen top level->gen node label->diagram
>> label->element icon)
>>
>>
>> thanks, i am online waiting.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02918 seconds