| /******************************************************************************* |
| * Copyright (c) 2008 Innoopract Informationssysteme GmbH. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Innoopract Informationssysteme GmbH - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.epp.wizard.internal; |
| |
| import org.eclipse.rwt.graphics.Graphics; |
| import org.eclipse.swt.SWT; |
| import org.eclipse.swt.graphics.Cursor; |
| import org.eclipse.swt.widgets.Control; |
| |
| public class LinkUtil { |
| |
| static Cursor handCursor = Graphics.getCursor( SWT.CURSOR_HAND ); |
| |
| public static void setHandCursor( Control control ) { |
| control.setCursor( handCursor ); |
| } |
| |
| public static void resetCursor( Control control ) { |
| control.setCursor( null ); |
| } |
| } |