Home | History | Annotate | Download | only in draw2d
      1 /*******************************************************************************
      2  * Copyright (c) 2011 Google, Inc.
      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  *    Google, Inc. - initial API and implementation
     10  *******************************************************************************/
     11 package org.eclipse.wb.draw2d;
     12 
     13 import org.eclipse.swt.SWT;
     14 import org.eclipse.swt.graphics.Cursor;
     15 
     16 /**
     17  * A collection of cursors.
     18  *
     19  * @author lobas_av
     20  * @coverage gef.draw2d
     21  */
     22 public interface ICursorConstants {
     23   /**
     24    * System resize west-east cursor
     25    */
     26   Cursor SIZEWE = new Cursor(null, SWT.CURSOR_SIZEWE);
     27   /**
     28    * System resize north-south cursor
     29    */
     30   Cursor SIZENS = new Cursor(null, SWT.CURSOR_SIZENS);
     31   /**
     32    * System resize all directions cursor.
     33    */
     34   // BEGIN ADT MODIFICATIONS
     35   // The SWT CURSOR_SIZEALL cursor looks wrong; it's cross hairs. Use a hand for resizing
     36   // instead. See the icons shown in
     37   //  http://www.eclipse.org/articles/Article-SWT-images/graphics-resources.html
     38   //Cursor SIZEALL = new Cursor(null, SWT.CURSOR_SIZEALL);
     39   Cursor SIZEALL = new Cursor(null, SWT.CURSOR_HAND);
     40   // END ADT MODIFICATIONS
     41 }