summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-06-01 03:01:51 (EDT)
committer Manik Kishore2012-06-19 07:31:18 (EDT)
commit2cebfdfa1b896ea2854825101d2d9c987225ee7d (patch)
treeac5bba8285167f59094ae1b147a9312f2193348f
parent3be8a9aaf7b174f77c12c0dd82c0c75d563a2f9d (diff)
downloadorg.eclipse.stardust.ui.web-2cebfdfa1b896ea2854825101d2d9c987225ee7d.zip
org.eclipse.stardust.ui.web-2cebfdfa1b896ea2854825101d2d9c987225ee7d.tar.gz
org.eclipse.stardust.ui.web-2cebfdfa1b896ea2854825101d2d9c987225ee7d.tar.bz2
Jira-ID: CRNT-24894
1)Removed selectable columns from Preference View. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@56775 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java23
1 files changed, 10 insertions, 13 deletions
diff --git a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
index 4ac9fee..be9427a 100644
--- a/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
+++ b/admin-portal/src/main/java/org/eclipse/stardust/ui/web/admin/views/PreferenceManagerBean.java
@@ -188,34 +188,31 @@ public class PreferenceManagerBean extends UIComponentBean implements ViewEventH
*/
private void createTable()
{
- List<ColumnPreference> fixedCols = new ArrayList<ColumnPreference>();
+ List<ColumnPreference> cols = new ArrayList<ColumnPreference>();
ColumnPreference scopeCol = new ColumnPreference("Scope", "scope", ColumnDataType.STRING, getMessages()
.getString("scope.label"), null, true, false);
- fixedCols.add(scopeCol);
+ cols.add(scopeCol);
ColumnPreference moduleIdCol = new ColumnPreference("ModuleId", "moduleId", ColumnDataType.STRING, getMessages()
.getString("moduleId.label"), null, true, true);
- fixedCols.add(moduleIdCol);
+ cols.add(moduleIdCol);
ColumnPreference preferenceIdCol = new ColumnPreference("PreferenceId", "preferenceId", ColumnDataType.STRING,
getMessages().getString("preferenceId.label"), null, true, true);
- fixedCols.add(preferenceIdCol);
+ cols.add(preferenceIdCol);
ColumnPreference preferenceNameCol = new ColumnPreference("PreferenceName", "preferenceName",
ColumnDataType.STRING, getMessages().getString("preferenceName.label"), null, true, true);
- fixedCols.add(preferenceNameCol);
+ cols.add(preferenceNameCol);
ColumnPreference preferenceValueCol = new ColumnPreference("PreferenceValue", "preferenceValue",
ColumnDataType.STRING, getMessages().getString("preferenceValue.label"), null, true, true);
- fixedCols.add(preferenceValueCol);
-
- List<ColumnPreference> selectableCols = new ArrayList<ColumnPreference>();
-
- IColumnModel columnModel = new DefaultColumnModel(selectableCols, fixedCols, null,
+ cols.add(preferenceValueCol);
+
+ IColumnModel columnModel = new DefaultColumnModel(cols, null, null,
UserPreferencesEntries.M_ADMIN, "prefManagerBean");
- TableColumnSelectorPopup colSelecpopup = new TableColumnSelectorPopup(columnModel);
-
- prefManagerTable = new SortableTable<PreferenceManagerTableEntry>(colSelecpopup, null,
+
+ prefManagerTable = new SortableTable<PreferenceManagerTableEntry>(columnModel, null,
new SortableTableComparator<PreferenceManagerTableEntry>("moduleId", true));
prefManagerTable.setRowSelector(new DataTableRowSelector("selected"));
}