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:
Francesco Mangiacrapa 2013-11-15 11:30:34 +00:00
parent 741f5f62ab
commit 8bfd8ef695
2 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,6 @@ public class ConstantsPortlet {
public static final String GET_OPEARATION_PARAMETER ="operation";
public static final String GET_VALIDATE_SESSION="validatesession";
// Div Gwt
public static final String WORKSPACEDIV = "workspaceDiv";

View File

@ -67,7 +67,9 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
ColumnConfig icon = new ColumnConfig(ConstantsExplorer.ICON, "", 25);
ColumnConfig name = new ColumnConfig(ConstantsExplorer.NAME, ConstantsExplorer.NAME, 300);
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 size = new ColumnConfig(ConstantsExplorer.SIZE, ConstantsExplorer.SIZE, 50);
ColumnConfig ownerFullName = new ColumnConfig(ConstantsExplorer.OWNERFULLNAME, ConstantsExplorer.OWNER, 100);
@ -77,9 +79,9 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
ColumnModel cm = null;
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
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;
@ -162,7 +164,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
StringFilter nameFilter = new StringFilter(ConstantsExplorer.NAME);
StringFilter authorFilter = new StringFilter(ConstantsExplorer.TYPE);
DateFilter dateFilter = new DateFilter(ConstantsExplorer.GRIDCOLUMNCREATIONDATE);
DateFilter dateFilter = new DateFilter(ConstantsExplorer.LASTMODIFIED);
NumericFilter sizeFilter = new NumericFilter(ConstantsExplorer.SIZE);