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 154655 - JavaTargetChooserPanel should provide APIs for getting current GUI values
Summary: JavaTargetChooserPanel should provide APIs for getting current GUI values
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-04 20:13 UTC by _ potingwu
Modified: 2011-08-31 14:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ potingwu 2008-12-04 20:13:37 UTC
org.netbeans.modules.java.project.JavaTargetChooserPanel should provide APIs for getting current GUI values. I.e.,
especially "Class Name" and "Package".

The use cases are: when using this class JavaTargetChooserPanel, developers usually add their customized bottom panel
for getting more options. And very often, the bottom panel's values will dynamically be updated according to the current
values of "Class Name" and "Package". But currently there is no such API to get these values.

I believe this is a missing API because the class JavaTargetChooserPanel can be listened when the current contents have
been changed. But the client can only know the 'source'. No any useful values can be grabbed. Hence make this listener
mechanism has no big value.

P2 because this missing API caused all the clients cannot be 'smarter'; when users type new things above but the bottom
part cannot be showing more useful and correct information. This is an important IDE features for helping the developers.