From 067697f5ffb9464aa4ec5d8d334434bc0f6f285a Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 28 Jun 2013 21:54:55 +0000 Subject: use getShell member function for shell access git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@461 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java index 960d1d5e..f9dd9c5e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java @@ -144,7 +144,7 @@ public class ConfigurationComposite extends StateComposite { } }); this.btnSpeichern.setText(Messages.getString("common.Save")); //$NON-NLS-1$ - this.getShell().setDefaultButton(this.btnSpeichern); + getShell().setDefaultButton(this.btnSpeichern); FontData[] fD_btnSpeichern = this.btnSpeichern.getFont().getFontData(); fD_btnSpeichern[0].setHeight(Constants.TEXT_SIZE_BUTTON); @@ -464,12 +464,12 @@ public class ConfigurationComposite extends StateComposite { public void doLayout() { Control ctrl = this.compositeStack.topControl; this.containerComposite.layout(true, true); - this.getShell().layout(true, true); + getShell().layout(true, true); // Note: SWT only layouts children! No grandchildren! if (ctrl instanceof StateComposite) { ((StateComposite) ctrl).doLayout(); } - this.setFocus(); + setFocus(); } /* (non-Javadoc) -- cgit v1.2.3