KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > dialogs > AnimatorFactory


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  ******************************************************************************/

11
12 package org.eclipse.jface.dialogs;
13
14 import org.eclipse.swt.widgets.Control;
15
16
17 /**
18  * Factory for control animators used by JFace to animate the display of an SWT
19  * Control. Through the use of the method
20  * {@link org.eclipse.jface.util.Policy#setAnimatorFactory(AnimatorFactory)}
21  * a new type of animator factory can be plugged into JFace.
22  *
23  * @since 3.2
24  * @deprecated as of 3.3, this class is no longer used.
25  */

26 public class AnimatorFactory {
27     /**
28      * Creates a new ControlAnimator for use by JFace in animating
29      * the display of an SWT Control. <p>
30      * Subclasses should override this method.
31      *
32      * @param control the SWT Control to de displayed
33      * @return the ControlAnimator.
34      * @since 3.2
35      */

36     public ControlAnimator createAnimator(Control control) {
37         return new ControlAnimator(control);
38     }
39 }
40
Popular Tags