From 7d81da615f089f06ba81c2cc2b67bc3ff4def957 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 29 Jan 2016 11:03:52 +0100 Subject: [client] Sanitize coding style/conventions in GUI classes --- .../dozmod/gui/window/LocationSelectionWindow.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LocationSelectionWindow.java') 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 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 tempIntList = locationSelector.getSelectedLocationsAsIds(); + List 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 tempIntList = locationSelector.getSelectedLocationsAsIds(); + List 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()); } /** -- cgit v1.2.3-55-g7522