Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » AbstractBackground
AbstractBackground [message #248981] Thu, 14 May 2009 08:15
Udo Walker is currently offline Udo WalkerFriend
Messages: 81
Registered: July 2009
Member
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
Previous Topic:glue figures together
Next Topic:the right way to deal with requests
Goto Forum:
  


Current Time: Thu Apr 25 11:48:28 GMT 2024

Powered by FUDForum. Page generated in 0.02031 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top