Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 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.help.ui.internal.views;
import  org.eclipse.swt.SWT;
import  org.eclipse.swt.graphics.Font;
import  org.eclipse.swt.graphics.Image;
import  org.eclipse.swt.layout.*;
import  org.eclipse.swt.widgets.*;
public class EngineTypeWizardPage extends WizardPage {
		public Object[] getElements(Object inputElement) {
			return ;
		}
		public void dispose() {
		}
		public void inputChanged(Viewer viewerObject oldInputObject newInput) {
		}
	}
	class EngineLabelProvider extends LabelProvider implements ITableLabelProvider {
		public String getText(Object obj) {
			return desc.getLabel();
		}
		public Image getImage(Object obj) {
			return desc.getIconImage();
		}
		public Image getColumnImage(Object elementint columnIndex) {
			return getImage(element);
		}
		public String getColumnText(Object elementint columnIndex) {
			return getText(element);
		}
	}
	public EngineTypeWizardPage(EngineTypeDescriptor[] engineTypes) {
		super("engineType"); //$NON-NLS-1$
		this. = engineTypes;
	}
	public void createControl(Composite parent) {
		Font font = parent.getFont();
		PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,
	     "org.eclipse.help.ui.searchScope"); //$NON-NLS-1$
		Composite container = new Composite(parent, SWT.NULL);
		GridLayout layout = new GridLayout();
		container.setLayout(layout);
		Label label = new Label(container, SWT.NULL);
		label.setFont(font);
		 = new TableViewer(container);
			public void selectionChanged(SelectionChangedEvent event) {
			}
		});
		.getTable().setLayoutData(new GridData(GridData.FILL_BOTH));
		.getTable().setFont(font);
		setControl(container);
	}
		return ;
	}
New to GrepCode? Check out our FAQ X