]> granicus.if.org Git - docbook-dsssl/commitdiff
changed style of file loading
authorMarta Vaclavikova <marta_v@users.sourceforge.net>
Sun, 9 Dec 2007 23:25:26 +0000 (23:25 +0000)
committerMarta Vaclavikova <marta_v@users.sourceforge.net>
Sun, 9 Dec 2007 23:25:26 +0000 (23:25 +0000)
contrib/tools/fo-editor/src/cz/zcu/fav/kiv/editor/config/ParameterParser.java
contrib/tools/fo-editor/src/cz/zcu/fav/kiv/editor/config/PropertyParser.java

index 98a27b54d6f01b9745f8f5e4f09aba03b678cb99..8eebaa65d2222b1091a424912de28b4b542225f7 100644 (file)
@@ -89,8 +89,6 @@ public class ParameterParser {
         Iterator<Map.Entry<String, Parameter>> iter = parameterList.entrySet().iterator();\r
         while (iter.hasNext()) {\r
             Map.Entry<String, Parameter> param = iter.next();\r
-            //inform about file loading\r
-            ProgressControl.addStatMessage(ResourceController.getMessage("frame.intro.progress.read_file", OptionItems.XML_DEFINITION_PATH + File.separator + param.getValue().getName()+".xml"));                   \r
             parseParameter(param.getValue());\r
         }   \r
     }\r
@@ -115,6 +113,7 @@ public class ParameterParser {
                 else\r
                     unparsedParameterList.put(element.getName(), element);\r
             }\r
+            ProgressControl.addStatMessage(ResourceController.getMessage("frame.intro.progress.read_file", OptionItems.XML_DEFINITION_PATH + File.separator + element.getName()+".xml"));                   \r
         } catch (IOException ex) {\r
             MessageWriter.writeWarning(ResourceController.getMessage(\r
                     "parser.xml_definition_file.missing_file", element.getName(),\r
index a84f97665c5a8a88e69e1200228573d849e87787..97b1a72c537b30da5be6feb316faba223392db4b 100644 (file)
@@ -69,7 +69,6 @@ public class PropertyParser {
         Iterator<Map.Entry<String, Property>> iter = propertyList.entrySet().iterator();\r
         while (iter.hasNext()) {\r
             Map.Entry<String, Property> prop = iter.next();\r
-            ProgressControl.addStatMessage(ResourceController.getMessage("frame.intro.progress.read_file", OptionItems.XML_DEFINITION_PATH + File.separator + prop.getValue().getName()+".xml"));\r
             parseProperty(prop.getValue());\r
         }   \r
     }\r
@@ -92,6 +91,7 @@ public class PropertyParser {
             //unparsed attributes\r
             if (handler.getUnparsedAttributeList().size() > 0)\r
                 unparsedAttributeList.putAll(handler.getUnparsedAttributeList());\r
+            ProgressControl.addStatMessage(ResourceController.getMessage("frame.intro.progress.read_file", OptionItems.XML_DEFINITION_PATH + File.separator + element.getName()+".xml"));\r
         } catch (IOException ex) {\r
             MessageWriter.writeWarning(ResourceController.getMessage(\r
                     "parser.xml_definition_file.missing_file", element.getName(),\r