The grid info was changed, it was added "Last Update"
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@85530 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
741f5f62ab
commit
8bfd8ef695
|
@ -24,7 +24,6 @@ public class ConstantsPortlet {
|
||||||
public static final String GET_OPEARATION_PARAMETER ="operation";
|
public static final String GET_OPEARATION_PARAMETER ="operation";
|
||||||
public static final String GET_VALIDATE_SESSION="validatesession";
|
public static final String GET_VALIDATE_SESSION="validatesession";
|
||||||
|
|
||||||
|
|
||||||
// Div Gwt
|
// Div Gwt
|
||||||
public static final String WORKSPACEDIV = "workspaceDiv";
|
public static final String WORKSPACEDIV = "workspaceDiv";
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,9 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
ColumnConfig icon = new ColumnConfig(ConstantsExplorer.ICON, "", 25);
|
ColumnConfig icon = new ColumnConfig(ConstantsExplorer.ICON, "", 25);
|
||||||
ColumnConfig name = new ColumnConfig(ConstantsExplorer.NAME, ConstantsExplorer.NAME, 300);
|
ColumnConfig name = new ColumnConfig(ConstantsExplorer.NAME, ConstantsExplorer.NAME, 300);
|
||||||
ColumnConfig type = new ColumnConfig(ConstantsExplorer.TYPE, ConstantsExplorer.TYPE, 100);
|
ColumnConfig type = new ColumnConfig(ConstantsExplorer.TYPE, ConstantsExplorer.TYPE, 100);
|
||||||
ColumnConfig creationDate = new ColumnConfig(ConstantsExplorer.GRIDCOLUMNCREATIONDATE, ConstantsExplorer.GRIDCOLUMNCREATIONDATE, 100);
|
// ColumnConfig creationDate = new ColumnConfig(ConstantsExplorer.GRIDCOLUMNCREATIONDATE, ConstantsExplorer.GRIDCOLUMNCREATIONDATE, 100);
|
||||||
|
|
||||||
|
ColumnConfig lastUpdate = new ColumnConfig(ConstantsExplorer.LASTMODIFIED, "Last Update", 100);
|
||||||
ColumnConfig category = new ColumnConfig(ConstantsExplorer.SHORTCUTCATEGORY, ConstantsExplorer.SHORTCUTCATEGORY, 100);
|
ColumnConfig category = new ColumnConfig(ConstantsExplorer.SHORTCUTCATEGORY, ConstantsExplorer.SHORTCUTCATEGORY, 100);
|
||||||
ColumnConfig size = new ColumnConfig(ConstantsExplorer.SIZE, ConstantsExplorer.SIZE, 50);
|
ColumnConfig size = new ColumnConfig(ConstantsExplorer.SIZE, ConstantsExplorer.SIZE, 50);
|
||||||
ColumnConfig ownerFullName = new ColumnConfig(ConstantsExplorer.OWNERFULLNAME, ConstantsExplorer.OWNER, 100);
|
ColumnConfig ownerFullName = new ColumnConfig(ConstantsExplorer.OWNERFULLNAME, ConstantsExplorer.OWNER, 100);
|
||||||
|
@ -77,9 +79,9 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
ColumnModel cm = null;
|
ColumnModel cm = null;
|
||||||
|
|
||||||
if(group)
|
if(group)
|
||||||
cm = new ColumnModel(Arrays.asList(icon, name, ownerFullName, type, creationDate, size, category));
|
cm = new ColumnModel(Arrays.asList(icon, name, ownerFullName, type, lastUpdate, size, category));
|
||||||
else
|
else
|
||||||
cm = new ColumnModel(Arrays.asList(icon, name, ownerFullName, type, creationDate, size));
|
cm = new ColumnModel(Arrays.asList(icon, name, ownerFullName, type, lastUpdate, size));
|
||||||
|
|
||||||
final ColumnModel columnModel = cm;
|
final ColumnModel columnModel = cm;
|
||||||
|
|
||||||
|
@ -162,7 +164,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
|
|
||||||
StringFilter nameFilter = new StringFilter(ConstantsExplorer.NAME);
|
StringFilter nameFilter = new StringFilter(ConstantsExplorer.NAME);
|
||||||
StringFilter authorFilter = new StringFilter(ConstantsExplorer.TYPE);
|
StringFilter authorFilter = new StringFilter(ConstantsExplorer.TYPE);
|
||||||
DateFilter dateFilter = new DateFilter(ConstantsExplorer.GRIDCOLUMNCREATIONDATE);
|
DateFilter dateFilter = new DateFilter(ConstantsExplorer.LASTMODIFIED);
|
||||||
NumericFilter sizeFilter = new NumericFilter(ConstantsExplorer.SIZE);
|
NumericFilter sizeFilter = new NumericFilter(ConstantsExplorer.SIZE);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue