diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-02-12 00:33:32 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-02-12 00:33:32 +0000 |
commit | 44083ece0d88dbb23e0a7f38ee91fe0a7285fe9f (patch) | |
tree | 3a10c29b4efa0455db15d9634e3030c4fce7cdd5 /src/com/itmill/toolkit/demo/features/FeatureTable.java | |
parent | 042b77b476da0616509160538be8c5e20ed1c010 (diff) | |
download | vaadin-framework-44083ece0d88dbb23e0a7f38ee91fe0a7285fe9f.tar.gz vaadin-framework-44083ece0d88dbb23e0a7f38ee91fe0a7285fe9f.zip |
Many language fixes.
Removed TODO's.
Added documentational content.
Removed most pictures which are no longer required.
- also this slows down loading of the application on "slow" links.
- pictures were not that good anyway.
Property panel is now also applicable.
Fixed:
#387 FeatureBrowser is full of descriptions saying TODO
#337 FeatureBrowser: Source tabs in "features" that do not have source
#374 FeatureBrowser: When opening a feature with no properties, hide propertypanel (on Java)
#395 FeatureBrowser: Hide non-working features
#375 FeatureBrowser: Should start from welcome (?) and select it from tree
svn changeset:674/svn branch:toolkit
Diffstat (limited to 'src/com/itmill/toolkit/demo/features/FeatureTable.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/features/FeatureTable.java | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureTable.java b/src/com/itmill/toolkit/demo/features/FeatureTable.java index 43b5de61bb..e2cbd2f922 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureTable.java +++ b/src/com/itmill/toolkit/demo/features/FeatureTable.java @@ -124,13 +124,14 @@ public class FeatureTable extends Feature implements Action.Handler { new Integer(Table.ROW_HEADER_MODE_PROPERTY) }, new Object[] { "Explicit", "Explicit defaults ID", "Hidden", "Icon only", "ID", "Index", "Item", "Property" }); - /* Disabled theme changer before #356, #357 are fixed - Select themes = (Select) propertyPanel.getField("style"); - themes.addItem("list").getItemProperty( - themes.getItemCaptionPropertyId()).setValue("list"); - themes.addItem("paging").getItemProperty( - themes.getItemCaptionPropertyId()).setValue("paging"); - */ + /* + * Disabled theme changer before #356, #357 are fixed Select themes = + * (Select) propertyPanel.getField("style"); + * themes.addItem("list").getItemProperty( + * themes.getItemCaptionPropertyId()).setValue("list"); + * themes.addItem("paging").getItemProperty( + * themes.getItemCaptionPropertyId()).setValue("paging"); + */ propertyPanel.addProperties("Table Properties", ap); t.setRowHeaderMode(Table.ROW_HEADER_MODE_INDEX); @@ -140,7 +141,7 @@ public class FeatureTable extends Feature implements Action.Handler { t.setSelectable(true); setJavadocURL("ui/Table.html"); - + return l; } @@ -167,16 +168,16 @@ public class FeatureTable extends Feature implements Action.Handler { protected String getDescriptionXHTML() { - return "<p>The Table component is designed for displaying large volumes of tabular data, " - + "in multiple pages whenever needed.</p> " - + "<p>Selection of the displayed data is supported both in selecting exclusively one row " + return "The Table component is designed for displaying large volumes of tabular data, " + + "in multiple pages whenever needed." + + "<br /><br />Selection of the displayed data is supported both in selecting exclusively one row " + "or multiple rows at the same time. For each row, there may be a set of actions associated, " + "depending on the theme these actions may be displayed either as a drop-down " - + "menu for each row or a set of command buttons.</p><p>" - + "Table may be connected to any datasource implementing the <code>Container</code> interface." + + "menu for each row or a set of command buttons." + + "<br /><br />Table may be connected to any datasource implementing the <code>Container</code> interface." + "This way data found in external datasources can be directly presented in the table component." - + "</p><p>" - + "Table implements a number of features and you can test most of them in the table demo tab.</p>"; + + "<br /><br />" + + "Table implements a number of features and you can test most of them in the table demo tab."; } protected String getImage() { |