Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Change standard Drag Ghost
Change standard Drag Ghost [message #244041] Fri, 04 July 2008 08: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 14:10 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
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 18: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: Tue Nov 25 23:27:07 GMT 2014

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

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