Skip to main content



      Home
Home » Eclipse Projects » GEF » Change standard Drag Ghost
Change standard Drag Ghost [message #244041] Fri, 04 July 2008 04:04 Go to next message
Eclipse UserFriend
Originally posted by: mattmann.de.ibm.com

Hi guys,

I would like to change the standard tiny gray drag ghost (gray square with a
plus in the bottom) that is
defined and used in eclipse.

Where is it defined?
How do I search for it?
How can I overwrite this with something more nice?

Thanks for your help
Re: Change standard Drag Ghost [message #244085 is a reply to message #244041] Fri, 04 July 2008 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mann

Check out the GEF Logic example and look for the feedback figures used to
create a different drag look. Search for *FeedbackFigure.

Cheers...
Anthony

"Mann" <mattmann@de.ibm.com> wrote in message
news:g4klj1$js2$1@build.eclipse.org...
> Hi guys,
>
> I would like to change the standard tiny gray drag ghost (gray square with
> a plus in the bottom) that is
> defined and used in eclipse.
>
> Where is it defined?
> How do I search for it?
> How can I overwrite this with something more nice?
>
> Thanks for your help
>
Re: Change standard Drag Ghost [message #244099 is a reply to message #244041] Fri, 04 July 2008 14:43 Go to previous message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

this ghost is from the ResizableEditPolicy which is been installed with the primary drag role key in the decorateChild method.

you can override this method in your xylayoutpolicy and can give your own implementation..,
Previous Topic:can GrahpicalEditor be a sub page inside MultiPageEditor ?
Next Topic:Dynamic tabbed properties view- documentation or sample code?
Goto Forum:
  


Current Time: Wed Jul 23 01:51:30 EDT 2025

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

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

Back to the top