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:
parent
6198466c4c
commit
e3faf134c1
|
@ -16,7 +16,7 @@ import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class TDOpen extends WizardWindow {
|
public class TDOpen extends WizardWindow {
|
||||||
protected static final int WITHWIZARD=720;
|
protected static final int WITHWIZARD=750;
|
||||||
protected static final int HEIGHTWIZARD=520;
|
protected static final int HEIGHTWIZARD=520;
|
||||||
|
|
||||||
protected TDOpenSession tdOpenSession;
|
protected TDOpenSession tdOpenSession;
|
||||||
|
|
|
@ -22,6 +22,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();
|
||||||
|
|
|
@ -77,7 +77,11 @@ 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");
|
||||||
|
@ -109,7 +113,7 @@ 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, ownerColumn, agencyColumn, dateColumn),
|
tableTypeNameColumn, ownerColumn, agencyColumn, dateColumn),
|
||||||
nameColumn);
|
nameColumn);
|
||||||
|
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
|
Loading…
Reference in New Issue