AbstractBackground [message #248981] |
Thu, 14 May 2009 04:15 |
Eclipse User |
|
|
|
Hi,
why is org.eclipse.draw2d.AbstractBackground not just an interface?
I want to implement a sub class of AbstractLabeledBorder which is also
an AbstractBackground. But I cannot do that because AbstractBackground
is not an interface.
My use case:
I want to draw a title text of a container figure which has also a
background. As I understood the AbstractBackground it should look like this:
+----------------------------+
|XTitletextXXXXXXXXXXXXXXXXXX|
+----------------------------+
| some other child figures |
| which are opaque themselves|
| and so no background from |
| container is visible |
+----------------------------+
The 'X' means here you can see the background of the border which is an
AbstractBackground.
With regards
Udo Walker
|
|
|
Powered by
FUDForum. Page generated in 0.03718 seconds