KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ltk > internal > ui > refactoring > IPreviewWizardPage


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.ltk.internal.ui.refactoring;
12
13 import org.eclipse.ltk.core.refactoring.Change;
14
15 import org.eclipse.jface.wizard.IWizardPage;
16
17 /**
18  * Interface for a refactoring preview wizard page.
19  */

20 public interface IPreviewWizardPage extends IWizardPage {
21
22     /** The page's name */
23     public static final String JavaDoc PAGE_NAME= "PreviewPage"; //$NON-NLS-1$
24

25     /**
26      * Returns the change that is displayed.
27      *
28      * @return the change, or <code>null</code>
29      * @since 3.2
30      */

31     public Change getChange();
32
33     /**
34      * Sets that change for which the page is supposed to display a preview.
35      *
36      * @param change
37      * the new change, or <code>null</code>
38      */

39     public void setChange(Change change);
40 }
41
Popular Tags