blob: 10fbf649faab79d8191be4aae98b8510339f7cea [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.stem.model.ui.wizards;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.stem.model.metamodel.Package;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
public class GeneratorOptionsPage extends WizardPage
{
@SuppressWarnings("unused")
private Package modelPackage;
public GeneratorOptionsPage(Package pkg) {
super("Generator Options");
setTitle("Generator Options");
setDescription("Set advanced options for the model code generator");
this.modelPackage = pkg;
}
public void setPackage(Package pkg)
{
this.modelPackage = pkg;
}
@Override
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
container.setLayout(new GridLayout(2, false));
Label noneLabel = new Label(container, SWT.NONE);
noneLabel.setText("No advanced generator settings implemented yet.");
setControl(container);
}
}