Project

General

Profile

Download (1002 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2010 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
package org.eclipse.draw2d;
12

    
13
import org.eclipse.draw2d.geometry.Point;
14

    
15
/**
16
 * An IFigure that can be rotated.
17
 */
18
public interface RotatableDecoration extends IFigure {
19

    
20
	/**
21
	 * Sets the location of this figure.
22
	 * 
23
	 * @param p
24
	 *            The location
25
	 */
26
	void setLocation(Point p);
27

    
28
	/**
29
	 * Sets the reference point used to determine the rotation angle.
30
	 * 
31
	 * @param p
32
	 *            The reference point
33
	 */
34
	void setReferencePoint(Point p);
35

    
36
}
(130-130/171)