From: Matti Tahvonen Date: Thu, 18 Dec 2008 10:05:15 +0000 (+0000) Subject: enhancing messages. X-Git-Tag: 6.7.0.beta1~3517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e17126b8dd1bf09bc0b0e3728a9f2cf8c5ac949;p=vaadin-framework.git enhancing messages. svn changeset:6263/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java index cf9d71954f..9dbc96df6d 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java @@ -52,7 +52,7 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { private Button clear = new Button("Clear console"); private Button restart = new Button("Restart app"); private Button forceLayout = new Button("Force layout"); - private Button analyzeLayout = new Button("Analyze layout"); + private Button analyzeLayout = new Button("Analyze layouts"); private HorizontalPanel actions; private boolean collapsed = false; @@ -161,8 +161,10 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { } }); analyzeLayout - .setTitle("Repaints everything with analyze flag, giving information " - + "about most likely invalid layouts."); + .setTitle("Analyzes currently rendered view and " + + "reports possible common problems in usage of relative sizes." + + "Will cause server visit/rendering of whole screen + lose of" + + " all non committed variables form client side."); } @@ -349,7 +351,7 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { public void printLayoutProblems(JSONArray array, ApplicationConnection ac) { log("************************"); int size = array.size(); - log("Layout analyzed, total top level errors: " + size); + log("Layouts analyzed, total top level errors: " + size); if (size > 0) { Tree tree = new Tree(); TreeItem root = new TreeItem("Root errors"); @@ -394,7 +396,7 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { errorNode.setWidget(errorDetails); if (error.containsKey("subErrors")) { HTML l = new HTML( - "Expand this tree node to show errors that may be dependent about this error"); + "Expand this node to show errors that may be dependent on this error."); errorDetails.add(l); JSONArray array = error.get("subErrors").isArray(); for (int i = 0; i < array.size(); i++) {