]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added pages for every item of menu. Content is still missing.
authorJani Laakso <jani.laakso@itmill.com>
Tue, 6 Feb 2007 17:39:57 +0000 (17:39 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Tue, 6 Feb 2007 17:39:57 +0000 (17:39 +0000)
Fixed #307 Feature Browser display UIDL on some menu items, e.g. UI Components

svn changeset:487/svn branch:toolkit

14 files changed:
src/com/itmill/toolkit/demo/features/FeatureBrowser.java
src/com/itmill/toolkit/demo/features/FeatureBuffering.java
src/com/itmill/toolkit/demo/features/FeatureContainers.java
src/com/itmill/toolkit/demo/features/FeatureItems.java
src/com/itmill/toolkit/demo/features/FeatureProperties.java
src/com/itmill/toolkit/demo/features/FeatureValidators.java
src/com/itmill/toolkit/demo/features/IntroBasic.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroComponents.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroDataHandling.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroDataModel.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroItemContainers.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroLayouts.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/IntroTerminal.java [new file with mode: 0644]
src/com/itmill/toolkit/demo/features/UIComponents.java [deleted file]

index 22be444adefae0ef50facae33f2e632811963d3c..7f60282102ef201dec4ecdf7075f868bd749cfc0 100644 (file)
@@ -118,7 +118,8 @@ public class FeatureBrowser extends CustomComponent implements
                left.addComponent(close);
 
                // Test component
-               registerFeature("/UI Components", new UIComponents());
+               registerFeature("/UI Components", new IntroComponents());
+               registerFeature("/UI Components/Basic", new IntroBasic());
                registerFeature("/UI Components/Basic/Text Field",
                                new FeatureTextField());
                registerFeature("/UI Components/Basic/Date Field",
@@ -127,12 +128,15 @@ public class FeatureBrowser extends CustomComponent implements
                registerFeature("/UI Components/Basic/Form", new FeatureForm());
                registerFeature("/UI Components/Basic/Label", new FeatureLabel());
                registerFeature("/UI Components/Basic/Link", new FeatureLink());
+               registerFeature("/UI Components/Item Containers",
+                               new IntroItemContainers());
                registerFeature("/UI Components/Item Containers/Select",
                                new FeatureSelect());
                registerFeature("/UI Components/Item Containers/Table",
                                new FeatureTable());
                registerFeature("/UI Components/Item Containers/Tree",
                                new FeatureTree());
+               registerFeature("/UI Components/Layouts", new IntroLayouts());
                registerFeature("/UI Components/Layouts/Ordered Layout",
                                new FeatureOrderedLayout());
                registerFeature("/UI Components/Layouts/Grid Layout",
@@ -144,17 +148,20 @@ public class FeatureBrowser extends CustomComponent implements
                                new FeatureTabSheet());
                registerFeature("/UI Components/Layouts/Window", new FeatureWindow());
                // Disabled for now
-//             registerFeature("/UI Components/Layouts/Frame Window",
-//                             new FeatureFrameWindow());
+               // registerFeature("/UI Components/Layouts/Frame Window",
+               // new FeatureFrameWindow());
+               registerFeature("/UI Components/Data handling", new IntroDataHandling());
                registerFeature("/UI Components/Data handling/Embedded Objects",
                                new FeatureEmbedded());
                registerFeature("/UI Components/Data handling/Upload",
                                new FeatureUpload());
+               registerFeature("/Data Model", new IntroDataModel());
                registerFeature("/Data Model/Properties", new FeatureProperties());
                registerFeature("/Data Model/Items", new FeatureItems());
                registerFeature("/Data Model/Containers", new FeatureContainers());
                registerFeature("/Data Model/Validators", new FeatureValidators());
                registerFeature("/Data Model/Buffering", new FeatureBuffering());
+               registerFeature("/Terminal", new IntroTerminal());
                registerFeature("/Terminal/Parameters and URI Handling",
                                new FeatureParameters());
 
@@ -163,7 +170,7 @@ public class FeatureBrowser extends CustomComponent implements
                        features.expandItem(i.next());
 
                // Add demo component and tabs
-               currentFeature = new FeatureButton();
+               currentFeature = new FeatureTable();
                layout.addComponent(currentFeature);
 
                // Add properties
@@ -220,7 +227,7 @@ public class FeatureBrowser extends CustomComponent implements
                                                PropertyPanel oldProps = (PropertyPanel) i.next();
                                                if (oldProps != null)
                                                        right.replaceComponent(oldProps, properties);
-                                               else 
+                                               else
                                                        right.addComponent(properties);
                                                properties.setVisible(((Boolean) propertiesSelect
                                                                .getValue()).booleanValue());
index 124db01847f90ad87f4f14340695d700b9093e12..3a37bc88f6e91c14d6a09d7bf2cfdda552fec196 100644 (file)
 
 package com.itmill.toolkit.demo.features;
 
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
 public class FeatureBuffering extends Feature {
-       protected String getExampleSrc() {
-               return super.getExampleSrc();
+       
+       public FeatureBuffering() {
+               super();
        }
+       
+       protected Component getDemoComponent() {
 
-       protected String getTitle() {
-               return "Buffering";
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+               
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
        }
+
        /**
         * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
         */
@@ -58,11 +78,13 @@ public class FeatureBuffering extends Feature {
                        + "immediately updated to the data source.</p>";
        }
 
-       /**
-        * @see com.itmill.toolkit.demo.features.Feature#getImage()
-        */
+
        protected String getImage() {
                return "buffering.jpg";
        }
 
+       protected String getTitle() {
+               return "Introduction of Data Model Buffering";
+       }
+
 }
index 255c5e06c47a6b16b50b6d42602b032e37c3d176..69950319b6749a09bc691c9e3f14ec9f98accaac 100644 (file)
 
 package com.itmill.toolkit.demo.features;
 
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
 public class FeatureContainers extends Feature {
 
-       protected String getTitle() {
-               return "Container Data Model";
+       public FeatureContainers() {
+               super();
+       }
+       
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+               
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
        }
 
        protected String getDescriptionXHTML() {
@@ -58,7 +80,13 @@ public class FeatureContainers extends Feature {
                                + "file system access.</p>";
        }
 
+
        protected String getImage() {
                return "containers.jpg";
        }
+
+       protected String getTitle() {
+               return "Introduction of Data Model Containers";
+       }
+
 }
index ec97350db42772a006e25e21f74b394e5a38b551..fb9b92b24f322398465a9c85719a20bb87e8e8d9 100644 (file)
 
 package com.itmill.toolkit.demo.features;
 
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
 public class FeatureItems extends Feature {
 
-       protected String getTitle() {
-               return "Item Data Model";
+       public FeatureItems() {
+               super();
+       }
+       
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+               
+               return l;
        }
 
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
        protected String getDescriptionXHTML() {
                return "<p>Item is an object, which contains a set of named "
                                + "properties. Each property is identified by an "
@@ -52,4 +77,8 @@ public class FeatureItems extends Feature {
                return "items.jpg";
        }
 
+       protected String getTitle() {
+               return "Introduction of Data Model Item";
+       }
+
 }
index ec36eeab6cfb459679f6ef1ead7b6d205db29132..22455d92dafe229498691e7f1854206149916cd1 100644 (file)
 
 package com.itmill.toolkit.demo.features;
 
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
 public class FeatureProperties extends Feature {
 
-       protected String getExampleSrc() {
-               return super.getExampleSrc();
+       public FeatureProperties() {
+               super();
        }
+       
+       protected Component getDemoComponent() {
 
-       protected String getTitle() {
-               return "Property Data Model";
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+               
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
        }
 
        protected String getDescriptionXHTML() {
@@ -60,11 +78,13 @@ public class FeatureProperties extends Feature {
                                + "Label and Tree.</p>";
        }
 
-       /**
-        * @see com.itmill.toolkit.demo.features.Feature#getImage()
-        */
+
        protected String getImage() {
                return "properties.jpg";
        }
 
+       protected String getTitle() {
+               return "Introduction of Data Model Properties";
+       }
+
 }
index efa1b2f59696ea06096a054bc1b3ab9cb4ee4a7c..c6f70a5598449ec224553bae2379820505896003 100644 (file)
 
 package com.itmill.toolkit.demo.features;
 
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
 public class FeatureValidators extends Feature {
 
-       protected String getExampleSrc() {
-               return super.getExampleSrc();
+       public FeatureValidators() {
+               super();
        }
+       
+       protected Component getDemoComponent() {
 
-       protected String getTitle() {
-               return "Validators";
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+               
+               return l;
        }
 
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
        protected String getDescriptionXHTML() {
                return "<p>IT Mill Toolkit contains simple, yet powerful validation interface, "
                                + "that consists of two parts: Validator and Validatable. Validator is "
@@ -56,4 +77,8 @@ public class FeatureValidators extends Feature {
                return "validators.gif";
        }
 
+       protected String getTitle() {
+               return "Introduction of Data Model Validators";
+       }
+
 }
diff --git a/src/com/itmill/toolkit/demo/features/IntroBasic.java b/src/com/itmill/toolkit/demo/features/IntroBasic.java
new file mode 100644 (file)
index 0000000..d3e1502
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroBasic extends Feature {
+
+       public IntroBasic() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction of basic UI components";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroComponents.java b/src/com/itmill/toolkit/demo/features/IntroComponents.java
new file mode 100644 (file)
index 0000000..734eb48
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroComponents extends Feature {
+
+       public IntroComponents() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "ui-components.gif";
+       }
+
+       protected String getTitle() {
+               return "Introduction for UI components";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroDataHandling.java b/src/com/itmill/toolkit/demo/features/IntroDataHandling.java
new file mode 100644 (file)
index 0000000..777449f
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroDataHandling extends Feature {
+
+       public IntroDataHandling() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction for data handling";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroDataModel.java b/src/com/itmill/toolkit/demo/features/IntroDataModel.java
new file mode 100644 (file)
index 0000000..b4faf1e
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroDataModel extends Feature {
+
+       public IntroDataModel() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction for data model";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroItemContainers.java b/src/com/itmill/toolkit/demo/features/IntroItemContainers.java
new file mode 100644 (file)
index 0000000..a1584a5
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroItemContainers extends Feature {
+
+       public IntroItemContainers() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction for item containers";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroLayouts.java b/src/com/itmill/toolkit/demo/features/IntroLayouts.java
new file mode 100644 (file)
index 0000000..c6d2d8c
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroLayouts extends Feature {
+
+       public IntroLayouts() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction for layouts";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/IntroTerminal.java b/src/com/itmill/toolkit/demo/features/IntroTerminal.java
new file mode 100644 (file)
index 0000000..de1f72d
--- /dev/null
@@ -0,0 +1,74 @@
+/* *************************************************************************
+ IT Mill Toolkit 
+
+ Development of Browser User Interfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license.pdf. Use of this product might 
+ require purchasing a commercial license from IT Mill Ltd. For guidelines 
+ on usage, see licensing-guidelines.html
+
+ *************************************************************************
+ For more information, contact:
+ IT Mill Ltd                           phone: +358 2 4802 7180
+ Ruukinkatu 2-4                        fax:   +358 2 4802 7181
+ 20540, Turku                          email:  info@itmill.com
+ Finland                               company www: www.itmill.com
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.demo.features;
+
+import com.itmill.toolkit.ui.Component;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.OrderedLayout;
+
+public class IntroTerminal extends Feature {
+
+       public IntroTerminal() {
+               super();
+       }
+
+       protected Component getDemoComponent() {
+
+               OrderedLayout l = new OrderedLayout();
+
+               Label lab = new Label();
+               lab.setStyle("featurebrowser-none");
+               l.addComponent(lab);
+
+               // Properties
+               propertyPanel = null;
+
+               return l;
+       }
+
+       protected String getExampleSrc() {
+               return "";
+       }
+
+       /**
+        * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML()
+        */
+       protected String getDescriptionXHTML() {
+               return "";
+       }
+
+       protected String getImage() {
+               return "";
+       }
+
+       protected String getTitle() {
+               return "Introduction for terminals";
+       }
+
+}
diff --git a/src/com/itmill/toolkit/demo/features/UIComponents.java b/src/com/itmill/toolkit/demo/features/UIComponents.java
deleted file mode 100644 (file)
index b66508d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/* *************************************************************************
- IT Mill Toolkit 
-
- Development of Browser User Interfaces Made Easy
-
- Copyright (C) 2000-2006 IT Mill Ltd
- *************************************************************************
-
- This product is distributed under commercial license that can be found
- from the product package on license.pdf. Use of this product might 
- require purchasing a commercial license from IT Mill Ltd. For guidelines 
- on usage, see licensing-guidelines.html
-
- *************************************************************************
- For more information, contact:
- IT Mill Ltd                           phone: +358 2 4802 7180
- Ruukinkatu 2-4                        fax:   +358 2 4802 7181
- 20540, Turku                          email:  info@itmill.com
- Finland                               company www: www.itmill.com
- Primary source for information and releases: www.itmill.com
-
- ********************************************************************** */
-
-package com.itmill.toolkit.demo.features;
-
-public class UIComponents extends Feature {
-
-       protected String getDescriptionXHTML() {
-               return "";
-       }
-
-       protected String getImage() {
-               return "ui-components.gif";
-       }
-
-       protected String getTitle() {
-               return "";
-       }
-
-}