Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 84283 - generated class does not override indirectly inherited abstract methods
Summary: generated class does not override indirectly inherited abstract methods
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Tobias Widmer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 16:27 EST by Rafael Chaves CLA
Modified: 2005-02-03 04:41 EST (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 Rafael Chaves CLA 2005-02-02 16:27:14 EST
i20050201

The new class wizard will not generate method stubs for indirectly inherited
abstract methods, only for those directly inherited. A simple test case is to
create a new class that implements
org.eclipse.jface.viewers.ITreeContentProvider. The resulting code has only the
following methods:

	public Object[] getChildren(Object parentElement) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object getParent(Object element) {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean hasChildren(Object element) {
		// TODO Auto-generated method stub
		return false;
	}
Comment 1 Dirk Baeumer CLA 2005-02-03 04:09:25 EST
Tobias, same issue.
Comment 2 Tobias Widmer CLA 2005-02-03 04:41:20 EST
Fixed > 20050202
Did not make it into the I-build