Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » problems marqueeing editpart
problems marqueeing editpart [message #232822] Tue, 10 April 2007 21:18
Aleksandr Kravets is currently offline Aleksandr KravetsFriend
Messages: 30
Registered: July 2009
Member
Hello,

In my editor I have an editpart and a figure associated with it. Figure
is build as such that there is an image and a text below it. Text is
wider than the image. In order to have image and text as one, my figure
extends Layer and in itself has two layers for image and text. The
problem is that if I want to marquee the editpart I need to marquee not
just around the image, but the whole layer that holds image and figure.
Here are some screen shots to show what I mean:

Works when select the whole editpart, but border is really invisible:
http://images22.fotki.com/v753/photos/6/66966/288150/fig1-vi .jpg

Does not work when I just want to marquee around the image:
http://images23.fotki.com/v765/photos/6/66966/288150/fig2-vi .jpg

(I just put the border to show boundaries, it's not really used)

Any idea on how can I solve this issue? Can I somehow control what area
of the figure is being marqueed, just as I can control what part of
figure gets selected with HandleBounds.getHandleBounds()?

thanks,
Alex
Previous Topic:Tree in the GEF Palette
Next Topic:Gradients on rounded rectangles
Goto Forum:
  


Current Time: Fri Aug 12 21:33:23 GMT 2022

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

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

Back to the top