summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java
diff options
context:
space:
mode:
authorJonathan Bauer2016-09-05 18:51:18 +0200
committerJonathan Bauer2016-09-05 18:51:18 +0200
commit14f2a7a0d03157a5d875508b9c62afc46c9384e1 (patch)
tree7dd61f4ca21d293fb3962ef947eefcfe34631004 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java
parent[client] remove unneeded wrapped class for netrules/runscript + fix some save... (diff)
downloadtutor-module-14f2a7a0d03157a5d875508b9c62afc46c9384e1.tar.gz
tutor-module-14f2a7a0d03157a5d875508b9c62afc46c9384e1.tar.xz
tutor-module-14f2a7a0d03157a5d875508b9c62afc46c9384e1.zip
[client] make image details editable only when working with local images
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java
index e715d075..f4fe01e7 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/NetrulesConfigurator.java
@@ -37,7 +37,7 @@ public class NetrulesConfigurator extends NetrulesConfiguratorLayout {
private static final long serialVersionUID = -3497629601818983994L;
private final static Logger LOGGER = Logger
.getLogger(NetrulesConfigurator.class);
- private List<NetRule> originalNetRules = null;
+
private String originalRawRuleText = null;
/**
* Character defining how the rules are parsed, e.g. for whitespace \\s
@@ -339,20 +339,6 @@ public class NetrulesConfigurator extends NetrulesConfiguratorLayout {
tpNetworkRules.setCharacterAttributes(set, true);
}
-// /**
-// * Wrapper class for the advanced configuration information needed since we
-// * need to return a single object from the runAndReturn routine. This class
-// * has two members: the list of NetRule(s) (as List<NetRule>) and the
-// * runScriptText (as String)
-// */
-// public static class NetrulesConfiguration {
-// public List<NetRule> netRulesList;
-//
-// public NetrulesConfiguration(List<NetRule> netRulesList) {
-// this.netRulesList = netRulesList;
-// }
-// }
-
/**
* Custom event mechanism to detect changes to the user list (Mostly needed
* for the reactToChange() stuff in LectureDetailsWindow)