]> source.dussan.org Git - vaadin-framework.git/commitdiff
Incomplete - task#2904 Toolkit -> Vaadin renames
authorHenri Sara <henri.sara@itmill.com>
Mon, 18 May 2009 10:38:49 +0000 (10:38 +0000)
committerHenri Sara <henri.sara@itmill.com>
Mon, 18 May 2009 10:38:49 +0000 (10:38 +0000)
svn changeset:7850/svn branch:6.0

25 files changed:
src/com/vaadin/Application.java
src/com/vaadin/demo/package.html
src/com/vaadin/demo/sampler/FeatureSet.java
src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
src/com/vaadin/terminal/gwt/client/Focusable.java
src/com/vaadin/terminal/gwt/client/ui/TreeAction.java
src/com/vaadin/terminal/gwt/client/ui/VPopupView.java
src/com/vaadin/terminal/gwt/client/ui/VToolkitOverlay.java
src/com/vaadin/terminal/gwt/client/ui/VView.java
src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
src/com/vaadin/terminal/gwt/server/ApplicationRunnerServlet.java
src/com/vaadin/tests/CustomLayoutDemo.java
src/com/vaadin/tests/LayoutDemo.java
src/com/vaadin/tests/PerformanceTestSubTreeCaching.java
src/com/vaadin/tests/QueryContainerDemo.java
src/com/vaadin/tests/RandomLayoutStress.java
src/com/vaadin/tests/TreeFilesystem.java
src/com/vaadin/tests/TreeFilesystemContainer.java
src/com/vaadin/tests/UsingObjectsInSelect.java
src/com/vaadin/tests/featurebrowser/IntroWelcome.java
src/com/vaadin/tests/layouts/DeepComponentTrees.java
src/com/vaadin/tests/tickets/Ticket1362Login.java
src/com/vaadin/ui/CustomLayout.java
src/com/vaadin/ui/LoginForm.java
src/com/vaadin/ui/Window.java

index 3cab4a20547f26e6ced443a89e75dfa770a7b9c2..da0a3739090debaf6a20fe30430a9ad121c9a750 100644 (file)
@@ -35,9 +35,9 @@ import com.vaadin.ui.Window;
 /**
  * <p>
  * Base class required for all Vaadin applications. This class provides all the
- * basic services required by the toolkit. These services allow external
- * discovery and manipulation of the user, {@link com.vaadin.ui.Window windows}
- * and themes, and starting and stopping the application.
+ * basic services required by Vaadin. These services allow external discovery
+ * and manipulation of the user, {@link com.vaadin.ui.Window windows} and
+ * themes, and starting and stopping the application.
  * </p>
  * 
  * <p>
@@ -799,7 +799,7 @@ public abstract class Application implements URIHandler,
         /**
          * Gets the previous user of the application.
          * 
-         * @return the previous Toolkit user, if user has not changed ever on
+         * @return the previous Vaadin user, if user has not changed ever on
          *         application it returns <code>null</code>
          */
         public Object getPreviousUser() {
index 0a6d902e31ff43fd80a58ff702750181481bc04f..38ccd7654ab185f749aadc51d80e5179c5f44d58 100644 (file)
@@ -6,7 +6,7 @@
 <body bgcolor="white">
 
 <p>Provides several fully functional Vaadin example applications. These
-highlight certain aspects of the toolkit and how it can be
+highlight certain aspects of the Vaadin and how it can be
 used to produce simple, elegant yet powerful user interface driven
 applications.</p>
 
index 80a8e8320684c82554a3f062ec9e8d6aa58e05a7..7e60b9a6416e85904c5e57cea8c787d9f2fb9dae 100644 (file)
@@ -399,7 +399,7 @@ public class FeatureSet extends Feature {
             super(
                     "Dates",
                     "Dates",
-                    "The DateField component can be used to produce various date and time input fields with different resolutions. The date and time format used with this component is reported to the Toolkit by the browser.",
+                    "The DateField component can be used to produce various date and time input fields with different resolutions. The date and time format used with this component is reported to Vaadin by the browser.",
                     new Feature[] {
                     //        
                             new DatePopup(), //
index 0eb505761b5d9388dc3f6d8929dcca97baf8192f..9fa9e19019ee750d9b6f3069edd65f59e5d08368 100644 (file)
@@ -99,7 +99,7 @@ public class ApplicationConfiguration {
             }
         
         } else {
-            $wnd.alert("Toolkit app failed to initialize: " + this.id);
+            $wnd.alert("Vaadin app failed to initialize: " + this.id);
         }
      
      }-*/;
index bf225ad61de843ce7ca37d8043598994b63893ae..35f9c1ba7643208ae03c99ca8693f605c7fc00c2 100644 (file)
@@ -2,7 +2,7 @@ package com.vaadin.terminal.gwt.client;
 
 /**
  * GWT's HasFocus is way too overkill for just receiving focus in simple
- * components. Toolkit uses this interface in addition to GWT's HasFocus to pass
+ * components. Vaadin uses this interface in addition to GWT's HasFocus to pass
  * focus requests from server to actual ui widgets in browsers.
  * 
  * So in to make your server side focusable component receive focus on client
index 641b729521fefeb301052daed9f1d12dd38675e8..31d2ea749a9eb6ab0d94e6fcb894df008ed41b5f 100644 (file)
@@ -24,7 +24,7 @@ public class TreeAction extends Action {
 
     /**
      * Sends message to server that this action has been fired. Messages are
-     * "standard" Toolkit messages whose value is comma separated pair of
+     * "standard" Vaadin messages whose value is comma separated pair of
      * targetKey (row, treeNod ...) and actions id.
      * 
      * Variablename is always "action".
index eb0c43246451b8ff3bb04d2ffba91120195a40f4..ce1fa343f393502e66d0dfd8835a51f758282460 100644 (file)
@@ -314,7 +314,7 @@ public class VPopupView extends HTML implements Container {
 
         /*
          * 
-         * We need a hack make popup act as a child of VPopupView in toolkits
+         * We need a hack make popup act as a child of VPopupView in Vaadin's
          * component tree, but work in default GWT manner when closing or
          * opening.
          * 
index 9aeea15536bfcc906094a2ce0a3f0efd0d78926c..84b3c78405aa1839adf5a0e08d6979102a24b200 100644 (file)
@@ -14,7 +14,7 @@ import com.google.gwt.user.client.ui.RootPanel;
 import com.vaadin.terminal.gwt.client.BrowserInfo;
 
 /**
- * In Toolkit UI this Overlay should always be used for all elements that
+ * In Vaadin UI this Overlay should always be used for all elements that
  * temporary float over other components like context menus etc. This is to deal
  * stacking order correctly with VWindow objects.
  */
index b3ed3e93475ef0f58e49cc2711ad8fe07c5537e3..08e9e3cf56adec41f0947ee9e82260df69ac9dc5 100644 (file)
@@ -303,7 +303,7 @@ public class VView extends SimplePanel implements Container,
 
                     /*
                      * Two types of Widgets can be focused, either implementing
-                     * GWT HasFocus of a thinner Toolkit specific Focusable
+                     * GWT HasFocus of a thinner Vaadin specific Focusable
                      * interface.
                      */
                     if (toBeFocused instanceof HasFocus) {
index aba2c1ba66481a7163b555bde4b825bd4a856b42..716194e618c3a5901936d416cee0a277c27022a4 100644 (file)
@@ -407,7 +407,7 @@ public abstract class AbstractApplicationServlet extends HttpServlet {
                 return;
             }
 
-            // Send initial AJAX page that kickstarts Toolkit application
+            // Send initial AJAX page that kickstarts a Vaadin application
             writeAjaxPage(request, response, window, themeName, application);
 
         } catch (final SessionExpired e) {
@@ -1204,7 +1204,7 @@ public abstract class AbstractApplicationServlet extends HttpServlet {
             // supported, but the hack is make it possible to use linux and
             // hosted mode browser for debugging. Note that due this hack,
             // debugging gwt code in portals with linux will be problematic if
-            // there are multiple toolkit portlets visible at the same time.
+            // there are multiple Vaadin portlets visible at the same time.
             // TODO remove this when hosted mode on linux gets newer gecko
 
             page.write("<iframe tabIndex=\"-1\" id=\"__gwt_historyFrame\" "
index fe20093e02f7d0bf1b6493718dcc642708ec1f8b..8d0f195c15de2e923381b436e5af2dec2ffa5500 100644 (file)
@@ -93,7 +93,7 @@ public class ApplicationRunnerServlet extends AbstractApplicationServlet {
      * <ul>
      * <li>context=vaadin</li>
      * <li>Runner servlet=run</li>
-     * <li>Toolkit application=com.vaadin.demo.Calc</li>
+     * <li>Vaadin application=com.vaadin.demo.Calc</li>
      * </ul>
      * 
      * @param request
index df99f145a6e10aafa5b1632693f99bd0435c9601..ac0507332b41606912a2dc10ccf626dedcb0739e 100644 (file)
@@ -18,11 +18,11 @@ import com.vaadin.ui.Component.Listener;
 /**
  * This example demonstrates custom layout. All components created here are
  * placed using custom.html file. Custom layouts may be created with any web
- * designer tool such as Dreamweaver. To place Toolkit components into html
- * page, use divs with location tag as an identifier for Toolkit components, see
- * html page (themes/example/layout/custom.html) and source code below. Body
- * panel contents are changed when menu items are clicked. Contents are HTML
- * pages located at themes/example/layout directory.
+ * designer tool such as Dreamweaver. To place Vaadin components into html page,
+ * use divs with location tag as an identifier for Vaadin components, see html
+ * page (themes/example/layout/custom.html) and source code below. Body panel
+ * contents are changed when menu items are clicked. Contents are HTML pages
+ * located at themes/example/layout directory.
  * 
  * @author IT Mill Ltd.
  * @since 4.0.0
index cbdc7baf4528de5b3203a7772cafbc1cf9a05415..cdeeebfa37a026b4422d606a84487a0e61c780da 100644 (file)
@@ -16,7 +16,7 @@ import com.vaadin.ui.TabSheet;
 import com.vaadin.ui.Window;
 
 /**
- * This example demonstrates layouts. Layouts are populated with sample Toolkit
+ * This example demonstrates layouts. Layouts are populated with sample Vaadin
  * UI components.
  * 
  * @author IT Mill Ltd.
index aeec8176d8cc4d701cff79fd23d935fd82f20eb6..cf03074e56377918d85c8d6dd36d14f51f45283c 100644 (file)
@@ -22,7 +22,7 @@ public class PerformanceTestSubTreeCaching extends CustomComponent {
 
     private final Label result;
 
-    private static final String DESCRIPTION = "Hyphothesis: Toolkit 4 has major architechtural problem when adding "
+    private static final String DESCRIPTION = "Hypothesis: Toolkit 4 has major architechtural problem when adding "
             + "small incrementall updates to a container which has either a lot or "
             + "some very slow components in it. Toolkit 5 has 'subtree caching' and a"
             + " small amount of logic in containers, so CommunicationManager can assure"
index cb35e2c93879e5954e7d75a039ee2d84d141a8d5..abd98016cd28c61588abcb7172ddd4fac4bada60 100644 (file)
@@ -17,21 +17,20 @@ import com.vaadin.ui.Window;
 
 /**
  * This example shows how Table, Select and Tree UI components can use
- * Containers. QueryContainer is used to bind SQL table rows into Toolkit UI
+ * Containers. QueryContainer is used to bind SQL table rows into Vaadin UI
  * components. Table has few example actions added. Also embedding XHTML through
  * Label components is used. Demonstrates: how to create
  * <code>com.vaadin.data.Container</code> and set it as datasource to UI
  * components <code>com.vaadin.ui.Component.Tree</code>, how to receive
- * ExpandEvent and implement
- * <code>com.vaadin.ui.Tree.ExpandListener</code>, how to use
- * <code>com.vaadin.event.Action</code>.
+ * ExpandEvent and implement <code>com.vaadin.ui.Tree.ExpandListener</code>, how
+ * to use <code>com.vaadin.event.Action</code>.
  * 
  * @author IT Mill Ltd.
  * @since 4.0.0
  * 
  */
-public class QueryContainerDemo extends com.vaadin.Application
-        implements Action.Handler {
+public class QueryContainerDemo extends com.vaadin.Application implements
+        Action.Handler {
 
     private static final String ACTION_DESCRIPTION = "Try right mouse button to initiate "
             + "actions menu.<br />Note: on Opera you use meta key "
@@ -116,7 +115,7 @@ public class QueryContainerDemo extends com.vaadin.Application
         table.addActionHandler(this);
         table.setDescription(ACTION_DESCRIPTION);
 
-        // populate Toolkit table component with test SQL table rows
+        // populate Vaadin table component with test SQL table rows
         try {
             final QueryContainer qc = new QueryContainer(
                     "SELECT * FROM employee", sampleDatabase.getConnection());
@@ -139,7 +138,7 @@ public class QueryContainerDemo extends com.vaadin.Application
         select.setCaption("All distinct units from employee table.");
         select.setItemCaptionPropertyId("UNIT");
 
-        // populate Toolkit select component with test SQL table rows
+        // populate Vaadin select component with test SQL table rows
         try {
             final QueryContainer qc = new QueryContainer(
                     "SELECT DISTINCT UNIT FROM employee", sampleDatabase
@@ -167,7 +166,7 @@ public class QueryContainerDemo extends com.vaadin.Application
                 + "actions menu. Note: on Opera you use meta key "
                 + "and left mouse button.");
 
-        // Populate Toolkit Tree using select component as data source
+        // Populate Vaadin Tree using select component as data source
         tree.setContainerDataSource(select.getContainerDataSource());
     }
 
index 5bfff45a3a3f4b90028d051b0ef5d20bc3a780bb..a6277a82623453f4b9d9cb84d173bc4afed1d3e0 100644 (file)
@@ -23,7 +23,7 @@ import com.vaadin.ui.TextField;
 import com.vaadin.ui.Window;
 
 /**
- * This example demonstrates layouts. Layouts are populated with sample Toolkit
+ * This example demonstrates layouts. Layouts are populated with sample Vaadin
  * UI components.
  * 
  * @author IT Mill Ltd.
index 4291498c02e7ce61289eadfb31def0b7e9d37d93..202338cd5046ab6d6917c6c39b51100f547cec55 100644 (file)
@@ -15,10 +15,10 @@ import com.vaadin.ui.Window;
 import com.vaadin.ui.Tree.ExpandEvent;
 
 /**
- * Browsable file explorer using Toolkit Tree component. Demonstrates: how to
- * add items hierarchially into
- * <code>com.vaadin.ui.Component.Tree</code>, how to receive ExpandEvent
- * and implement <code>com.vaadin.ui.Tree.ExpandListener</code>.
+ * Browsable file explorer using Vaadin Tree component. Demonstrates: how to add
+ * items hierarchically into <code>com.vaadin.ui.Component.Tree</code>, how to
+ * receive ExpandEvent and implement
+ * <code>com.vaadin.ui.Tree.ExpandListener</code>.
  * 
  * @since 4.0.0
  * 
index dc56f687dc35a1862e6a8b6726dbdd0b841ecf20..52154fbe22105fa8c2bec5877724ca97a44c8f43 100644 (file)
@@ -19,18 +19,17 @@ import com.vaadin.ui.Component.Event;
 import com.vaadin.ui.Component.Listener;
 
 /**
- * Browsable file explorer using Toolkit Tree component. Demonstrates: how to
- * use <code>com.vaadin.ui.Component.Tree</code> datasource container,
- * how to create <code>com.vaadin.data.util.FilesystemContainer</code>,
- * how to read <code>com.vaadin.ui.Component.Event</code> objects, how
- * to receive and handle any event by implementing
- * <code>com.vaadin.ui.Component.Listener</code>.
+ * Browsable file explorer using Vaadin Tree component. Demonstrates: how to use
+ * <code>com.vaadin.ui.Component.Tree</code> datasource container, how to create
+ * <code>com.vaadin.data.util.FilesystemContainer</code>, how to read
+ * <code>com.vaadin.ui.Component.Event</code> objects, how to receive and handle
+ * any event by implementing <code>com.vaadin.ui.Component.Listener</code>.
  * 
  * @since 4.0.0
  * 
  */
-public class TreeFilesystemContainer extends com.vaadin.Application
-        implements Listener {
+public class TreeFilesystemContainer extends com.vaadin.Application implements
+        Listener {
 
     // Filesystem explorer panel and it's components
     private final Panel explorerPanel = new Panel("Filesystem explorer");
index 6a608f17f31afce227dc46ff02fe656110554d98..2fc0fc5eac8e45a714ee85189795d6ab5d452dc3 100644 (file)
@@ -14,8 +14,8 @@ import com.vaadin.ui.Panel;
 import com.vaadin.ui.Select;
 import com.vaadin.ui.Window;
 
-public class UsingObjectsInSelect extends com.vaadin.Application
-        implements ValueChangeListener {
+public class UsingObjectsInSelect extends com.vaadin.Application implements
+        ValueChangeListener {
 
     private final Select select = new Select();
     private final Label selectedTask = new Label("Selected task",
@@ -67,7 +67,7 @@ public class UsingObjectsInSelect extends com.vaadin.Application
     }
 
     /**
-     * Sample class which is bind in Toolkit components
+     * Sample class which is bound to Vaadin components
      * 
      */
     public class Task {
index cffb4c79944964d9b91ba194d585dcc43102cbe1..d9c20b96b28da411e178c3af73ee02ae44586531 100644 (file)
@@ -53,8 +53,7 @@ public class IntroWelcome extends Feature implements URIHandler,
 
     // TODO Add browser agent string
     private final String description = WELCOME_TEXT_LOWER
-            + "<br /><br />Vaadin Toolkit version: "
-            + ApplicationServlet.VERSION;
+            + "<br /><br />Vaadin version: " + ApplicationServlet.VERSION;
 
     public IntroWelcome() {
         super();
index 7ee89b35dba5314950936348d91098b0cde4044e..e13cdf5c3a4870d916662f854d8375e77e7bb3f7 100644 (file)
@@ -18,7 +18,7 @@ public class DeepComponentTrees extends TestBase {
 \r
     @Override\r
     protected String getDescription() {\r
-        return "Toolkit should not choke on deep component trees. 15 levels should be minimum to survive.";\r
+        return "Vaadin should not choke on deep component trees. 15 levels should be minimum to survive.";\r
     }\r
 \r
     @Override\r
@@ -89,7 +89,7 @@ public class DeepComponentTrees extends TestBase {
             layout = lo;\r
         }\r
         layout.addComponent(new Label(\r
-                "FF did it! Toolkit, Mozilla and you win! Dare to try again?"));\r
+                "FF did it! Vaadin, Mozilla and you win! Dare to try again?"));\r
         root.setLayout(r);\r
     }\r
 \r
index e6ed4732852ce53b051d4e902b7647f38f50af4a..e876ae4808b8f88abc186b56a5a71050bab0fa84 100644 (file)
@@ -32,7 +32,7 @@ import com.vaadin.ui.Window.Notification;
  * 
  * TODO theme
  * 
- * TODO refine docs, make LoginBox a standard toolkit component
+ * TODO refine docs, make LoginBox a standard Vaadin component
  * 
  * TODO article
  * 
@@ -53,7 +53,7 @@ public class Ticket1362Login extends Application {
                     + "<body onload='setTarget();'>"
                     + "Iframe generated by LoginBox. PW managers can autofill form. Form handled by LoginBox "
                     + "that will fire LoginEvents. Will post into another iframe, from where the script "
-                    + "will find toolkit client that will be force synced. <form id='loginf' target='logintarget'>"
+                    + "will find Vaadin client that will be force synced. <form id='loginf' target='logintarget'>"
                     + "Username : <input type='text' name='username'>"
                     + "Password : <input type='password' name='password'>"
                     + "<input type='submit' value='login'>" + "</form>"
index 3b923e5d084358d372b39f0ae6e5509d095a8c0a..d0d70fcc162a84f24f7b950f6c116c748c24f8da 100644 (file)
@@ -17,7 +17,7 @@ import com.vaadin.terminal.PaintTarget;
  * <p>
  * A container component with freely designed layout and style. The layout
  * consists of items with textually represented locations. Each item contains
- * one sub-component, which can be any Toolkit component, such as a layout. The
+ * one sub-component, which can be any Vaadin component, such as a layout. The
  * adapter and theme are responsible for rendering the layout with a given style
  * by placing the items in the defined locations.
  * </p>
index f8f00170c552a87c2a82cd86bd12ae943bd8df48..243ac99169c11cb5e018c2d9344cc8af21c6a353 100644 (file)
@@ -16,7 +16,7 @@ import com.vaadin.terminal.URIHandler;
 import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;
 
 /**
- * LoginForm is a Toolkit component to handle common problem among Ajax
+ * LoginForm is a Vaadin component to handle common problem among Ajax
  * applications: browsers password managers don't fill dynamically created forms
  * like all those UI elements created by Vaadin.
  * <p>
index 90b761652c2ae3ff5c3d4ca9409dfdc2b762758d..a46de06635921b8f92b3de546649c77b57723a17 100644 (file)
@@ -708,11 +708,10 @@ public class Window extends Panel implements URIHandler, ParameterHandler {
      * 
      * <p>
      * This method should not be invoked directly. Instead the
-     * {@link com.vaadin.Application#addWindow(Window)} method should be
-     * used to add the window to an application and
-     * {@link com.vaadin.Application#removeWindow(Window)} method for
-     * removing the window from the applicion. These methods call this method
-     * implicitly.
+     * {@link com.vaadin.Application#addWindow(Window)} method should be used to
+     * add the window to an application and
+     * {@link com.vaadin.Application#removeWindow(Window)} method for removing
+     * the window from the applicion. These methods call this method implicitly.
      * </p>
      * 
      * <p>
@@ -1335,7 +1334,7 @@ public class Window extends Panel implements URIHandler, ParameterHandler {
      * in client too. Not the one that is rendered last (the case we'd get if
      * implemented in Focusable only).
      * 
-     * To focus component from Toolkit application, use Focusable.focus(). See
+     * To focus component from Vaadin application, use Focusable.focus(). See
      * {@link Focusable}.
      * 
      * @param focusable