Updated Flows

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-unionwizard-widget@100981 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-10-24 15:52:52 +00:00 committed by Giancarlo Panichi
parent 080b4e9aed
commit 6f31c510eb
3 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,7 @@ public interface TabResourcesProperties extends PropertyAccess<TabResource> {
ModelKeyProvider<TabResource> id(); ModelKeyProvider<TabResource> id();
ValueProvider<TabResource, String> name(); ValueProvider<TabResource, String> name();
ValueProvider<TabResource, String> tabResourceType();
ValueProvider<TabResource, String> agency(); ValueProvider<TabResource, String> agency();
ValueProvider<TabResource, String> date(); ValueProvider<TabResource, String> date();
ValueProvider<TabResource, String> tableTypeName(); ValueProvider<TabResource, String> tableTypeName();

View File

@ -67,13 +67,15 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
protected static final ColumnConfig<TabResource, String> nameColumn = new ColumnConfig<TabResource, String>( protected static final ColumnConfig<TabResource, String> nameColumn = new ColumnConfig<TabResource, String>(
properties.name(), 90, "Name"); properties.name(), 90, "Name");
protected static final ColumnConfig<TabResource, String> typeColumn = new ColumnConfig<TabResource, String>( protected static final ColumnConfig<TabResource, String> typeColumn = new ColumnConfig<TabResource, String>(
properties.tabResourceType(), 30, "Type");
protected static final ColumnConfig<TabResource, String> tableTypeNameColumn = new ColumnConfig<TabResource, String>(
properties.tableTypeName(), 30, "Table Type"); properties.tableTypeName(), 30, "Table Type");
protected static final ColumnConfig<TabResource, String> agencyColumn = new ColumnConfig<TabResource, String>( protected static final ColumnConfig<TabResource, String> agencyColumn = new ColumnConfig<TabResource, String>(
properties.agency(), 60, "Agency"); properties.agency(), 60, "Agency");
protected static final ColumnConfig<TabResource, String> ownerColumn = new ColumnConfig<TabResource, String>( protected static final ColumnConfig<TabResource, String> ownerColumn = new ColumnConfig<TabResource, String>(
properties.ownerLogin(), 70, "Owner"); properties.ownerLogin(), 70, "Owner");
protected static final ColumnConfig<TabResource, String> dateColumn = new ColumnConfig<TabResource, String>( protected static final ColumnConfig<TabResource, String> dateColumn = new ColumnConfig<TabResource, String>(
properties.date(), 40, "Date"); properties.date(), 50, "Date");
protected Grid<TabResource> grid; protected Grid<TabResource> grid;
protected ResourceBundle res; protected ResourceBundle res;
@ -96,8 +98,8 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
} }
try { try {
buildPanel(properties.id(), buildPanel(properties.id(),
Arrays.<ColumnConfig<TabResource, ?>> asList(nameColumn, Arrays.<ColumnConfig<TabResource, ?>> asList(nameColumn,typeColumn,
typeColumn, ownerColumn, agencyColumn, dateColumn), tableTypeNameColumn, ownerColumn, agencyColumn, dateColumn),
nameColumn); nameColumn);
} catch (Throwable e) { } catch (Throwable e) {

View File

@ -14,7 +14,7 @@ import com.google.web.bindery.event.shared.EventBus;
* *
*/ */
public class UnionWizardTD extends WizardWindow { public class UnionWizardTD extends WizardWindow {
protected static final int WITHWIZARD = 720; protected static final int WITHWIZARD = 800;
protected static final int HEIGHTWIZARD = 520; protected static final int HEIGHTWIZARD = 520;
protected UnionSession unionSession; protected UnionSession unionSession;