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 51171 - Suggest Help Topic on How IDE Helps to Implement and Extend Classes
Summary: Suggest Help Topic on How IDE Helps to Implement and Extend Classes
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Talley Mulligan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 16:53 UTC by Chris Kutler
Modified: 2005-10-24 22:11 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 Chris Kutler 2004-11-04 16:53:38 UTC
I could not find information in the online help on
how the IDE facilitates extending classes and
implementing interfaces. It might be nice to have
this topic.

Here is what an engineer explained to me:

The most common approach when abstract methods are
involved is to just
create a new class and then modify its extends
clause.  You will be
prompted to synchronize when you save the file, or
you can manually
synchronize by using the Tools menu.

There is also a different dialog you can use to
override any superclass
method.  When in your Java file, click Tools >
Override Methods, or
press Ctrl+I.  The difference between this and
Synchronize is that
synchronize only prompts you to implement abstract
methods, whereas the
override tool helps you specialize any superclass
method.
Comment 1 Patrick Keegan 2004-11-04 17:01:45 UTC
Good idea. The current topics are UI-focused more than task-focused.
I'm also thinking of filing an issue to actually combine Synchronize
and Override in the UI.
Comment 2 John Jullion-ceccarelli 2005-03-02 17:35:45 UTC
Talley, do you think you'll have time to document this for 4.1? You
can ask me about details.
Comment 3 Patrick Keegan 2005-10-24 22:11:24 UTC
fixed in trunk. There is now a better task-based topic ("Overriding and
Implementing Methods") that addresses the task at hand and provides two ways to
do it. There is also CSH for Override Methods dialog.