Skip to main content



      Home
Home » Modeling » UML2 Tools » Inline editing of a operations in the classdiagram
Inline editing of a operations in the classdiagram [message #476503] Fri, 29 May 2009 01:40 Go to next message
Eclipse UserFriend
Hi,

I just tried the UML2 tools version for Eclipse 3.5 and if I modify the
name of a operation in a class diagram directly in the diagram this
change is lost. If I do this in properties view it is working.

Shall I open a bug for this?

Best regards, Lars
Re: Inline editing of a operations in the classdiagram [message #476508 is a reply to message #476503] Tue, 02 June 2009 08:03 Go to previous messageGo to next message
Eclipse UserFriend
Hello Lars,

In accordance with UML specification name of an operation should be followed
by round brackets. So, round brackets should always be typed after a name.
It's not so obvios though.
Does the name change after you type in inplace editor something like this
-- 'foo()' ?

Best wishes,
Tanya.

> Hi,
>
> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
> the name of a operation in a class diagram directly in the diagram
> this change is lost. If I do this in properties view it is working.
>
> Shall I open a bug for this?
>
> Best regards, Lars
>
Re: Inline editing of a operations in the classdiagram [message #476511 is a reply to message #476508] Tue, 02 June 2009 17:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tatiana,

thank you for the reply. It works correctly if I use foo().

I believe the confusing part is that the properties editor does not use
foo() but only foo.

I added commend to: http://www.vogella.de/articles/UML/article.html
to explain the behavior.

Best regards, Lars


Tatiana Fesenko wrote:
> Hello Lars,
>
> In accordance with UML specification name of an operation should be
> followed by round brackets. So, round brackets should always be typed
> after a name. It's not so obvios though. Does the name change after you
> type in inplace editor something like this -- 'foo()' ?
> Best wishes,
> Tanya.
>
>> Hi,
>>
>> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
>> the name of a operation in a class diagram directly in the diagram
>> this change is lost. If I do this in properties view it is working.
>>
>> Shall I open a bug for this?
>>
>> Best regards, Lars
>>
>
>
Re: Inline editing of a operations in the classdiagram [message #476515 is a reply to message #476511] Wed, 03 June 2009 11:21 Go to previous message
Eclipse UserFriend
Hi Lars,

Yes, I agree. It could look confusing, because label shown on the diagram
is composed from values of several properties, while property sheets allow
to edit a single value only.
I think mentioning it in your article will help the users to avoid such confusion.

Thanks,
Tanya.

> Hi Tatiana,
>
> thank you for the reply. It works correctly if I use foo().
>
> I believe the confusing part is that the properties editor does not
> use foo() but only foo.
>
> I added commend to: http://www.vogella.de/articles/UML/article.html to
> explain the behavior.
>
> Best regards, Lars
>
> Tatiana Fesenko wrote:
>
>> Hello Lars,
>>
>> In accordance with UML specification name of an operation should be
>> followed by round brackets. So, round brackets should always be typed
>> after a name. It's not so obvios though. Does the name change after
>> you
>> type in inplace editor something like this -- 'foo()' ?
>> Best wishes,
>> Tanya.
>>> Hi,
>>>
>>> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
>>> the name of a operation in a class diagram directly in the diagram
>>> this change is lost. If I do this in properties view it is working.
>>>
>>> Shall I open a bug for this?
>>>
>>> Best regards, Lars
>>>
Re: Inline editing of a operations in the classdiagram [message #623922 is a reply to message #476503] Tue, 02 June 2009 08:03 Go to previous message
Eclipse UserFriend
Hello Lars,

In accordance with UML specification name of an operation should be followed
by round brackets. So, round brackets should always be typed after a name.
It's not so obvios though.
Does the name change after you type in inplace editor something like this
-- 'foo()' ?

Best wishes,
Tanya.

> Hi,
>
> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
> the name of a operation in a class diagram directly in the diagram
> this change is lost. If I do this in properties view it is working.
>
> Shall I open a bug for this?
>
> Best regards, Lars
>
Re: Inline editing of a operations in the classdiagram [message #623927 is a reply to message #476508] Tue, 02 June 2009 17:10 Go to previous message
Eclipse UserFriend
Hi Tatiana,

thank you for the reply. It works correctly if I use foo().

I believe the confusing part is that the properties editor does not use
foo() but only foo.

I added commend to: http://www.vogella.de/articles/UML/article.html
to explain the behavior.

Best regards, Lars


Tatiana Fesenko wrote:
> Hello Lars,
>
> In accordance with UML specification name of an operation should be
> followed by round brackets. So, round brackets should always be typed
> after a name. It's not so obvios though. Does the name change after you
> type in inplace editor something like this -- 'foo()' ?
> Best wishes,
> Tanya.
>
>> Hi,
>>
>> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
>> the name of a operation in a class diagram directly in the diagram
>> this change is lost. If I do this in properties view it is working.
>>
>> Shall I open a bug for this?
>>
>> Best regards, Lars
>>
>
>
Re: Inline editing of a operations in the classdiagram [message #623933 is a reply to message #476511] Wed, 03 June 2009 11:21 Go to previous message
Eclipse UserFriend
Hi Lars,

Yes, I agree. It could look confusing, because label shown on the diagram
is composed from values of several properties, while property sheets allow
to edit a single value only.
I think mentioning it in your article will help the users to avoid such confusion.

Thanks,
Tanya.

> Hi Tatiana,
>
> thank you for the reply. It works correctly if I use foo().
>
> I believe the confusing part is that the properties editor does not
> use foo() but only foo.
>
> I added commend to: http://www.vogella.de/articles/UML/article.html to
> explain the behavior.
>
> Best regards, Lars
>
> Tatiana Fesenko wrote:
>
>> Hello Lars,
>>
>> In accordance with UML specification name of an operation should be
>> followed by round brackets. So, round brackets should always be typed
>> after a name. It's not so obvios though. Does the name change after
>> you
>> type in inplace editor something like this -- 'foo()' ?
>> Best wishes,
>> Tanya.
>>> Hi,
>>>
>>> I just tried the UML2 tools version for Eclipse 3.5 and if I modify
>>> the name of a operation in a class diagram directly in the diagram
>>> this change is lost. If I do this in properties view it is working.
>>>
>>> Shall I open a bug for this?
>>>
>>> Best regards, Lars
>>>
Previous Topic:[TOPCASED] Opening a Profile and a Model applying it at the same time
Next Topic:Programmatically generating Class Diagrams
Goto Forum:
  


Current Time: Tue Jul 22 19:24:50 EDT 2025

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

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

Back to the top