Added Tabular Resource Type

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@100954 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-10-24 09:36:42 +00:00 committed by Giancarlo Panichi
parent 6198466c4c
commit e3faf134c1
3 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign;
*
*/
public class TDOpen extends WizardWindow {
protected static final int WITHWIZARD=720;
protected static final int WITHWIZARD=750;
protected static final int HEIGHTWIZARD=520;
protected TDOpenSession tdOpenSession;

View File

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

View File

@ -77,7 +77,11 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
protected static final ColumnConfig<TabResource, String> nameColumn = new ColumnConfig<TabResource, String>(
properties.name(), 90, "Name");
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");
protected static final ColumnConfig<TabResource, String> agencyColumn = new ColumnConfig<TabResource, String>(
properties.agency(), 60, "Agency");
@ -109,7 +113,7 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
try {
buildPanel(properties.id(),
Arrays.<ColumnConfig<TabResource, ?>> asList(nameColumn,
typeColumn, ownerColumn, agencyColumn, dateColumn),
tableTypeNameColumn, ownerColumn, agencyColumn, dateColumn),
nameColumn);
} catch (Throwable e) {