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 118432 - RE Operation: canceling the re-operation action still creates the interaction node
Summary: RE Operation: canceling the re-operation action still creates the interaction...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on: 118427
Blocks:
  Show dependency tree
 
Reported: 2007-10-10 18:56 UTC by Peter Lam
Modified: 2009-05-25 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
incomplete re-op action result (26.04 KB, image/png)
2007-10-10 18:57 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-10-10 18:56:59 UTC
This is not a regression since it's also in NB 5.5.

Repro steps:
- create a java project with the following class

import javax.swing.JDialog;
  public class TestDialog extends JDialog {
    
    public TestDialog() {
        initComponents();
    }
        
    public void initComponents(){
        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    }    
  }

- reverse engineer the java project
- expand the uml project down to the TestDialog class, but do not expand operation "initComponents"
- right-click on the operation "initComponents" and select "Reverse Engineer Operation" from popup menu
- when the Create New Diagram dialog comes up, click on the Cancel button to dismiss it w/o doing anything else
- expand the operation "initComponents" node
Result: an interaction node has been created. Expand the interaction node will show the nodes for a diagram but except
the diagram node. See attached screenshot.
Comment 1 Peter Lam 2007-10-10 18:57:40 UTC
Created attachment 50617 [details]
incomplete re-op action result
Comment 2 Kris Richards 2007-10-10 22:49:09 UTC
this will be fixed as a result of issue 118427
Comment 3 George Vasick 2008-06-10 17:03:53 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 4 Sergey Petrov 2009-01-26 12:44:41 UTC
re operation should be done in a way it was implemented for cdf on operation's node, i.e. no actions before OK in re dialog.