summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-06-28 21:54:55 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-06-28 21:54:55 +0000
commit067697f5ffb9464aa4ec5d8d334434bc0f6f285a (patch)
treed9b75c43df72813a159483c0ef3272c8857e5419 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites
parentdea5316fdc2951ff4778379c6a358ad3dd6e8990 (diff)
downloadpdf-over-067697f5ffb9464aa4ec5d8d334434bc0f6f285a.tar.gz
pdf-over-067697f5ffb9464aa4ec5d8d334434bc0f6f285a.tar.bz2
pdf-over-067697f5ffb9464aa4ec5d8d334434bc0f6f285a.zip
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
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java6
1 files changed, 3 insertions, 3 deletions
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)