KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > IInPlaceEditor


1 /*******************************************************************************
2  * Copyright (c) 2003, 2006 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.ui;
12
13 /**
14  * Interface for editor parts that represent an in-place style editor.
15  * <p>
16  * This interface is not intended to be implemented or extended by clients.
17  * </p>
18  *
19  * @see org.eclipse.ui.IEditorDescriptor#isOpenInPlace()
20  * @since 3.0
21  */

22 public interface IInPlaceEditor extends IEditorPart {
23     /**
24      * Informs the in-place editor that the system file it is
25      * editing was deleted by the application.
26      */

27     public void sourceDeleted();
28
29     /**
30      * Informs the in-place editor that the system file it is
31      * editing was moved or renamed by the application.
32      *
33      * @param input the new in-place editor input to use
34      */

35     public void sourceChanged(IInPlaceEditorInput input);
36 }
37
Popular Tags