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 158665 - Code completion suggests protected atributes
Summary: Code completion suggests protected atributes
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks: 154422
  Show dependency tree
 
Reported: 2009-02-17 12:45 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:49 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 2009-02-17 12:45:39 UTC
JavaFX Script Plugin 1.1

  Product Version         = NetBeans IDE 6.5 (Build 200901261116)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.

Steps to reproduce:

- Copy the code to the editor:
------------------------------------------------
import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.shape.Circle;

class MyCustomNode extends CustomNode {

    public override function create(): Node {
        Circle {
            

        }
    }
}
------------------------------------------------

- Position cursor in the scope of Circle declaration
- Press <Ctrl+Space>
- Type impl
- Select 'impl_installListeners' from the list
- Type false
The result is:
------------------------------------------------
class MyCustomNode extends CustomNode {

    public override function create(): Node {
        Circle {
            impl_installListeners: false

        }
    }
}
------------------------------------------------

- Build the project:

init:
deps-jar:
Main.fx:17: impl_installListeners has protected access in javafx.scene.Node
            impl_installListeners: false
1 error
ERROR: javafxc execution failed, exit code: 1
Comment 1 Petr Nejedly 2009-09-18 13:40:50 UTC
Honza is working on bigger rewrite of keywords completion. It should go into 6.8
Comment 2 Petr Nejedly 2010-09-24 11:44:48 UTC
Reassigning javafx bugs to Adam.
Comment 3 David Strupl 2011-05-16 13:49:09 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.