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 210807 - Allow user to select project for generating implementation
Summary: Allow user to select project for generating implementation
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 10:17 UTC by Geertjan Wielenga
Modified: 2016-07-07 07:26 UTC (History)
1 user (show)

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 Geertjan Wielenga 2012-04-06 10:17:02 UTC
In 7.2, it is possible to generate an implementation from the interface declaration, but it isn't possible to -- in the context of a NetBeans Platform application -- specify a different module where the class should generated.
Comment 1 Jan Lahoda 2012-04-06 10:31:41 UTC
Not quite sure if the increased complexity of the UI for the presumably more common case overweights the advantages for the less common more complex case. Especially given that creating a new class through the standard means and adding the supertype is not really difficult by any means.
Comment 2 Jesse Glick 2012-04-06 12:20:51 UTC
I tend to agree that this would be overkill. What if the selected project does not actually have a dependency on the project defining the interface?
Comment 3 gbivins 2012-04-06 14:43:41 UTC
This situation seems similar to a "Refactor Move" operation which I would say the UI already handles sufficiently. If the target project doesn't depend on the something that the moved class depends on, it appropriately notifies the developer and it is then the developer's responsibility to handle it. Not sure who the intended user this feature is targeted for, but as a NBP dev I would find this more useful if I could at least point the generation to another project module.

 Otherwise, the feature in general is "overkill" because it is trivial(because NB java editor is awesome!) to type the few key strokes for "implements" after any class and get the list of available (via dependencies) interfaces to implement.
Comment 4 Martin Balin 2016-07-07 07:26:59 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss