01: /*******************************************************************************
02: * Copyright (c) 2000, 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: * Stefan Xenos, IBM; Chris Torrence, ITT Visual Information Solutions - bug 51580
11: *******************************************************************************/package org.eclipse.ui;
12:
13: /**
14: * This interface describes the constants used for <link>IWorkbenchPart</link> properties.
15: *
16: * @since 3.0
17: */
18: public interface IWorkbenchPartConstants {
19:
20: /**
21: * The property id for <code>getTitle</code>, <code>getTitleImage</code>
22: * and <code>getTitleToolTip</code>.
23: */
24: int PROP_TITLE = 0x001;
25:
26: /**
27: * The property id for <code>ISaveablePart.isDirty()</code>.
28: */
29: int PROP_DIRTY = 0x101;
30:
31: /**
32: * The property id for <code>IEditorPart.getEditorInput()</code>.
33: */
34: int PROP_INPUT = 0x102;
35:
36: /**
37: * The property id for <code>IWorkbenchPart2.getPartName</code>
38: */
39: int PROP_PART_NAME = 0x104;
40:
41: /**
42: * The property id for <code>IWorkbenchPart2.getContentDescription()</code>
43: */
44: int PROP_CONTENT_DESCRIPTION = 0x105;
45:
46: /**
47: * The property id for any method on the optional <code>ISizeProvider</code> interface
48: */
49: int PROP_PREFERRED_SIZE = 0x303;
50:
51: }
|