summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper
diff options
context:
space:
mode:
authorSimon Rettberg2015-07-28 14:42:13 +0200
committerSimon Rettberg2015-07-28 14:42:13 +0200
commit95b388cfb49e92e5395f3158a9f25bb4c575dfe5 (patch)
treed14bb5e072285170710223ffd13240b7f280494f /dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper
parent[client] Swing (diff)
downloadtutor-module-95b388cfb49e92e5395f3158a9f25bb4c575dfe5.tar.gz
tutor-module-95b388cfb49e92e5395f3158a9f25bb4c575dfe5.tar.xz
tutor-module-95b388cfb49e92e5395f3158a9f25bb4c575dfe5.zip
[client] bwKrischan
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/SwtUtil.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/SwtUtil.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/SwtUtil.java
index 495b94a3..6cb413cd 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/SwtUtil.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/SwtUtil.java
@@ -1,6 +1,5 @@
package org.openslx.dozmod.gui.helper;
-import org.eclipse.swt.layout.GridData;
public class SwtUtil {
@@ -20,32 +19,4 @@ public class SwtUtil {
return input.replace("&", "&&");
}
- /**
- * Helper for creating a GridData instance with horizontal span in one call.
- *
- * @param horizontalAlignment how control will be positioned horizontally
- * within a cell,
- * one of: SWT.BEGINNING (or SWT.LEFT), SWT.CENTER, SWT.END (or
- * SWT.RIGHT), or SWT.FILL
- * @param verticalAlignment how control will be positioned vertically within
- * a cell,
- * one of: SWT.BEGINNING (or SWT.TOP), SWT.CENTER, SWT.END (or
- * SWT.BOTTOM), or SWT.FILL
- * @param grabExcessHorizontalSpace whether cell will be made wide enough to
- * fit the remaining horizontal space
- * @param grabExcessVerticalSpace whether cell will be made high enough to
- * fit the remaining vertical space
- * @param horizontalSpan specifies the number of column cells that the
- * control
- * will take up.
- * @return {@link GridData} instance
- */
- public static GridData gridData(int horizontalAlignment, int verticalAlignment,
- boolean grabExcessHorizontalSpace, boolean grabExcessVerticalSpace, int horizontalSpan) {
- GridData gd = new GridData(horizontalAlignment, verticalAlignment, grabExcessHorizontalSpace,
- grabExcessVerticalSpace);
- gd.horizontalSpan = horizontalSpan;
- return gd;
- }
-
}