Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Probable BUG during renaming of a node with custom size
Probable BUG during renaming of a node with custom size [message #109239] Tue, 06 March 2007 09:13 Go to next message
Eclipse UserFriend
Originally posted by: angelo.marguglio.eng.it

Hi all!I have noticed that if I create a new node with only one click, I am
able to rename this node and its dimensions change when this event takes
place.Instead if I create a new node, specifying its dimensions dragging the
mouse, I can still rename this node, but its dimensions remain the same.Is
this a bug or an error of mine?Thanks in advanceAngelo
Re: Probable BUG during renaming of a node with custom size [message #109445 is a reply to message #109239] Tue, 06 March 2007 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi ;
This is not a bug.

when you create a shape using the one click the shape will have no size
assigned to it and it will be in an Auto Size mode, that is why when you
change the name the shape will grow or will shrink.

but if you specify the shape size by dragging the mouse while creating
the shape then the size is set on the shape and it will not resize
automatically. To re-enable the auto size functionality on this shape
you have to select the shape and hit the auto size button on the tool bar

I hope this helps

Angelo Marguglio wrote:
> Hi all!I have noticed that if I create a new node with only one click, I am
> able to rename this node and its dimensions change when this event takes
> place.Instead if I create a new node, specifying its dimensions dragging the
> mouse, I can still rename this node, but its dimensions remain the same.Is
> this a bug or an error of mine?Thanks in advanceAngelo
>
>
Re: Probable BUG during renaming of a node with custom size [message #109610 is a reply to message #109445] Wed, 07 March 2007 10:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: angelo.marguglio.eng.it

Thanks for the idea! But I have even a problem: I'd like to run an
AutoSizeCommand every time the user modifies the size of a node in order to
make "Auto Size Mode" always active. How can I find this kind of action?
Does it just exist?


"Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
news:esksek$3if$1@utils.eclipse.org...
> Hi ;
> This is not a bug.
>
> when you create a shape using the one click the shape will have no size
> assigned to it and it will be in an Auto Size mode, that is why when you
> change the name the shape will grow or will shrink.
>
> but if you specify the shape size by dragging the mouse while creating the
> shape then the size is set on the shape and it will not resize
> automatically. To re-enable the auto size functionality on this shape you
> have to select the shape and hit the auto size button on the tool bar
>
> I hope this helps
>
> Angelo Marguglio wrote:
>> Hi all!I have noticed that if I create a new node with only one click, I
>> am able to rename this node and its dimensions change when this event
>> takes place.Instead if I create a new node, specifying its dimensions
>> dragging the mouse, I can still rename this node, but its dimensions
>> remain the same.Is this a bug or an error of mine?Thanks in advanceAngelo
Re: Probable BUG during renaming of a node with custom size [message #110018 is a reply to message #109610] Wed, 07 March 2007 13:06 Go to previous messageGo to next message
Eclipse UserFriend
I guss what you need is to avoid setting the size on your view then you
will get this behavior, or you always force the width and height on your
view to be -1.

I hope this helps

Angelo Marguglio wrote:
> Thanks for the idea! But I have even a problem: I'd like to run an
> AutoSizeCommand every time the user modifies the size of a node in order to
> make "Auto Size Mode" always active. How can I find this kind of action?
> Does it just exist?
>
>
> "Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
> news:esksek$3if$1@utils.eclipse.org...
>> Hi ;
>> This is not a bug.
>>
>> when you create a shape using the one click the shape will have no size
>> assigned to it and it will be in an Auto Size mode, that is why when you
>> change the name the shape will grow or will shrink.
>>
>> but if you specify the shape size by dragging the mouse while creating the
>> shape then the size is set on the shape and it will not resize
>> automatically. To re-enable the auto size functionality on this shape you
>> have to select the shape and hit the auto size button on the tool bar
>>
>> I hope this helps
>>
>> Angelo Marguglio wrote:
>>> Hi all!I have noticed that if I create a new node with only one click, I
>>> am able to rename this node and its dimensions change when this event
>>> takes place.Instead if I create a new node, specifying its dimensions
>>> dragging the mouse, I can still rename this node, but its dimensions
>>> remain the same.Is this a bug or an error of mine?Thanks in advanceAngelo
>
>
Re: Probable BUG during renaming of a node with custom size - SOLVED [message #110578 is a reply to message #110018] Fri, 09 March 2007 09:26 Go to previous message
Eclipse UserFriend
Originally posted by: angelo.marguglio.eng.it

Thanks for the idea! I've just coded this! Now all works fine!
Thanks a lot!
BYE



"Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
news:esmuum$441$2@utils.eclipse.org...
>I guss what you need is to avoid setting the size on your view then you
>will get this behavior, or you always force the width and height on your
>view to be -1.
>
> I hope this helps
>
> Angelo Marguglio wrote:
>> Thanks for the idea! But I have even a problem: I'd like to run an
>> AutoSizeCommand every time the user modifies the size of a node in order
>> to make "Auto Size Mode" always active. How can I find this kind of
>> action? Does it just exist?
>>
>>
>> "Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
>> news:esksek$3if$1@utils.eclipse.org...
>>> Hi ;
>>> This is not a bug.
>>>
>>> when you create a shape using the one click the shape will have no size
>>> assigned to it and it will be in an Auto Size mode, that is why when you
>>> change the name the shape will grow or will shrink.
>>>
>>> but if you specify the shape size by dragging the mouse while creating
>>> the shape then the size is set on the shape and it will not resize
>>> automatically. To re-enable the auto size functionality on this shape
>>> you have to select the shape and hit the auto size button on the tool
>>> bar
>>>
>>> I hope this helps
>>>
>>> Angelo Marguglio wrote:
>>>> Hi all!I have noticed that if I create a new node with only one click,
>>>> I am able to rename this node and its dimensions change when this event
>>>> takes place.Instead if I create a new node, specifying its dimensions
>>>> dragging the mouse, I can still rename this node, but its dimensions
>>>> remain the same.Is this a bug or an error of mine?Thanks in
>>>> advanceAngelo
>>
Previous Topic:positioning a feature label inside the figure
Next Topic:GMF Tutorial - Mindmap Ecore
Goto Forum:
  


Current Time: Tue Jul 22 13:04:26 EDT 2025

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

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

Back to the top