Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2006, 2008 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.pde.internal.ua.ui.wizards.cheatsheet;
NewRegisterCSWizard
public class RegisterCSWizard extends Wizard implements INewWizard {
	private IModel fModel;

	public RegisterCSWizard(IModel model) {
		 = model;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.wizard.Wizard#addPages()
	 */
	public void addPages() {
		if ( instanceof ICompCSModel) {
else if ( instanceof ISimpleCSModel) {
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
	 */
	public boolean performFinish() {
		try {
			getContainer().run(falsetruegetOperation());
catch (InvocationTargetException e) {
			PDEUserAssistanceUIPlugin.logException(e);
			return false;
catch (InterruptedException e) {
			return false;
		}
		return true;
	}

Returns:
	}
	/* (non-Javadoc)
	 * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
	 */
	public void init(IWorkbench workbenchIStructuredSelection selection) {
		// TODO: MP: LOW: CompCS: New register cheat sheet wizard image
	}
New to GrepCode? Check out our FAQ X