diff options
author | Jonathan Bauer | 2015-09-08 17:30:15 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-09-08 17:30:15 +0200 |
commit | f7740d220a524de76969b78244656786a18ead42 (patch) | |
tree | d371d641bf6c806dd78d52bf07edd0a56ddd79c6 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java | |
parent | [client] refactor PermissionDetaultToCustomLink _> DefaultCustomPerms (diff) | |
download | tutor-module-f7740d220a524de76969b78244656786a18ead42.tar.gz tutor-module-f7740d220a524de76969b78244656786a18ead42.tar.xz tutor-module-f7740d220a524de76969b78244656786a18ead42.zip |
[client] fat refactor to reflect what the current state of the classes actually do
remove 'Custom' from windows in which we can also set default perms
TODO: wizards: DefPerms and CustomPerms still split in two pages, so let the "Custom" in the pages class' names as its still the case, but the question is: should it be like this? or do we put the defaults permissions checkboxes also on the last page?
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java index 33b44733..c328e880 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java @@ -125,7 +125,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements btnLinkImage.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - ImageSummaryRead newImage = LectureChangeLinkedImage.open(me); + ImageSummaryRead newImage = LectureChangeImage.open(me); if (newImage != null) { try { image = ThriftManager.getSatClient().getImageDetails(Session.getSatelliteToken(), @@ -190,7 +190,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements public void actionPerformed(ActionEvent arg0) { LOGGER.info(permissionMap); LOGGER.info(lecture.defaultPermissions); - DefaultCustomPerms<LecturePermissions> pl = LectureCustomPermissionWindow.open(me, + DefaultCustomPerms<LecturePermissions> pl = LecturePermissionWindow.open(me, permissionMap, lecture.defaultPermissions, lecture.ownerId); if (pl != null && pl.defaultPermissions != null && pl.customPermissions != null) { lecture.defaultPermissions = pl.defaultPermissions; |