From: Marc Englund Date: Fri, 30 Nov 2007 11:51:35 +0000 (+0000) Subject: simplified X-Git-Tag: 6.7.0.beta1~5370 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=65352b06d6671658977250951398a3a3e6438e6e;p=vaadin-framework.git simplified svn changeset:3061/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java b/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java index 7eb07b81fe..62e023dd17 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/FeatureBrowser.java @@ -43,14 +43,8 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements private HashMap components = new HashMap(); - // category, name, desc, class, viewed private static final Object[][] demos = new Object[][] { - // START - // Intro - { "Intro", "About", "About this demo", Button.class, Boolean.FALSE }, - // Windowing - { "Intro", "Windowing", "About windowing", WindowingExample.class, - Boolean.FALSE }, + // Category, Name, Desc, Class, Viewed // Basic: Labels { "Basic", "Labels", "Some variations of Labels", Button.class, Boolean.FALSE }, @@ -86,6 +80,9 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements { "Misc", "Embedding", "You can embed resources - another site in this case", EmbeddedBrowserExample.class, Boolean.FALSE }, + // Windowing + { "Misc", "Windowing", "About windowing", WindowingExample.class, + Boolean.FALSE }, // END }; @@ -105,7 +102,7 @@ public class FeatureBrowser extends com.itmill.toolkit.Application implements Object rootId = container.addItem(); Item item = container.getItem(rootId); Property p = item.getItemProperty(PROPERTY_ID_NAME); - p.setValue("All"); + p.setValue("All examples"); for (int i = 0; i < demos.length; i++) { Object[] demo = demos[i]; String section = (String) demo[0];