comparison org.eclipse.jface/src/org/eclipse/jface/dialogs/AnimatorFactory.d @ 12:bc29606a740c

Added dwt-addons in original directory structure of eclipse.org
author Frank Benoit <benoit@tionex.de>
date Sat, 14 Mar 2009 18:23:29 +0100
parents
children
comparison
equal deleted inserted replaced
11:43904fec5dca 12:bc29606a740c
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 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 ******************************************************************************/
13
14 module org.eclipse.jface.dialogs.AnimatorFactory;
15
16 import java.lang.all;
17
18 import org.eclipse.jface.dialogs.ControlAnimator;
19
20 import org.eclipse.swt.widgets.Control;
21
22
23 /**
24 * Factory for control animators used by JFace to animate the display of an SWT
25 * Control. Through the use of the method
26 * {@link org.eclipse.jface.util.Policy#setAnimatorFactory(AnimatorFactory)}
27 * a new type of animator factory can be plugged into JFace.
28 *
29 * @since 3.2
30 * @deprecated as of 3.3, this class is no longer used.
31 */
32 public class AnimatorFactory {
33 /**
34 * Creates a new ControlAnimator for use by JFace in animating
35 * the display of an SWT Control. <p>
36 * Subclasses should override this method.
37 *
38 * @param control the SWT Control to de displayed
39 * @return the ControlAnimator.
40 * @since 3.2
41 */
42 public ControlAnimator createAnimator(Control control) {
43 return new ControlAnimator(control);
44 }
45 }