Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2006 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 Contributors: IBM Corporation - initial API and implementation /
import  org.eclipse.swt.widgets.Display;
import  org.eclipse.swt.widgets.Shell;
Called from Welcome page only.
public class NewCVSRepositoryAction extends Action {
	public void run() {
		Shell shell;
		if (window != null) {
			shell = window.getShell();
else {
			Display display = Display.getCurrent();
			shell = new Shell(display);
		WizardDialog dialog = new WizardDialog(shellwizard);;
New to GrepCode? Check out our FAQ X