This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114294 - Deleted operation still shown in projects window
Summary: Deleted operation still shown in projects window
Status: RESOLVED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 23:24 UTC by Joanne Lau
Modified: 2009-01-26 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2007-08-30 23:24:38 UTC
NB: 070830

Steps to repro:
1) Create a class diagram C1, drop a class to the editor
2) From the editor, add 3 attributes via <ctrl><shift>A
3) Add an operation via <ctrl><shift>O
4) From the projects window, expand the Model -> C1 -> Operations
5) Select the operation and <Delete>
6) From the projects window, Select Operations -> New to create another operation 
7) Unamed operation created,  select it and rename it 
8) Select the newly renamed and delete it

   Notice that the operation is still showing in the projects window, but it is deleted
   in the diagram editor.

   There seems to be a refresh issue here in operation creation via the UI immediately followed by
   operation deletion from the projects tree.
Comment 1 Sergey Petrov 2009-01-26 12:21:37 UTC
can't reproduce in 6.5, may be platform-java specific, or some more specific steps.
can't follow steps above exactly because two operations are not grouped under Operations node.