Tag Archives: interfaces

Inheritance

One my gripes about the Eclipse framework is the general lack of standardized interfaces & inheritance.

For instance: a TreeColumn & TableColumn both have a lot of attributes in common … width, alignment, movability, sortability, resizeability, etc.

But since they don’t share an interface or a common ancestor, you can’t handle them with common code.

Similarly widgets like the ComboBox and a Text field share a lot of attributes … they can hold text, they can be changed, etc, but you can’t access those attributes with a common interface.

Sadly most Eclipse widgets explicitly forbid subclassing … so I can’t subclass the various types and add my own interfaces. The following is a direct quote from the TableColumn javadocs …

IMPORTANT: This class is not intended to be subclassed.

And, unfortunately, they enforce this in code.

Related posts ...
One of the things I needed to support in my RCP is the ability to
Another item I struggled with ... adding the help icon to various dialogs (wizards, preferences,
I'm in the process of building a new application at work ... this is a
As I mentioned before ... even though I'm participating in Yahoo's Email Complaint Feedback Loop,