Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Small figures
Small figures [message #29604] Fri, 25 August 2006 03:32 Go to next message
Eclipse UserFriend
Hi,
I want to give a small size to one of my figures(it will be a border
item), so in gmfgraph model I set its preferred size to 15x30, but with no
success. I looked in source and found that my figure is in a "plate"
figure whose size is 40x40. The only way I can give to get my figure small
is to modify source and change the plate figure's size smaller. What is
the use of plate figures, any better solutions?
Re: Small figures [message #30198 is a reply to message #29604] Fri, 25 August 2006 06:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

It was discussed here a couple of times.
DefaultSizeAttributes as children of Viewmap in gmfgen model are intended to
tweak this.

Regards,
Michael


"zhanghao" <bjzhanghao@21cn.com> wrote in message
news:62b8f1200e62d9657aee959bbc1b8d77$1@www.eclipse.org...
> Hi,
> I want to give a small size to one of my figures(it will be a border
> item), so in gmfgraph model I set its preferred size to 15x30, but with no
> success. I looked in source and found that my figure is in a "plate"
> figure whose size is 40x40. The only way I can give to get my figure small
> is to modify source and change the plate figure's size smaller. What is
> the use of plate figures, any better solutions?
>
Re: Small figures [message #30582 is a reply to message #30198] Fri, 25 August 2006 09:01 Go to previous messageGo to next message
Eclipse UserFriend
I can set the Attribute in gmfgen but when i am generating this file by
using the dashboard all changes are lost. so how can i do to keep the
changes?
btw i always have to set the *.genmodel file because the "genmodel for
package model(null) can not be found.
Re: Small figures [message #30688 is a reply to message #30582] Fri, 25 August 2006 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Strange.

Is it true that at the same time attributes are preserved when "Create
generator model" action is invoked from Explorer popup menu? (it would be
really strange :))

Could you please submit bugzilla for this, with more details (if possible).

Regards,
Michael

"Martin Jacob" <mj@bahntechnik.de> wrote in message
news:88a48e8a13ff807585262ecaf96f1ec0$1@www.eclipse.org...
>I can set the Attribute in gmfgen but when i am generating this file by
>using the dashboard all changes are lost. so how can i do to keep the
>changes? btw i always have to set the *.genmodel file because the "genmodel
>for package model(null) can not be found.
>
>
Re: Small figures [message #30724 is a reply to message #29604] Fri, 25 August 2006 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I have submitted https://bugs.eclipse.org/bugs/show_bug.cgi?id=155230 for
this.

Regards,
Michael

"zhanghao" <bjzhanghao@21cn.com> wrote in message
news:62b8f1200e62d9657aee959bbc1b8d77$1@www.eclipse.org...
> Hi,
> I want to give a small size to one of my figures(it will be a border
> item), so in gmfgraph model I set its preferred size to 15x30, but with no
> success. I looked in source and found that my figure is in a "plate"
> figure whose size is 40x40. The only way I can give to get my figure small
> is to modify source and change the plate figure's size smaller. What is
> the use of plate figures, any better solutions?
>
Re: Small figures [message #31258 is a reply to message #30688] Mon, 28 August 2006 02:05 Go to previous message
Eclipse UserFriend
Hi,

yes some times the attribute "gmfgen:DefaultSizeAttributes" is preserved
after generating *.gmfgen again from dashbord using the "Transform" link
and some times it was lost. Dont ask why. I have no idea!

I will submit the other problem to bugzilla.

Regards,
Martin

Michael Golubev wrote:

> Hi,

> Strange.

> Is it true that at the same time attributes are preserved when "Create
> generator model" action is invoked from Explorer popup menu? (it would be
> really strange :))

> Could you please submit bugzilla for this, with more details (if possible).

> Regards,
> Michael

> "Martin Jacob" <mj@bahntechnik.de> wrote in message
> news:88a48e8a13ff807585262ecaf96f1ec0$1@www.eclipse.org...
>>I can set the Attribute in gmfgen but when i am generating this file by
>>using the dashboard all changes are lost. so how can i do to keep the
>>changes? btw i always have to set the *.genmodel file because the "genmodel
>>for package model(null) can not be found.
>>
>>
Previous Topic:Help ! Help!
Next Topic:From uml to gmf
Goto Forum:
  


Current Time: Sun May 11 08:49:28 EDT 2025

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

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

Back to the top