idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "AFS account Florian Huebner" <huebner AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r208 - trunk/java/ch/idok/qtgui
- Date: Mon, 8 Sep 2008 15:23:17 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner
Date: Mon Sep 8 15:23:17 2008
New Revision: 208
Log:
Changed the name of the "File type" column to: "File extension" and re-added
the extension to the file name
Modified:
trunk/java/ch/idok/qtgui/BrowseController.java
trunk/java/ch/idok/qtgui/FolderTree.java
trunk/java/ch/idok/qtgui/SearchController.java
Modified: trunk/java/ch/idok/qtgui/BrowseController.java
==============================================================================
--- trunk/java/ch/idok/qtgui/BrowseController.java (original)
+++ trunk/java/ch/idok/qtgui/BrowseController.java Mon Sep 8 15:23:17
2008
@@ -72,7 +72,7 @@
// tr-Tags?
private void setupHeader() {
header_.add("Name");
- header_.add("File type");
+ header_.add("File extension");
header_.add("Commited by");
header_.add("Size");
header_.add("Date committed");
Modified: trunk/java/ch/idok/qtgui/FolderTree.java
==============================================================================
--- trunk/java/ch/idok/qtgui/FolderTree.java (original)
+++ trunk/java/ch/idok/qtgui/FolderTree.java Mon Sep 8 15:23:17 2008
@@ -408,7 +408,8 @@
item.setText(1, "");
}else{
String type =
name.split("\\.")[name.split("\\.").length-1].toString();
- item.setText(0,name.substring(0,
(name.length()-type.length()-1)));
+// item.setText(0,name.substring(0,
(name.length()-type.length()-1)));
+ item.setText(0,name);
item.setText(1,type);
}
item.setText(2, entry.getAuthor());
Modified: trunk/java/ch/idok/qtgui/SearchController.java
==============================================================================
--- trunk/java/ch/idok/qtgui/SearchController.java (original)
+++ trunk/java/ch/idok/qtgui/SearchController.java Mon Sep 8 15:23:17
2008
@@ -116,7 +116,7 @@
private void setupHeader() {
header_.add("Name");
- header_.add("File type");
+ header_.add("File extension");
header_.add("Environment");
header_.add("Commited by");
header_.add("Size");
@@ -325,7 +325,8 @@
newItem.setText(1, "");
}else{
String type =
name.split("\\.")[name.split("\\.").length-1].toString();
- newItem.setText(0,name.substring(0,
(name.length()-type.length()-1)));
+// newItem.setText(0,name.substring(0,
(name.length()-type.length()-1)));
+ newItem.setText(0,name);
newItem.setText(1,type);
}
Map<String, String> metaData = entry.getMetadata();
- [idok-commit] idok commit r208 - trunk/java/ch/idok/qtgui, AFS account Florian Huebner, 09/08/2008
Archive powered by MHonArc 2.6.19.