Adapt to revised LayoutUtils
diff --git a/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/AutoNaturePreferencePage.java b/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/AutoNaturePreferencePage.java index 704a115..b7e6623 100644 --- a/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/AutoNaturePreferencePage.java +++ b/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/AutoNaturePreferencePage.java
@@ -40,7 +40,7 @@ import org.eclipse.ui.IWorkbenchPreferencePage; import org.eclipse.ui.statushandlers.StatusManager; -import org.eclipse.statet.ecommons.ui.util.LayoutUtil; +import org.eclipse.statet.ecommons.ui.util.LayoutUtils; import org.eclipse.statet.ecommons.ui.viewers.ViewerUtils.CheckboxTableComposite; @@ -65,14 +65,14 @@ @Override protected Control createContents(final Composite parent) { final Composite composite= new Composite(parent, SWT.NONE); - composite.setLayout(LayoutUtil.createCompositeGrid(1)); + composite.setLayout(LayoutUtils.newCompositeGrid(1)); { this.enableButton= new Button(composite, SWT.CHECK); this.enableButton.setText("Enable automatic project &configuration."); this.enableButton.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); } - LayoutUtil.addSmallFiller(composite, false); + LayoutUtils.addSmallFiller(composite, false); { final Label label= new Label(composite, SWT.NONE); label.setText("Enable project configuration for:");
diff --git a/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/wizards/ConfigureProjectWizardPage.java b/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/wizards/ConfigureProjectWizardPage.java index 5868743..2c3414f 100644 --- a/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/wizards/ConfigureProjectWizardPage.java +++ b/autonature/org.eclipse.statet.eutils.autonature/src/org/eclipse/statet/internal/eutils/autonature/wizards/ConfigureProjectWizardPage.java
@@ -38,7 +38,7 @@ import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; -import org.eclipse.statet.ecommons.ui.util.LayoutUtil; +import org.eclipse.statet.ecommons.ui.util.LayoutUtils; import org.eclipse.statet.ecommons.ui.viewers.ViewerUtils; import org.eclipse.statet.ecommons.ui.viewers.ViewerUtils.CheckboxColumnControl; import org.eclipse.statet.ecommons.ui.viewers.ViewerUtils.TableComposite; @@ -78,7 +78,7 @@ final Composite composite = new Composite(parent, SWT.NONE); composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - composite.setLayout(LayoutUtil.createContentGrid(2)); + composite.setLayout(LayoutUtils.newContentGrid(2)); { final TableComposite tableComposite= new TableComposite(composite, SWT.BORDER | SWT.FULL_SELECTION | SWT.V_SCROLL ); @@ -122,7 +122,7 @@ button.setText("&Deselect All"); final GridData gd= new GridData(SWT.FILL, SWT.TOP, false, false); - gd.widthHint= LayoutUtil.hintWidth(button); + gd.widthHint= LayoutUtils.hintWidth(button); button.setLayoutData(gd); button.addSelectionListener(new SelectionAdapter() {