01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 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;
11:
12: /**
13: * Interface for reusable editors.
14: *
15: * An editors may support changing its input so that
16: * the workbench may change its contents instead of
17: * opening a new editor.
18: */
19: public interface IReusableEditor extends IEditorPart {
20: /**
21: * Sets the input to this editor.
22: *
23: * <p><b>Note:</b> Clients must fire the {@link IEditorPart#PROP_INPUT }
24: * property change within their implementation of
25: * <code>setInput()</code>.<p>
26: *
27: * @param input the editor input
28: */
29: public void setInput(IEditorInput input);
30: }
|