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 155653 - Fix imports adds imports for defined classes
Summary: Fix imports adds imports for defined classes
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords: RELNOTE
Depends on:
Blocks: 158720
  Show dependency tree
 
Reported: 2008-12-17 13:42 UTC by Alexandr Scherbatiy
Modified: 2009-04-15 11:17 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 Alexandr Scherbatiy 2008-12-17 13:42:45 UTC
Steps to reproduce:

- Create a JavaFX Script file:
-------------------------------------------------------
class TableColumn{
    public var text: String;
}

class TableCell{
    public var text: String;
}

class TableRow{
    public var cells: TableCell[];
}

class SwingTable extends SwingComponent{
}
-------------------------------------------------------

- Fix imports
  The following imports will be added:
-------------------------------------------------------
import javafx.ext.swing.SwingComponent;
import javax.swing.text.TableView.TableCell;
-------------------------------------------------------

Note that 'TableCell' class is defined in the JavaFX file
and this import should not be added.
Comment 1 David Strupl 2008-12-17 13:43:33 UTC
fix imports --> Rasta.
Comment 2 Rastislav Komara 2009-01-30 11:53:28 UTC
Moving to future.
Comment 3 Rastislav Komara 2009-03-02 10:17:33 UTC
reassigning to new owner.
Comment 4 J Bachorik 2009-04-07 14:47:06 UTC
should be fixed in http://hg.netbeans.org/javafx/rev/43957e2c6f7a
Comment 5 Alexandr Scherbatiy 2009-04-15 11:17:52 UTC
verified