summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureCustomLayout.java31
1 files 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(
- "<p>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</p>",
- 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;
}