KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > ui > ISaveableWorkbenchPart


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 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.team.ui;
12
13 import org.eclipse.compare.CompareEditorInput;
14 import org.eclipse.compare.CompareUI;
15 import org.eclipse.ui.ISaveablePart;
16 import org.eclipse.ui.IWorkbenchPart;
17
18 /**
19  * A saveable workbench part is a visual component that can be shown within
20  * different contexts (e.g a dialog, workbench page).
21  *
22  * @see SaveablePartDialog
23  * @since 3.0
24  * @deprecated Clients should use a subclass of {@link CompareEditorInput}
25  * and {@link CompareUI#openCompareDialog(org.eclipse.compare.CompareEditorInput)}
26  */

27 public interface ISaveableWorkbenchPart extends ISaveablePart, IWorkbenchPart {
28     
29     /**
30      * The property id for <code>isDirty</code>.
31      */

32     public static final int PROP_DIRTY = ISaveablePart.PROP_DIRTY;
33 }
34
Popular Tags