01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: ******************************************************************************/package org.eclipse.ui.internal.tweaklets;
11:
12: import org.eclipse.swt.widgets.Shell;
13: import org.eclipse.ui.internal.RectangleAnimationFeedbackBase;
14: import org.eclipse.ui.internal.RectangleAnimationImageFeedback;
15:
16: /**
17: * Return an animation feedback that uses images.
18: *
19: * @since 3.3
20: *
21: */
22: public class ImageAnimationTweak extends Animations {
23: /** Default c'tor */
24: public ImageAnimationTweak() {
25: }
26:
27: /* (non-Javadoc)
28: * @see org.eclipse.ui.internal.tweaklets.Animations#getFeedback()
29: */
30: public RectangleAnimationFeedbackBase createFeedback(Shell shell) {
31: return new RectangleAnimationImageFeedback(shell, null, null);
32: }
33:
34: }
|