Bug 44073 - Override methods action does not work for local types [code manipulation]
Summary: Override methods action does not work for local types [code manipulation]
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 08:53 EDT by Philipe Mulet CLA
Modified: 2003-10-13 07:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-10-02 08:53:32 EDT
Build 20030930

When selecting a local type in outliner, the action source/override methods 
doesn't work.
Comment 1 Martin Aeschlimann CLA 2003-10-02 14:52:28 EDT
could reproduce.

The type hierarchy for the type doesn't seem to contain any elements.
Set a breakpoint to OverrideMethodDialog.init(IType, boolean) line: 262
Comment 2 Jerome Lanneluc CLA 2003-10-06 06:36:23 EDT
Fixed newSuperTypeHierarchy(...) (HierarchyResolver.resolve(IGenericType) was 
not considering the entire compilation unit.
Added regression test TypeHierarchyTests.testLocalType4().

Still need to allow JDOM to work with local/anonymous types.
Comment 3 Jerome Lanneluc CLA 2003-10-06 08:55:19 EDT
Actually, there is no plan to have additional support for source code 
manipulation using the JDOM. UI should use the AST DOM instead.
This action should be disabled in the UI in the meantime.

Original problem with super type hierarchy is fixed.
Comment 4 David Audel CLA 2003-10-13 07:29:47 EDT
Verified.