Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Figures in diagram popup menu
Figures in diagram popup menu [message #51331] Tue, 19 September 2006 16:17 Go to next message
Eclipse UserFriend
Originally posted by: leonardo.coelho.siliconstrategy.com.br

Hi, people.

In any diagram, there is a auto generated popup menu that appears when
we stop moving the mouse under a blank area in the diagram. This menu
corresponds to nodes that can be added to the diagram.

This menu has a bunch of images that should be equal to that in the
pallete, but I don´t mind how/ where can I set them.

Could anybody help me?

Regards!

--

=============================/============================== ====
Leonardo Coelho
=============================/============================== =====
Re: Figures in diagram popup menu [message #51362 is a reply to message #51331] Tue, 19 September 2006 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: leonardo.coelho.siliconstrategy.com.br

I´ve found it in Tutorial 3: just substitute the icons in edit plugin in
the folder icons/full/obj16.

But is it posible to point it to another folder? I´ve tried to do like
in the palette (pointing to a bundle image) but I wasn´t successful.

Regards.

=============================/============================== ====
Leonardo Coelho
=============================/============================== ====


Leonardo Coelho escreveu:
> Hi, people.
>
> In any diagram, there is a auto generated popup menu that appears when
> we stop moving the mouse under a blank area in the diagram. This menu
> corresponds to nodes that can be added to the diagram.
>
> This menu has a bunch of images that should be equal to that in the
> pallete, but I don´t mind how/ where can I set them.
>
> Could anybody help me?
>
> Regards!
>

--

=
Re: Figures in diagram popup menu [message #53239 is a reply to message #51362] Thu, 21 September 2006 20:41 Go to previous messageGo to next message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
Leonardo,

The icon is retrieved from the Icon Service. You could write an icon
provider to provide the icons for your types in any manner that you
choose.

Note: This is by extending the GMF runtime. There may be an easier way
to do this when your GMF code is generated, but I am not sure how.

Regards,
Cherie

Leonardo Coelho wrote:
> I´ve found it in Tutorial 3: just substitute the icons in edit plugin in
> the folder icons/full/obj16.
>
> But is it posible to point it to another folder? I´ve tried to do like
> in the palette (pointing to a bundle image) but I wasn´t successful.
>
> Regards.
>
> =============================/============================== ====
> Leonardo Coelho
> =============================/============================== ====
>
>
> Leonardo Coelho escreveu:
>> Hi, people.
>>
>> In any diagram, there is a auto generated popup menu that appears when
>> we stop moving the mouse under a blank area in the diagram. This menu
>> corresponds to nodes that can be added to the diagram.
>>
>> This menu has a bunch of images that should be equal to that in the
>> pallete, but I don´t mind how/ where can I set them.
>>
>> Could anybody help me?
>>
>> Regards!
>>
>
Re: Figures in diagram popup menu [message #58962 is a reply to message #53239] Tue, 03 October 2006 16:27 Go to previous message
Eclipse UserFriend
Originally posted by: leonardo.coelho.siliconstrategy.com.br

Thxs, Cherrie!

But i´ve chosen the easiest way... it´s enough to me ;)

regards!

leo

Cherie Revells escreveu:
> Leonardo,
>
> The icon is retrieved from the Icon Service. You could write an icon
> provider to provide the icons for your types in any manner that you choose.
>
> Note: This is by extending the GMF runtime. There may be an easier way
> to do this when your GMF code is generated, but I am not sure how.
>
> Regards,
> Cherie
>
> Leonardo Coelho wrote:
>> I´ve found it in Tutorial 3: just substitute the icons in edit plugin
>> in the folder icons/full/obj16.
>>
>> But is it posible to point it to another folder? I´ve tried to do like
>> in the palette (pointing to a bundle image) but I wasn´t successful.
>>
>> Regards.
>>
>> =============================/============================== ====
>> Leonardo Coelho
>> =============================/============================== ====
>>
>>
>> Leonardo Coelho escreveu:
>>> Hi, people.
>>>
>>> In any diagram, there is a auto generated popup menu that appears
>>> when we stop moving the mouse under a blank area in the diagram. This
>>> menu corresponds to nodes that can be added to the diagram.
>>>
>>> This menu has a bunch of images that should be equal to that in the
>>> pallete, but I don´t mind how/ where can I set them.
>>>
>>> Could anybody help me?
>>>
>>> Regards!
>>>
>>

--

=============================/============================== ====
Leonardo Coelho
=============================/============================== =====
Previous Topic:Getting the Source and target connections of an element during runtime
Next Topic:how to create several elements and connections in between in single a Command
Goto Forum:
  


Current Time: Wed Dec 04 08:19:19 GMT 2024

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

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

Back to the top