Added category column to template panel
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@94368 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
209a69a869
commit
2499bce31e
|
@ -84,14 +84,18 @@ public class TemplateApplyPanel extends FramedPanel {
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> nameCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> nameCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.name(), 120, "Name");
|
props.name(), 120, "Name");
|
||||||
|
ColumnConfig<TemplateData, String> categoryCol = new ColumnConfig<TemplateData, String>(
|
||||||
|
props.category(), 60, "Category");
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> agencyCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> agencyCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.agency(), 120, "Agency");
|
props.agency(), 100, "Agency");
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> descriptionCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> descriptionCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.description(), 160, "Description");
|
props.description(), 120, "Description");
|
||||||
|
|
||||||
List<ColumnConfig<TemplateData, ?>> l = new ArrayList<ColumnConfig<TemplateData, ?>>();
|
List<ColumnConfig<TemplateData, ?>> l = new ArrayList<ColumnConfig<TemplateData, ?>>();
|
||||||
l.add(nameCol);
|
l.add(nameCol);
|
||||||
|
l.add(categoryCol);
|
||||||
l.add(agencyCol);
|
l.add(agencyCol);
|
||||||
l.add(descriptionCol);
|
l.add(descriptionCol);
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ public interface TemplateDataProperties extends PropertyAccess<TemplateData> {
|
||||||
ValueProvider<TemplateData, String> name();
|
ValueProvider<TemplateData, String> name();
|
||||||
ValueProvider<TemplateData, String> agency();
|
ValueProvider<TemplateData, String> agency();
|
||||||
ValueProvider<TemplateData, String> description();
|
ValueProvider<TemplateData, String> description();
|
||||||
|
ValueProvider<TemplateData, String> category();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,14 +81,19 @@ public class TemplateDeletePanel extends FramedPanel {
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> nameCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> nameCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.name(), 120, "Name");
|
props.name(), 120, "Name");
|
||||||
|
ColumnConfig<TemplateData, String> categoryCol = new ColumnConfig<TemplateData, String>(
|
||||||
|
props.category(), 60, "Category");
|
||||||
|
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> agencyCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> agencyCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.agency(), 120, "Agency");
|
props.agency(), 100, "Agency");
|
||||||
|
|
||||||
ColumnConfig<TemplateData, String> descriptionCol = new ColumnConfig<TemplateData, String>(
|
ColumnConfig<TemplateData, String> descriptionCol = new ColumnConfig<TemplateData, String>(
|
||||||
props.description(), 160, "Description");
|
props.description(), 120, "Description");
|
||||||
|
|
||||||
List<ColumnConfig<TemplateData, ?>> l = new ArrayList<ColumnConfig<TemplateData, ?>>();
|
List<ColumnConfig<TemplateData, ?>> l = new ArrayList<ColumnConfig<TemplateData, ?>>();
|
||||||
l.add(nameCol);
|
l.add(nameCol);
|
||||||
|
l.add(categoryCol);
|
||||||
l.add(agencyCol);
|
l.add(agencyCol);
|
||||||
l.add(descriptionCol);
|
l.add(descriptionCol);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue