diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-03 14:03:36 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-03 14:03:36 +0000 |
commit | 5161c7b0423a397cf5cefee1bb15436feb1e32b9 (patch) | |
tree | 584c1ffaa8c7fb5bd652138432d982bb3dcfac4f /src/com/itmill | |
parent | 8b73630b67c6a9d4bd638243265ce563ad3cdbcc (diff) | |
download | vaadin-framework-5161c7b0423a397cf5cefee1bb15436feb1e32b9.tar.gz vaadin-framework-5161c7b0423a397cf5cefee1bb15436feb1e32b9.zip |
Millstone -> IT Mill toolkit
svn changeset:218/svn branch:toolkit
Diffstat (limited to 'src/com/itmill')
-rw-r--r-- | src/com/itmill/toolkit/demo/Calc.java | 8 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/Chat.java | 2 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/HelloWorld.java | 2 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/gogame/Go.java | 2 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/package.html | 9 | ||||
-rw-r--r-- | src/com/itmill/toolkit/demo/table/TableDemoApplication.java | 4 |
6 files changed, 12 insertions, 15 deletions
diff --git a/src/com/itmill/toolkit/demo/Calc.java b/src/com/itmill/toolkit/demo/Calc.java index 9565e99d00..75ddd976f9 100644 --- a/src/com/itmill/toolkit/demo/Calc.java +++ b/src/com/itmill/toolkit/demo/Calc.java @@ -2,8 +2,8 @@ package com.itmill.toolkit.demo; import com.itmill.toolkit.ui.*; -/** <p>An example application implementing a simple web-based calculator. - * using the MillStone UI library. The application opens up a window and +/** <p>An example application implementing a simple web-based calculator + * using IT Mill Toolkit. The application opens up a window and * places the needed UI components (display label, buttons etc.) on it, and * registers a button click listener for them.</p> * @@ -34,7 +34,7 @@ public class Calc private static String[] captions = // Captions for the buttons {"7","8","9","/","4","5","6","*","1","2","3","-","0","=","C","+" }; - /** <p>Initializes the application. This is the only method a MillStone + /** <p>Initializes the application. This is the only method an * application is required to implement. It's called by the framework * and it should perform whatever initialization tasks the application * needs to perform.</p> @@ -66,7 +66,7 @@ public class Calc * Create the main window with a caption and add it to the * application. */ - addWindow(new Window("MillStone calculator", layout)); + addWindow(new Window("Calculator", layout)); } diff --git a/src/com/itmill/toolkit/demo/Chat.java b/src/com/itmill/toolkit/demo/Chat.java index 9bafd960ef..a780dfce63 100644 --- a/src/com/itmill/toolkit/demo/Chat.java +++ b/src/com/itmill/toolkit/demo/Chat.java @@ -57,7 +57,7 @@ public class Chat private long idleSince = (new Date()).getTime(); /** framewindow for following the discussion and control */ - FrameWindow frames = new FrameWindow("Millstone chat"); + FrameWindow frames = new FrameWindow("Chat"); /** Last messages */ private static LinkedList lastMessages = new LinkedList(); diff --git a/src/com/itmill/toolkit/demo/HelloWorld.java b/src/com/itmill/toolkit/demo/HelloWorld.java index ca116a54c9..435a56e5a0 100644 --- a/src/com/itmill/toolkit/demo/HelloWorld.java +++ b/src/com/itmill/toolkit/demo/HelloWorld.java @@ -2,7 +2,7 @@ package com.itmill.toolkit.demo; import com.itmill.toolkit.ui.*; -/** The classic "hello, world!" example for the MillStone framework. The +/** The classic "hello, world!" example for IT Mill Toolkit. The * class simply implements the abstract * {@link com.itmill.toolkit.Application#init() init()} method * in which it creates a Window and adds a Label to it. diff --git a/src/com/itmill/toolkit/demo/gogame/Go.java b/src/com/itmill/toolkit/demo/gogame/Go.java index 556f4e5c3d..b87c9ecd72 100644 --- a/src/com/itmill/toolkit/demo/gogame/Go.java +++ b/src/com/itmill/toolkit/demo/gogame/Go.java @@ -7,7 +7,7 @@ import com.itmill.toolkit.data.util.IndexedContainer; import com.itmill.toolkit.event.*; import com.itmill.toolkit.ui.*; -/** The classic game 'Go' as an example for the Millstone framework. +/** The classic game 'Go' as an example for the IT Mill Toolkit. * * @author IT Mill Ltd. * @see com.itmill.toolkit.Application diff --git a/src/com/itmill/toolkit/demo/package.html b/src/com/itmill/toolkit/demo/package.html index b22fe0c4da..a3368e0b28 100644 --- a/src/com/itmill/toolkit/demo/package.html +++ b/src/com/itmill/toolkit/demo/package.html @@ -7,17 +7,14 @@ <!-- Package summary here --> -<p>Provides several fully functional MillStone example applications. These -highlight certain aspects of the MillStone framework and how it can be -exploited to produce simple, elegant yet powerful user interface driven +<p>Provides several fully functional IT Mill Toolkit example applications. These +highlight certain aspects of the toolkit and how it can be +used to produce simple, elegant yet powerful user interface driven applications.</p> <ul> <li><strong>HelloWorld</strong> is the classic example which only prints the text "Hello, World!" on the screen.</li> -<li><strong>LoginExample</strong> is almost as simple as HelloWorld. It -demonstrates how to use the optional login procedure available to MillStone -applications.</li> <li><strong>Calc</strong> implements a calculator application which demonstrates how to build a bit more complicated user interface and how the application can interact with the usern through that interface.</li> diff --git a/src/com/itmill/toolkit/demo/table/TableDemoApplication.java b/src/com/itmill/toolkit/demo/table/TableDemoApplication.java index ecd9f98ca4..85a02d4adf 100644 --- a/src/com/itmill/toolkit/demo/table/TableDemoApplication.java +++ b/src/com/itmill/toolkit/demo/table/TableDemoApplication.java @@ -25,7 +25,7 @@ public class TableDemoApplication extends Application implements Action.Handler private Action deleteAction = new Action("Delete row"); public void init() { - Window mainWindow = new Window("Millstone Example"); + Window mainWindow = new Window("Table Demo"); setMainWindow(mainWindow); GridLayout gl1 = new GridLayout(1,2); @@ -73,7 +73,7 @@ public class TableDemoApplication extends Application implements Action.Handler Label info = new Label(); info.setContentMode(Label.CONTENT_XHTML); - info.setValue("<h1>Millstone AjaxAdapter</h1><p>Examples of Millstone components.</p><h2>Table Component demo</h2><p>General info about the component and its properties (static HTML).</p><h3>Third level heading</h3><h4>Subheading</h4><h5>Paragraph heading</h5><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce pharetra congue nunc. Vestibulum odio metus, tristiqueeu, venenatis eget, nonummy vel, mauris.</p><p>Mauris lobortis dictum dolor. Phasellus suscipit. Nam feugiat est in risus.</p>"); + info.setValue("<h1>IT Mill Toolkit</h1><p>Examples of toolkit components.</p><h2>Table Component demo</h2><p>General info about the component and its properties (static HTML).</p><h3>Third level heading</h3><h4>Subheading</h4><h5>Paragraph heading</h5><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce pharetra congue nunc. Vestibulum odio metus, tristiqueeu, venenatis eget, nonummy vel, mauris.</p><p>Mauris lobortis dictum dolor. Phasellus suscipit. Nam feugiat est in risus.</p>"); ts.addTab(myTable,"Info", null); //mainWindow.addComponent(ts); |