diff options
author | Marc Englund <marc.englund@itmill.com> | 2007-12-04 15:40:02 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2007-12-04 15:40:02 +0000 |
commit | df1908ead27b2bb62d44914ecd8b0f67892f2ded (patch) | |
tree | e655b7354d520b62183b82d1f0f9cd23a378530e /src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java | |
parent | d331d43f2ae215d37a6288b18576b0ed4ebf9b77 (diff) | |
download | vaadin-framework-df1908ead27b2bb62d44914ecd8b0f67892f2ded.tar.gz vaadin-framework-df1908ead27b2bb62d44914ecd8b0f67892f2ded.zip |
LayoutExample added (+ small changes)
svn changeset:3148/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java b/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java index 5a20a3f965..a15547472b 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java @@ -66,6 +66,9 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements // Getting started: Selects { "Getting started", "Choices, choices", "Some variations of simple selects", SelectExample.class }, + // Layouts + { "Getting started", "Layouts", "Laying out components", + LayoutExample.class }, // Wrangling data: ComboBox { "Wrangling data", "ComboBox", "ComboBox - the swiss army select", ComboBoxExample.class }, @@ -236,13 +239,22 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements exp.addComponent(ts); exp.expand(ts); - Label status = new Label("Copyright IT Mill 2007"); + Label status = new Label( + "<a href=\"http://www.itmill.com/index_developers.htm\">Developer Area</a>" + + " | <a href=\"http://www.itmill.com/developers_documentation.htm\">Documentation</a>"); + status.setContentMode(Label.CONTENT_XHTML); exp.addComponent(status); exp.setComponentAlignment(status, ExpandLayout.ALIGNMENT_RIGHT, ExpandLayout.ALIGNMENT_VERTICAL_CENTER); // select initial section ("All") tree.setValue(rootId); + + getMainWindow() + .showNotification( + "Welcome", + "Choose an example to begin.<br/><br/>And remember to experiment!", + Window.Notification.TYPE_TRAY_NOTIFICATION); } private void initItem(Item item, Object[] data) { |