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
This commit is contained in:
Francesco Mangiacrapa 2013-05-27 10:21:23 +00:00
parent cd885a3fb3
commit ad94021a4f
1 changed files with 10 additions and 2 deletions

View File

@ -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<String> txfName = new TextField<String>();
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<ButtonEvent>() {
@ -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<ButtonEvent>() {