Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Looking for a consistent way to show that the contents of a debug view is intentionally empty

Some of the debug views (extends AbstractDebugView) that we are building
are not valid for all debug targets.

I would like to show a Label for the contents of the view similar to the
Java Outline view when the outline is not available.

But I can't override AbstractDebugView.createPartControl(Composite) because
it is declared as final.

With more and more views being added could you modify AbstractDebugView to
allow for views that are not
available or come up with a consistent way of depicting that that contents
are not available.

I like the way the outline view does it because an empty view implies
either there are no elements to show or there was an error getting them.
By showing that the view is not available I know that it doesn't apply to
the current selection.

Alan Boxall



Back to the top