Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Disabling animation in gef ui palette ??
Disabling animation in gef ui palette ?? [message #768551] Tue, 20 December 2011 10:52
clive.quinn is currently offline clive.quinnFriend
Messages: 2
Registered: May 2011
Junior Member

Is there a way to disable animation in the Palette ?
Specifically i am using PaletteViewer which uses PaletteEditPartFactory for palette entries. The graphical figure used to display drawers is a draw2d figure called DrawerFigure. In here a CollapseToggle object is created and when a ChangeEvent happens animation takes place. I have setup a search facility on the palette to search the palette drawers and entries for an input string. If i have for example 25 folders then as animation delay is 150 milliseconds, this means that the animation will take about 4 seconds to show results.
I am wondering if there is a setting/preference to disable this animation or is there a straight forward way of altering this behaviour. Any help appreciated.

Code snippet from org.eclipse.gef.internal.ui.palette.editparts.DrawerFigure

public void handleStateChanged(ChangeEvent e) {
if (e.getPropertyName().equals(ButtonModel.SELECTED_PROPERTY)) {
} else if (e.getPropertyName().equals(

Previous Topic:Scrolling text in ScrollPane vertically
Next Topic:curved connections
Goto Forum:

Current Time: Sat Oct 16 00:28:13 GMT 2021

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

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

Back to the top