Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Shortcut "original" Class Deletion Bug
Shortcut "original" Class Deletion Bug [message #470868] Fri, 25 May 2007 08:44 Go to next message
Philippe is currently offline PhilippeFriend
Messages: 100
Registered: July 2009
Senior Member
Hi,

it seems to have some problems when deleting a class that one use as
shortcut in other sub-diagram.

On M7b build
Steps to reproduce
-create new ClassD
-create a class "RootClass" and a package
-go into the package by double-clicking it
-add a new class and a shortcut for "RootClass"

!without closing package editor!
-return in root diagram and "delete from model" RootClass
-return in the package => the editor is frozen
-close the editor for package
-try to re-open it with double-click => Error opening the editor.
org.eclipse.gmf.runtime.notation.impl.NodeImpl cannot be cast to
org.eclipse.uml2.uml.NamedElement

Does anybody have an idea why is this happening ?

Regards
Philippe
Re: Shortcut "original" Class Deletion Bug [message #470878 is a reply to message #470868] Mon, 28 May 2007 11:24 Go to previous messageGo to next message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello Philippe,

Thank you for reporting this. I just submitted #189403

Regards,
Michael

> On M7b build
> Steps to reproduce
> -create new ClassD
> -create a class "RootClass" and a package
> -go into the package by double-clicking it
> -add a new class and a shortcut for "RootClass"
> !without closing package editor!
> -return in root diagram and "delete from model" RootClass
> -return in the package => the editor is frozen
> -close the editor for package
> -try to re-open it with double-click => Error opening the editor.
> org.eclipse.gmf.runtime.notation.impl.NodeImpl cannot be cast to
> org.eclipse.uml2.uml.NamedElement
Re: Shortcut "original" Class Deletion Bug [message #471173 is a reply to message #470878] Mon, 18 June 2007 15:47 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi all,

I also found familiar behavior in Taipan diagram and submitted #193133
Shortcut deletion should not freeze diagram.
It looks like a GMF bug.

Best wishes,
Tatiana.

"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:80ef4340d8228c96f42b4c7430b@news.eclipse.org...
> Hello Philippe,
>
> Thank you for reporting this. I just submitted #189403
> Regards, Michael
>
>> On M7b build
>> Steps to reproduce
>> -create new ClassD
>> -create a class "RootClass" and a package
>> -go into the package by double-clicking it
>> -add a new class and a shortcut for "RootClass"
>> !without closing package editor!
>> -return in root diagram and "delete from model" RootClass
>> -return in the package => the editor is frozen
>> -close the editor for package
>> -try to re-open it with double-click => Error opening the editor.
>> org.eclipse.gmf.runtime.notation.impl.NodeImpl cannot be cast to
>> org.eclipse.uml2.uml.NamedElement
>
>
Re: Shortcut "original" Class Deletion Bug [message #594821 is a reply to message #470868] Mon, 28 May 2007 11:24 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello Philippe,

Thank you for reporting this. I just submitted #189403

Regards,
Michael

> On M7b build
> Steps to reproduce
> -create new ClassD
> -create a class "RootClass" and a package
> -go into the package by double-clicking it
> -add a new class and a shortcut for "RootClass"
> !without closing package editor!
> -return in root diagram and "delete from model" RootClass
> -return in the package => the editor is frozen
> -close the editor for package
> -try to re-open it with double-click => Error opening the editor.
> org.eclipse.gmf.runtime.notation.impl.NodeImpl cannot be cast to
> org.eclipse.uml2.uml.NamedElement
Re: Shortcut "original" Class Deletion Bug [message #600397 is a reply to message #470878] Mon, 18 June 2007 15:47 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi all,

I also found familiar behavior in Taipan diagram and submitted #193133
Shortcut deletion should not freeze diagram.
It looks like a GMF bug.

Best wishes,
Tatiana.

"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:80ef4340d8228c96f42b4c7430b@news.eclipse.org...
> Hello Philippe,
>
> Thank you for reporting this. I just submitted #189403
> Regards, Michael
>
>> On M7b build
>> Steps to reproduce
>> -create new ClassD
>> -create a class "RootClass" and a package
>> -go into the package by double-clicking it
>> -add a new class and a shortcut for "RootClass"
>> !without closing package editor!
>> -return in root diagram and "delete from model" RootClass
>> -return in the package => the editor is frozen
>> -close the editor for package
>> -try to re-open it with double-click => Error opening the editor.
>> org.eclipse.gmf.runtime.notation.impl.NodeImpl cannot be cast to
>> org.eclipse.uml2.uml.NamedElement
>
>
Previous Topic:UML Plug In (Omando 2.1.0)
Next Topic:UML2 XMI > SVG via XSLT
Goto Forum:
  


Current Time: Fri Apr 19 02:19:55 GMT 2024

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

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

Back to the top