01: /*******************************************************************************
02: * Copyright (c) 2005 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.part;
11:
12: import org.eclipse.jface.window.Window;
13: import org.eclipse.swt.SWT;
14:
15: /**
16: * The IWorkbenchPartOrientation is the interface that defines the orientation
17: * of the part. If a type does not implement this interface an orientation of
18: * SWT.NONE will be assumed.
19: *
20: * @see org.eclipse.swt.SWT#RIGHT_TO_LEFT
21: * @see org.eclipse.swt.SWT#LEFT_TO_RIGHT
22: * @see org.eclipse.swt.SWT#NONE
23: * @see Window#getDefaultOrientation()
24: * @since 3.1
25: */
26: public interface IWorkbenchPartOrientation {
27: /**
28: * Return the orientation of this part.
29: *
30: * @return int SWT#RIGHT_TO_LEFT or SWT#LEFT_TO_RIGHT
31: * @see Window#getDefaultOrientation()
32: * @see SWT#RIGHT_TO_LEFT
33: * @see SWT#LEFT_TO_RIGHT
34: * @see Window#getDefaultOrientation()
35: */
36: public int getOrientation();
37: }
|