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() {