Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:40 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

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 12:03 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
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 21:10 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

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 15:21 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
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 12:03 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
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 21:10 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

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 15:21 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
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: Thu Apr 18 21:22:48 GMT 2024

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

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

Back to the top