diff options
author | Simon Rettberg | 2016-01-29 11:03:52 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-29 11:03:52 +0100 |
commit | 7d81da615f089f06ba81c2cc2b67bc3ff4def957 (patch) | |
tree | 2d8cad390cbe7937b51a6f1b4693f8a5e6ed0d25 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java | |
parent | [client] Minor tweaks to image details window (diff) | |
download | tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.gz tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.xz tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.zip |
[client] Sanitize coding style/conventions in GUI classes
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java index bbdac096..b90aee06 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java @@ -37,8 +37,8 @@ public class LocationSelectionWindow extends LocationSelectionWindowLayout imple public LocationSelectionWindow(Window modalParent, List<Integer> locations, boolean limitToLocations) { super(modalParent, locations, limitToLocations); - locationSelector.setSelectedLocationsAsIds(locations); - locationSelector.setOnlyInSelection(limitToLocations); + ctlLocationSelector.setSelectedLocationsAsIds(locations); + ctlLocationSelector.setOnlyInSelection(limitToLocations); // listeners for the buttons btnClose.addActionListener(new ActionListener() { @@ -52,11 +52,11 @@ public class LocationSelectionWindow extends LocationSelectionWindowLayout imple btnSaveChanges.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - List<Integer> tempIntList = locationSelector.getSelectedLocationsAsIds(); + List<Integer> tempIntList = ctlLocationSelector.getSelectedLocationsAsIds(); if (tempIntList != null && tempIntList.size() > Session.getSatelliteConfig().maxLocationsPerLecture) { - locationSelector.setSelectedLocationsAsIds(tempIntList); - locationSelector.collapseFullySelectedNodes(); + ctlLocationSelector.setSelectedLocationsAsIds(tempIntList); + ctlLocationSelector.collapseFullySelectedNodes(); Gui.showMessageBox("Bitten reduzieren Sie die Anzahl gewählter Orte", MessageType.WARNING, null, null); return; @@ -67,10 +67,10 @@ public class LocationSelectionWindow extends LocationSelectionWindowLayout imple }); // addCheckChangeEventListener - locationSelector.getTree().addCheckChangeEventListener(new CheckChangeEventListener() { + ctlLocationSelector.getTree().addCheckChangeEventListener(new CheckChangeEventListener() { @Override public void checkStateChanged(CheckChangeEvent event) { - List<Integer> tempIntList = locationSelector.getSelectedLocationsAsIds(); + List<Integer> tempIntList = ctlLocationSelector.getSelectedLocationsAsIds(); if (tempIntList != null) { if (tempIntList.size() > Session.getSatelliteConfig().maxLocationsPerLecture) { // add error @@ -94,8 +94,8 @@ public class LocationSelectionWindow extends LocationSelectionWindowLayout imple setVisible(true); if (!apply) return null; - return new LocationInfo(locationSelector.getSelectedLocationsAsIds(), - locationSelector.getOnlyInSelection()); + return new LocationInfo(ctlLocationSelector.getSelectedLocationsAsIds(), + ctlLocationSelector.getOnlyInSelection()); } /** |