Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] BR 31994, General problems with Add delegate methods ....

http://bugs.eclipse.org/bugs/show_bug.cgi?id=31994

What are general rules to enable action, displaying wizards, when the action
is not 'runnable'?
At the moment Add Delegate methods ... is enabled when at least on field of
type object or array is in the cu. The enablement is just used inside the
context menu of a cu. Its always enabled on the editor context menu. Why the
difference?

At the moment Override wizard also presents an empty dialog when e.g used
inside an interface. Adam + Dirk are saying that empty dialogs should not be
displayed.

The case Adam present in the br is that he defined a friendly method (no
modifier) in an interface. Methods in interfaces are defined as public, but
the method returned from interface.getMethods() is not flagged public. So am
I responsible to manually change the modifier?

Interfaces are java.lang.Object compatible. So they implicit have the
equal(), hashCode(),toString(). Should these methods added to interfaces
delegates?

martin




Back to the top