diff jface/Librarian.d @ 73:9ff9b8f7284b

FileTreeViewer now work on windows without error dialog.
author Frank Benoit <benoit@tionex.de>
date Sun, 13 Apr 2008 20:55:55 +0200
parents fc7a8f537871
children 42c3056512ba
line wrap: on
line diff
--- a/jface/Librarian.d	Sun Apr 13 17:19:38 2008 +0200
+++ b/jface/Librarian.d	Sun Apr 13 20:55:55 2008 +0200
@@ -57,12 +57,6 @@
 
 version(JIVE) import jive.stacktrace;
 
-/++
-    Known Problem:
-        Blocks in Save Method
-        Not prepared for windows.
-++/
-
 /**
  * The application entry point
  *
@@ -361,8 +355,8 @@
         }
     }
     /**
-    * Creates a new file
-    */
+     * Creates a new file
+     */
     public void newFile() {
         if (checkOverwrite()) {
         library = new Library();
@@ -371,8 +365,8 @@
     }
 
     /**
-    * Saves the current file
-    */
+     * Saves the current file
+     */
     public void saveFile() {
         String fileName = library.getFileName();
         if (fileName is null) {
@@ -385,10 +379,10 @@
     }
 
     /**
-    * Saves the current file using the specified file name
-    *
-    * @param fileName the file name
-    */
+     * Saves the current file using the specified file name
+     *
+     * @param fileName the file name
+     */
     public void saveFileAs(String fileName) {
         // Disable the actions, so user can't change file while it's saving
         enableActions(false);
@@ -433,7 +427,7 @@
 
         // Repack the columns
         for (int i = 0, n = viewer.getTable().getColumnCount(); i < n; i++) {
-        viewer.getTable().getColumn(i).pack();
+            viewer.getTable().getColumn(i).pack();
         }
 
         getStatusLineManager().setMessage(