Changeset 19 for trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe
- Timestamp:
- 10/19/09 21:58:12 (15 years ago)
- Location:
- trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetAddDialog.java
r3 r19 52 52 @Override 53 53 protected Control createContents(Composite parent) { 54 parent.getShell().setSize(650, 350);55 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;56 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;57 parent.getShell().setLocation(x, y);58 59 54 Control contents = super.createContents(parent); 60 55 setTitle("Add a new exercise sheet"); -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetErrorDialog.java
r3 r19 36 36 @Override 37 37 protected Control createDialogArea(Composite parent) { 38 parent.getShell().setSize(270, 180);39 int x = shell.getLocation().x40 + (shell.getSize().x - parent.getShell().getSize().x) / 2;41 int y = shell.getLocation().y42 + (shell.getSize().y - parent.getShell().getSize().y) / 2;43 parent.getShell().setLocation(x, y);44 45 38 GridLayout layout = new GridLayout(SWT.CENTER, false); 46 39 layout.numColumns = 1; -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetPDFDeleteDialog.java
r3 r19 51 51 @Override 52 52 protected Control createDialogArea(Composite parent) { 53 parent.getShell().setSize(500, 170);54 int x = shell.getLocation().x55 + (shell.getSize().x - parent.getShell().getSize().x) / 2;56 int y = shell.getLocation().y57 + (shell.getSize().y - parent.getShell().getSize().y) / 2;58 parent.getShell().setLocation(x, y);59 60 53 GridLayout layout = new GridLayout(); 61 54 layout.numColumns = 2; -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/LecturerAddDialog.java
r3 r19 46 46 @Override 47 47 protected Control createDialogArea(Composite parent) { 48 parent.getShell().setSize(500, 240);49 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;50 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;51 parent.getShell().setLocation(x, y);52 53 48 GridLayout layout = new GridLayout(); 54 49 layout.numColumns = 2; -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecture/LectureAddDialog.java
r3 r19 44 44 @Override 45 45 protected Control createDialogArea(Composite parent) { 46 parent.getShell().setSize(500, 170);47 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;48 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;49 parent.getShell().setLocation(x, y);50 51 46 GridLayout layout = new GridLayout(); 52 47 layout.numColumns = 2; -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventAddDialog.java
r3 r19 63 63 @Override 64 64 protected Control createContents(Composite parent) { 65 parent.getShell().setSize(650, 500);66 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;67 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;68 parent.getShell().setLocation(x, y);69 70 65 Control contents = super.createContents(parent); 71 66 setTitle("Add a new lecture Event"); -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lectureevent/LectureEventEditDialog.java
r3 r19 78 78 @Override 79 79 protected Control createContents(Composite parent) { 80 parent.getShell().setSize(650, 500);81 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;82 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;83 parent.getShell().setLocation(x, y);84 85 80 Control contents = super.createContents(parent); 86 81 setTitle("Add a new lecture event"); -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerAddDialog.java
r3 r19 46 46 @Override 47 47 protected Control createDialogArea(Composite parent) { 48 parent.getShell().setSize(500, 240);49 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;50 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;51 parent.getShell().setLocation(x, y);52 53 48 GridLayout layout = new GridLayout(); 54 49 layout.numColumns = 2; -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/lecturer/LecturerEditDialog.java
r3 r19 37 37 @Override 38 38 protected Control createContents(Composite parent) { 39 parent.getShell().setSize(500, 240);40 int x = shell.getLocation().x + (shell.getSize().x - parent.getShell().getSize().x)/2;41 int y = shell.getLocation().y + (shell.getSize().y - parent.getShell().getSize().y)/2;42 parent.getShell().setLocation(x, y);43 44 39 Control contents = super.createContents(parent); 45 40 setTitle("Edit a lecturer");
Note: See TracChangeset
for help on using the changeset viewer.