| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * 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: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.wizard.ui.theme; |
| |
| import org.eclipse.osbp.wizard.ui.ThemeNewProjectWizard; |
| import org.eclipse.osbp.wizard.ui.basic.BasicNewProjectEclipsePage; |
| |
| /** |
| * The New Theme Project Eclipse Page. |
| */ |
| public class ThemeNewProjectEclipsePage extends BasicNewProjectEclipsePage { |
| |
| public ThemeNewProjectEclipsePage(final ThemeNewProjectWizard wizard, String pageName) { |
| super(wizard, pageName); |
| } |
| |
| /** |
| * the project name text always ends with <code>.theme</code> |
| * @param text |
| */ |
| @Override |
| protected void setProjectNameField(String text) { |
| super.setProjectNameField(text+".theme"); |
| } |
| |
| /** |
| * the bundle name text always ends with <code>Theme</code> |
| * @param text |
| */ |
| @Override |
| protected void setBundleNameField(String text) { |
| super.setBundleNameField(text+"Theme"); |
| } |
| } |