incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1399246 - /incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java
Date Wed, 17 Oct 2012 13:38:21 GMT
Author: rmatthews
Date: Wed Oct 17 13:38:21 2012
New Revision: 1399246

URL: http://svn.apache.org/viewvc?rev=1399246&view=rev
Log:
ISIS-162 - Improved debug information being made available.

Modified:
    incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java

Modified: incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java?rev=1399246&r1=1399245&r2=1399246&view=diff
==============================================================================
--- incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java
(original)
+++ incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/debug/DebugAction.java
Wed Oct 17 13:38:21 2012
@@ -82,7 +82,7 @@ public class DebugAction implements Acti
         } else {
 
             // TODO remove - replaced by Debug tag
-            final DebugWriter view = new DebugWriter(context.getWriter(), true);
+            final DebugHtmlWriter view = new DebugHtmlWriter(context.getWriter(), true);
             view.appendln("<div class=\"links\">");
             view.appendln("<a href=\"debug.app?action=system\">System</a>");
             view.appendln(" | <a href=\"debug.app?action=specifications\">List specifications</a>");
@@ -110,7 +110,7 @@ public class DebugAction implements Acti
         }
     }
 
-    private void object(final RequestContext context, final DebugWriter view) {
+    private void object(final RequestContext context, final DebugHtmlWriter view) {
         final ObjectAdapter object = context.getMappedObjectOrResult(context.getParameter("object"));
         final DebugString str = new DebugString();
         Dump.adapter(object, str);
@@ -119,7 +119,7 @@ public class DebugAction implements Acti
         view.appendln("<pre class=\"debug\">" + str + "</pre>");
     }
 
-    private void system(final RequestContext context, final DebugWriter view) {
+    private void system(final RequestContext context, final DebugHtmlWriter view) {
         final DebuggableWithTitle[] debug = IsisContext.debugSystem();
         view.appendTitle("System");
         for (final DebuggableWithTitle element2 : debug) {
@@ -130,7 +130,7 @@ public class DebugAction implements Acti
         }
     }
 
-    private void i18n(final RequestContext context, final DebugWriter view) {
+    private void i18n(final RequestContext context, final DebugHtmlWriter view) {
         final Collection<ObjectSpecification> allSpecifications = getSpecificationLoader().allSpecifications();
         final List<ObjectSpecification> specs = Lists.newArrayList(allSpecifications);
         Collections.sort(specs, new Comparator<ObjectSpecification>() {
@@ -162,7 +162,7 @@ public class DebugAction implements Acti
         }
     }
 
-    private void authorization(final RequestContext context, final DebugWriter view) {
+    private void authorization(final RequestContext context, final DebugHtmlWriter view)
{
         final Collection<ObjectSpecification> allSpecifications = getSpecificationLoader().allSpecifications();
         final List<ObjectSpecification> specs = Lists.newArrayList(allSpecifications);
         Collections.sort(specs, new Comparator<ObjectSpecification>() {
@@ -199,7 +199,7 @@ public class DebugAction implements Acti
         }
     }
 
-    private void listSpecifications(final DebugWriter view) {
+    private void listSpecifications(final DebugHtmlWriter view) {
         final List<ObjectSpecification> fullIdentifierList = new ArrayList<ObjectSpecification>(getSpecificationLoader().allSpecifications());
         Collections.sort(fullIdentifierList, ObjectSpecification.COMPARATOR_SHORT_IDENTIFIER_IGNORE_CASE);
         view.appendTitle("Specifications");



Mime
View raw message