blob: 0d004bfe925a132834f3f6d50ee07c9548392ed2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004-2011 Zoltan Ujhelyi, Istvan Rath and Daniel Varro
* 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:
* Zoltan Ujhelyi - initial API and implementation
*******************************************************************************/
package org.eclipse.viatra2.frameworkgui.dialogs;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.dialogs.ElementTreeSelectionDialog;
import org.eclipse.viatra2.framework.IFramework;
/**
* An extension of the ElementTreeSelectionDialog to support the selection of
* model elements. The dialog expects setting an {@link IFramework} as its input
* element.
*
* @author Zoltan Ujhelyi
*/
public class SelectModelElementDialog extends ElementTreeSelectionDialog {
public SelectModelElementDialog(Shell parent) {
super(parent, new ModelspaceLabelProvider(),
new ModelspaceContentProvider());
}
}