how to provide a name at the bottom of the icon?? [message #112070] |
Thu, 15 March 2007 00:59  |
Eclipse User |
|
|
|
Originally posted by: imrannawaz.softtrans.net
Hi all,
I have small doubt, could u plz solve this....
I want to provide a name at the bottom of the icon, i mean the name should
be part of the icon but it should be seperated from the icon.
so that the name cannot be reflect the size of an icon and should not be on
the icon.
Thanks
Imran
|
|
|
|
|
|
|
Re: how to provide a name at the bottom of the icon?? [message #113322 is a reply to message #112593] |
Wed, 21 March 2007 01:24   |
Eclipse User |
|
|
|
Originally posted by: imrannawaz.softtrans.net
Thanks Thomas,
I got the solution. what i want
Thanks again,
With Regards
imran
"Thomas" <pramsohl@in.tum.de> wrote in message
news:etf5l7$c3m$1@utils.eclipse.org...
> Hmm
>
> if you do it like i explained - than you get something like that:
>
> **********
> * FIGURE *
> * *
> **********
> LABEL
>
> If you drag the figure the label moves with the figure.
>
> greets
> Thomas
>
>
> imran schrieb:
>> Hi Thomas,
>>
>> Thanks for ur reply.
>> But my problem is,
>> When I drag an icon from the palette to the diagram surface, It will ask
>> for name(label).
>> It is on the icon's body but I want the name should be at the bottom and
>> also it is separated from the icon.
>>
>> Thanks
>> Imran
>>
>> "Thomas" <pramsohl@in.tum.de> wrote in message
>> news:etb95s$n9a$1@utils.eclipse.org...
>>> Hi Imran,
>>>
>>> Let me see if i understand that right...
>>> You've got a class XXX with Attribute "name";
>>>
>>> gmfgraph:
>>> You can define your graphical representation without Label Child
>>> (XXXFigure).
>>> Create a new Label Figure in your Figure Gallery root (and Diagram Label
>>> in the Canvas - XXXLabel). Set the Label's Affixed Parent Side to the
>>> Node-Side where you want your Label.
>>>
>>> gmfmap:
>>> Node reference with Figure XXXFigure and Child Label Mapping to
>>> XXXLabel.
>>>
>>> Now the label sould be attached to his figure.
>>>
>>> greets
>>> Thomas
>>>
>>>
>>>
>>> imran wrote:
>>>> Hi all,
>>>>
>>>> I have small doubt, could u plz solve this....
>>>>
>>>> I want to provide a name at the bottom of the icon, i mean the name
>>>> should
>>>> be part of the icon but it should be seperated from the icon.
>>>>
>>>> so that the name cannot be reflect the size of an icon and should not
>>>> be on
>>>> the icon.
>>>>
>>>> Thanks
>>>> Imran
>>
|
|
|
Re: how to provide a name at the bottom of the icon?? [message #735312 is a reply to message #113322] |
Tue, 11 October 2011 10:15  |
Eclipse User |
|
|
|
Hello,
I am trying to repeat this steps but I don't get what I want. I want to display the name of a block called "Module" outside it, on the top.
In the gmfgraph, I have:
- Label ModuleNameFigure
- Figure Descriptor ModuleFigure
____- Rectangle ModuleFigure
________- ...
____- Child Access getFigureModuleNameFigure
________(properties=> accessor:getFigureModuleNameFigure, Figure:Label ModuleNameFigure)
- Diagram Label ModuleName
____(properties=> accessor: getFigureModuleNameFigure, affixed parent side: NORTH, Figure: Figure Descriptor ModuleFigure, ...)
In the gmfmap, I have:
- Top Node Reference <module:module/module>
____- Node Mapping <module/module>
________- Label Mapping false
____________(properties=> Diagram Label: Diagram Label NormalModeName, ...)
What am I missing?
[Updated on: Tue, 11 October 2011 10:18] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04063 seconds