From 6192230511a90a632a7372bd5124221406b32ebe Mon Sep 17 00:00:00 2001 From: Jani Laakso Date: Fri, 9 Feb 2007 12:27:17 +0000 Subject: [PATCH] svn changeset:601/svn branch:toolkit --- .../demo/features/FeatureCustomLayout.java | 31 ++++--------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/src/com/itmill/toolkit/demo/features/FeatureCustomLayout.java b/src/com/itmill/toolkit/demo/features/FeatureCustomLayout.java index a53979c9a0..bd9b605886 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureCustomLayout.java +++ b/src/com/itmill/toolkit/demo/features/FeatureCustomLayout.java @@ -28,10 +28,6 @@ package com.itmill.toolkit.demo.features; -import java.net.MalformedURLException; -import java.net.URL; - -import com.itmill.toolkit.terminal.ExternalResource; import com.itmill.toolkit.ui.*; public class FeatureCustomLayout extends Feature { @@ -68,27 +64,12 @@ public class FeatureCustomLayout extends Feature { protected Component getDemoComponent() { OrderedLayout l = new OrderedLayout(); - // TODO doc change - l - .addComponent(new Label( - "

For demonstration, see GO-Game example application. All of the " - + "layouting done in the aplication is handled by CustomLayout with \"goroom\"-style " - + "that is defined in \"gogame\"-theme. The theme is simply created by exteding " - + "default theme trough theme-inheritance and adding couple of xsl-templates

", - Label.CONTENT_UIDL)); - - URL goUrl = null; - try { - goUrl = new URL(getApplication().getURL(), "../go/"); - } catch (MalformedURLException e) { - } - - if (goUrl != null) { - Link link = new Link("Start GO-Game", new ExternalResource(goUrl)); - link.setTargetName("gogame"); - link.setTargetBorder(Link.TARGET_BORDER_NONE); - l.addComponent(link); - } + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; return l; } -- 2.39.5