KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > tweaklets > LegacyAnimations


1 /*******************************************************************************
2  * Copyright (c) 2007 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.ui.internal.tweaklets;
13
14 import org.eclipse.swt.widgets.Shell;
15 import org.eclipse.ui.internal.LegacyAnimationFeedback;
16 import org.eclipse.ui.internal.RectangleAnimationFeedbackBase;
17
18 /**
19  * Return the default (legacy) animation.
20  *
21  * @since 3.3
22  *
23  */

24 public class LegacyAnimations extends Animations {
25     /** Default c'tor */
26     public LegacyAnimations() {}
27     
28     /* (non-Javadoc)
29      * @see org.eclipse.ui.internal.tweaklets.Animations#getFeedback()
30      */

31     public RectangleAnimationFeedbackBase createFeedback(Shell shell) {
32         return new LegacyAnimationFeedback(shell, null, null);
33     }
34
35 }
36
Popular Tags