1 /******************************************************************************* 2 * Copyright (c) 2000, 2015 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 * Stefan Xenos, IBM; Chris Torrence, ITT Visual Information Solutions - bug 51580 14 *******************************************************************************/ 15 package org.eclipse.ui; 16 17 /** 18 * This interface describes the constants used for 19 * {@link org.eclipse.ui.IWorkbenchPart IWorkbenchPart} properties. 20 * <p> 21 * <b>Note:</b>This interface should not be implemented or extended. 22 * </p> 23 * 24 * @since 3.0 25 * @noimplement This interface is not intended to be implemented by clients. 26 */ 27 public interface IWorkbenchPartConstants { 28 29 /** 30 * The property id for <code>getTitle</code>, <code>getTitleImage</code> and 31 * <code>getTitleToolTip</code>. 32 */ 33 int PROP_TITLE = 0x001; 34 35 /** 36 * The property id for <code>ISaveablePart.isDirty()</code>. 37 */ 38 int PROP_DIRTY = 0x101; 39 40 /** 41 * The property id for <code>IEditorPart.getEditorInput()</code>. 42 */ 43 int PROP_INPUT = 0x102; 44 45 /** 46 * The property id for <code>IWorkbenchPart2.getPartName</code> 47 */ 48 int PROP_PART_NAME = 0x104; 49 50 /** 51 * The property id for <code>IWorkbenchPart2.getContentDescription()</code> 52 */ 53 int PROP_CONTENT_DESCRIPTION = 0x105; 54 55 /** 56 * The property id for any method on the optional <code>ISizeProvider</code> 57 * interface 58 * 59 * @since 3.4 60 */ 61 int PROP_PREFERRED_SIZE = 0x303; 62 63 } 64