blob: c11c16bf07b2957ef1c04107df7658f1050491c1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2011 Mia-Software.
* 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:
* Nicolas Bros (Mia-Software) - initial API and implementation
*
*******************************************************************************/
package org.eclipse.gmt.modisco.infra.browser.custom.ui.wizards;
import org.eclipse.gmt.modisco.infra.browser.custom.ui.Messages;
import org.eclipse.gmt.modisco.infra.browser.custom.ui.controls.QuerySetsSelectionControl;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.widgets.Composite;
/** A wizard page that allows selecting a list of query sets. */
public class SelectQuerySetsPage extends WizardPage {
private QuerySetsSelectionControl querySetsSelectionControl;
public SelectQuerySetsPage() {
super(Messages.SelectQuerySetsPage_selectAvailableQuerySets);
setTitle(Messages.SelectQuerySetsPage_selectAvailableQuerySets);
setDescription(Messages.SelectQuerySetsPage_selectAvailableQuerySetsInCustomization);
}
public void createControl(final Composite parent) {
this.querySetsSelectionControl = new QuerySetsSelectionControl(parent);
// can finish the wizard even if this page is not seen
setPageComplete(true);
setControl(this.querySetsSelectionControl);
}
public QuerySetsSelectionControl getQuerySetsSelectionControl() {
return this.querySetsSelectionControl;
}
}