| 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.RectangleAnimationFeedbackBase; |
| 16 | import org.eclipse.ui.internal.RectangleAnimationImageFeedback; |
| 17 | |
| 18 | /** |
| 19 | * Return an animation feedback that uses images. |
| 20 | * |
| 21 | * @since 3.3 |
| 22 | * |
| 23 | */ |
| 24 | public class ImageAnimationTweak extends Animations { |
| 25 | /** Default c'tor */ |
| 26 | public ImageAnimationTweak() {} |
| 27 | |
| 28 | /* (non-Javadoc) |
| 29 | * @see org.eclipse.ui.internal.tweaklets.Animations#getFeedback() |
| 30 | */ |
| 31 | public RectangleAnimationFeedbackBase createFeedback(Shell shell) { |
| 32 | return new RectangleAnimationImageFeedback(shell, null, null); |
| 33 | } |
| 34 | |
| 35 | } |