summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-03-23 15:24:58 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-03-23 15:24:58 +0100
commit1a2712dcf0f6e720d10db5d2ccb4fc79abb0b644 (patch)
treeda95008e2bec54ff10fb4ba108065c61ec1982ca /pdf-over-gui/src/main/java
parentc35e9d0864f95701d554c882bad4e8d808d0db27 (diff)
downloadpdf-over-1a2712dcf0f6e720d10db5d2ccb4fc79abb0b644.tar.gz
pdf-over-1a2712dcf0f6e720d10db5d2ccb4fc79abb0b644.tar.bz2
pdf-over-1a2712dcf0f6e720d10db5d2ccb4fc79abb0b644.zip
more refactors
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AboutComposite.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AboutComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AboutComposite.java
index 0753e5e5..d32d77d0 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AboutComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AboutComposite.java
@@ -18,6 +18,7 @@ import org.slf4j.LoggerFactory;
import at.asit.pdfover.commons.Constants;
import at.asit.pdfover.commons.Messages;
+import at.asit.pdfover.gui.composites.StateComposite;
import at.asit.pdfover.gui.workflow.config.ConfigManipulator;
import at.asit.pdfover.gui.workflow.config.PersistentConfigProvider;
@@ -36,8 +37,8 @@ public class AboutComposite extends ConfigurationCompositeBase {
setLayout(new FormLayout());
this.lnkAbout = new Link(this, SWT.NONE);
- ConfigurationCompositeBase.anchor(lnkAbout).right(100,-5).left(0,5).top(0,5).width(100).set();
- ConfigurationCompositeBase.setFontHeight(lnkAbout, Constants.TEXT_SIZE_NORMAL);
+ StateComposite.anchor(lnkAbout).right(100,-5).left(0,5).top(0,5).width(100).set();
+ StateComposite.setFontHeight(lnkAbout, Constants.TEXT_SIZE_NORMAL);
this.lnkAbout.addSelectionListener(new SelectionAdapter() {
@Override
@@ -60,13 +61,13 @@ public class AboutComposite extends ConfigurationCompositeBase {
});
this.lblDataProtection = new Label(this, SWT.NONE);
- ConfigurationCompositeBase.anchor(lblDataProtection).top(lnkAbout, 15).right(100,-5).left(0,5).width(100).set();
- ConfigurationCompositeBase.setFontHeight(lblDataProtection, Constants.TEXT_SIZE_BIG);
- ConfigurationCompositeBase.setFontStyle(lblDataProtection, SWT.BOLD);
+ StateComposite.anchor(lblDataProtection).top(lnkAbout, 15).right(100,-5).left(0,5).width(100).set();
+ StateComposite.setFontHeight(lblDataProtection, Constants.TEXT_SIZE_BIG);
+ StateComposite.setFontStyle(lblDataProtection, SWT.BOLD);
this.lnkDataProtection = new Link(this, SWT.NONE);
- ConfigurationCompositeBase.anchor(lnkDataProtection).right(100,-5).left(0,5).top(lblDataProtection,10).bottom(100,-5).width(100).height(120).set();
- ConfigurationCompositeBase.setFontHeight(lnkDataProtection, Constants.TEXT_SIZE_NORMAL);
+ StateComposite.anchor(lnkDataProtection).right(100,-5).left(0,5).top(lblDataProtection,10).bottom(100,-5).width(100).height(120).set();
+ StateComposite.setFontHeight(lnkDataProtection, Constants.TEXT_SIZE_NORMAL);
this.lnkDataProtection.addSelectionListener(new SelectionAdapter() {
@Override