summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/gui/intro
diff options
context:
space:
mode:
authorMichael Wilson2014-11-18 14:35:41 +0100
committerMichael Wilson2014-11-18 14:35:41 +0100
commit626a66929d5fcb78c99e6fbe281600205efd2152 (patch)
tree98dc30d1afc51d74dd6d7420201f4672945c9f3b /dozentenmodul/src/main/java/gui/intro
parent• Beim Bearbeiten eines Image oder einer Veranstaltung wurde bisher der aktue... (diff)
downloadtutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.tar.gz
tutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.tar.xz
tutor-module-626a66929d5fcb78c99e6fbe281600205efd2152.zip
• Ausgaben an sinnvollen gekürzt bzw. erweitert
Diffstat (limited to 'dozentenmodul/src/main/java/gui/intro')
-rw-r--r--dozentenmodul/src/main/java/gui/intro/ListAllOtherUsers_GUI.java13
-rw-r--r--dozentenmodul/src/main/java/gui/intro/Login_GUI.java8
-rw-r--r--dozentenmodul/src/main/java/gui/intro/MainMenue_GUI.java7
-rw-r--r--dozentenmodul/src/main/java/gui/intro/VmWareLink_GUI.java12
4 files changed, 12 insertions, 28 deletions
diff --git a/dozentenmodul/src/main/java/gui/intro/ListAllOtherUsers_GUI.java b/dozentenmodul/src/main/java/gui/intro/ListAllOtherUsers_GUI.java
index 6d7c5ef3..4c24e035 100644
--- a/dozentenmodul/src/main/java/gui/intro/ListAllOtherUsers_GUI.java
+++ b/dozentenmodul/src/main/java/gui/intro/ListAllOtherUsers_GUI.java
@@ -276,11 +276,6 @@ public class ListAllOtherUsers_GUI extends JFrame {
model.addRow(obj);
}
- System.out.println("Info in row("
- + pos
- + ") is="
- + tableUsers.getValueAt(selectedRows[pos],
- 0));
pos++;// next selected row
}
}// end if
@@ -368,21 +363,17 @@ public class ListAllOtherUsers_GUI extends JFrame {
// get users from db which are not in listed in the permission yet
public void initTableContent() {
- LOGGER.info("Getting list of all other users from server");
+ //LOGGER.info("Getting list of all other users from server");
try {
//set users which are NOT to be listed in table
//logged on user
- System.out.println("adding value'"+ person.verantwortlicher.getUserID());
user.add(0, person.verantwortlicher.getUserID());
//users already in table
for(int y=0; y<table.getRowCount(); y++){
- System.out.println("adding value'"+table.getValueAt(y, userIDPos)+"'");
user.add(""+table.getValueAt(y, userIDPos));
- }
- System.out.println("user has '"+user.size()+"' elements.");
-
+ }
//get the info
map = client.getAllOtherSatelliteUsers(user);
diff --git a/dozentenmodul/src/main/java/gui/intro/Login_GUI.java b/dozentenmodul/src/main/java/gui/intro/Login_GUI.java
index 879ae879..e2105074 100644
--- a/dozentenmodul/src/main/java/gui/intro/Login_GUI.java
+++ b/dozentenmodul/src/main/java/gui/intro/Login_GUI.java
@@ -373,8 +373,8 @@ public class Login_GUI extends JFrame {
models.Client.clientcon.setClient(bwClient);
// User-Info
- LOGGER.debug("Session-ID: " + result.sessionId);
- LOGGER.debug("Token: " + result.authToken);
+ //LOGGER.debug("Session-ID: " + result.sessionId);
+ //LOGGER.debug("Token: " + result.authToken);
setStatus(Color.green, "Daten erhalten.", null);
String hochschule = user.eMail.substring(user.eMail.indexOf("@") + 1);
@@ -476,9 +476,9 @@ public class Login_GUI extends JFrame {
server.generated.Server.Client client_2 = models.Client.clientcon.getClient();
try {
String pk_institution = client_2.setInstitution(person.verantwortlicher.getHochschule());
- LOGGER.info("Institution of user is: "+pk_institution);
+ //LOGGER.info("Institution of user is: "+pk_institution);
client_2.setPerson(person.verantwortlicher.getUserID(), person.verantwortlicher.getName(), person.verantwortlicher.getVorname(), person.verantwortlicher.getEMail(), pk_institution);
- LOGGER.info("user data, ID="+person.verantwortlicher.getUserID()+" , Name="+person.verantwortlicher.getName()+" , Vorname="+ person.verantwortlicher.getVorname()+" , E-Mail="+ person.verantwortlicher.getEMail()+" , Institution="+ pk_institution);
+ //LOGGER.info("user data, ID="+person.verantwortlicher.getUserID()+" , Name="+person.verantwortlicher.getName()+" , Vorname="+ person.verantwortlicher.getVorname()+" , E-Mail="+ person.verantwortlicher.getEMail()+" , Institution="+ pk_institution);
} catch (TException e) {
// TODO Auto-generated catch block
e.printStackTrace();
diff --git a/dozentenmodul/src/main/java/gui/intro/MainMenue_GUI.java b/dozentenmodul/src/main/java/gui/intro/MainMenue_GUI.java
index fa98d193..724eac5c 100644
--- a/dozentenmodul/src/main/java/gui/intro/MainMenue_GUI.java
+++ b/dozentenmodul/src/main/java/gui/intro/MainMenue_GUI.java
@@ -602,13 +602,6 @@ public class MainMenue_GUI extends JFrame {
GUIRights.rights.setLinkAllowed(0);
}// end if else
- // always print rights information
- //LOGGER.info("Rights: (r, w, cp, a, la) = ("
- // + GUIRights.rights.getRead() + ", "
- // + GUIRights.rights.getWrite() + ", "
- // + GUIRights.rights.getChangePermission() + ", "
- // + GUIRights.rights.getAdmin() + ", "
- // + GUIRights.rights.getLinkAllowed() + ")");
}// end setRoleRights
public void setCorrectRadioButton() {
diff --git a/dozentenmodul/src/main/java/gui/intro/VmWareLink_GUI.java b/dozentenmodul/src/main/java/gui/intro/VmWareLink_GUI.java
index 2d50fd8b..fe3c1c9c 100644
--- a/dozentenmodul/src/main/java/gui/intro/VmWareLink_GUI.java
+++ b/dozentenmodul/src/main/java/gui/intro/VmWareLink_GUI.java
@@ -60,7 +60,7 @@ public class VmWareLink_GUI extends JFrame {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException | InstantiationException
| IllegalAccessException | UnsupportedLookAndFeelException e) {
- // TODO Auto-generated catch block
+
e.printStackTrace();
}
setTitle("bwLehrpool Suite");
@@ -131,7 +131,7 @@ public class VmWareLink_GUI extends JFrame {
open.openWebpage(windows);
} catch (URISyntaxException e) {
- // TODO Auto-generated catch block
+
e.printStackTrace();
}
@@ -151,7 +151,7 @@ public class VmWareLink_GUI extends JFrame {
open.openWebpage(linux);
} catch (URISyntaxException f) {
- // TODO Auto-generated catch block
+
f.printStackTrace();
}
}
@@ -170,7 +170,7 @@ public class VmWareLink_GUI extends JFrame {
anleitung = new URI(Links.getAnleitungVMDK());
open.openWebpage(anleitung);
} catch (URISyntaxException e1) {
- // TODO Auto-generated catch block
+
e1.printStackTrace();
}
}
@@ -229,7 +229,7 @@ public class VmWareLink_GUI extends JFrame {
open.openWebpage(windows);
} catch (URISyntaxException e) {
- // TODO Auto-generated catch block
+
e.printStackTrace();
}
@@ -253,7 +253,7 @@ public class VmWareLink_GUI extends JFrame {
open.openWebpage(windows);
} catch (URISyntaxException e) {
- // TODO Auto-generated catch block
+
e.printStackTrace();
}