From ad94021a4f75be4e5ee3e9c76d7ae378b668c840 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Mon, 27 May 2013 10:21:23 +0000 Subject: [PATCH] GUI for accountings was implemented git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@76291 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../view/toolbars/GxtToolBarItemAccounting.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemAccounting.java b/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemAccounting.java index b285671..4b1fba3 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemAccounting.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemAccounting.java @@ -19,6 +19,14 @@ import com.extjs.gxt.ui.client.widget.toolbar.ToolBar; */ public class GxtToolBarItemAccounting extends ToolBar{ + /** + * + */ + protected static final String READ = "Read"; + /** + * + */ + protected static final String HISTORY = "History"; private TextField txfName = new TextField(); private Text txtOwner = new Text("Empty"); private Text txtCreationTime = new Text("Empty"); @@ -34,7 +42,7 @@ public class GxtToolBarItemAccounting extends ToolBar{ private void initToolbar(){ - bHistory = new Button("History"); + bHistory = new Button(HISTORY); bHistory.setIcon(Resources.getIconHistory()); bHistory.addSelectionListener(new SelectionListener() { @@ -47,7 +55,7 @@ public class GxtToolBarItemAccounting extends ToolBar{ } }); - bRead = new Button("Read"); + bRead = new Button(READ); bRead.setIcon(Resources.getIconNotRead()); bRead.addSelectionListener(new SelectionListener() {