Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 53a460ee9d41d4795310de607f551e6049ab5e79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*****************************************************************************
 * Copyright (c) 2010 CEA LIST.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
 *****************************************************************************/
package org.eclipse.papyrus.customization.properties.generation.wizard;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.wizard.WizardPage;

/**
 * An abstract WizardPage for the CreateContext wizard, providing helper
 * methods to its implementers
 *
 * @author Camille Letavernier
 */
public abstract class AbstractCreateContextPage extends WizardPage {

	/**
	 * Builds a new WizardPage with the given pageName
	 * Constructor.
	 *
	 * @param pageName
	 *            The name of this wizard page
	 */
	public AbstractCreateContextPage(String pageName) {
		super(pageName);
	}

	/**
	 *
	 * Builds a new WizardPage with the given pageName, title and image
	 *
	 * @param pageName
	 *            the name of the page
	 * @param title
	 *            the title for this wizard page, or <code>null</code> if none
	 * @param titleImage
	 *            the image descriptor for the title of this wizard page,
	 *            or <code>null</code> if none
	 */
	public AbstractCreateContextPage(String pageName, String title, ImageDescriptor titleImage) {
		super(pageName, title, titleImage);
	}

	@Override
	public CreateContextWizard getWizard() {
		return (CreateContextWizard) super.getWizard();
	}

}

Back to the top