$search
00001 package org.best_of_robotics.bride.ui.preference; 00002 00003 import org.eclipse.jface.preference.PreferencePage; 00004 import org.eclipse.swt.SWT; 00005 import org.eclipse.swt.layout.GridData; 00006 import org.eclipse.swt.layout.GridLayout; 00007 import org.eclipse.swt.widgets.Composite; 00008 import org.eclipse.swt.widgets.Control; 00009 import org.eclipse.ui.IWorkbench; 00010 import org.eclipse.ui.IWorkbenchPreferencePage; 00011 00012 public class WorkbenchPreferencePage extends PreferencePage implements 00013 IWorkbenchPreferencePage { 00014 00015 public WorkbenchPreferencePage() { 00016 setDescription("See the subpages for specific preferences."); 00017 } 00018 00019 @Override 00020 public void init(IWorkbench workbench) { 00021 00022 } 00023 00024 @Override 00025 protected Control createContents(Composite parent) { 00026 parent.setLayout(new GridLayout()); 00027 Composite child = new Composite(parent, SWT.NONE); 00028 child.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true)); 00029 return parent; 00030 } 00031 00032 }