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:
parent
cd885a3fb3
commit
ad94021a4f
|
@ -19,6 +19,14 @@ import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
|
||||||
*/
|
*/
|
||||||
public class GxtToolBarItemAccounting extends 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 TextField<String> txfName = new TextField<String>();
|
||||||
private Text txtOwner = new Text("Empty");
|
private Text txtOwner = new Text("Empty");
|
||||||
private Text txtCreationTime = new Text("Empty");
|
private Text txtCreationTime = new Text("Empty");
|
||||||
|
@ -34,7 +42,7 @@ public class GxtToolBarItemAccounting extends ToolBar{
|
||||||
|
|
||||||
private void initToolbar(){
|
private void initToolbar(){
|
||||||
|
|
||||||
bHistory = new Button("History");
|
bHistory = new Button(HISTORY);
|
||||||
bHistory.setIcon(Resources.getIconHistory());
|
bHistory.setIcon(Resources.getIconHistory());
|
||||||
|
|
||||||
bHistory.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
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.setIcon(Resources.getIconNotRead());
|
||||||
|
|
||||||
bRead.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
bRead.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
||||||
|
|
Loading…
Reference in New Issue