Updated to JAVA 7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@86983 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6f4b7c8d3c
commit
428e335c4d
|
@ -86,7 +86,7 @@ public class ToolBox extends TabPanel {
|
||||||
|
|
||||||
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
||||||
if (getWidgetCount() == 1) {
|
if (getWidgetCount() == 1) {
|
||||||
toolBoxPanel.closePanelOnly();
|
toolBoxPanel.closePanelOnly();
|
||||||
|
@ -109,7 +109,7 @@ public class ToolBox extends TabPanel {
|
||||||
TextButton buttonTask=new TextButton("Tasks");
|
TextButton buttonTask=new TextButton("Tasks");
|
||||||
buttonTask.addSelectHandler(new SelectEvent.SelectHandler() {
|
buttonTask.addSelectHandler(new SelectEvent.SelectHandler() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onSelect(SelectEvent event) {
|
public void onSelect(SelectEvent event) {
|
||||||
//tdTaskMainWindow.show();
|
//tdTaskMainWindow.show();
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ public class ToolBox extends TabPanel {
|
||||||
add(taskPanel, tdTasksItemConf);
|
add(taskPanel, tdTasksItemConf);
|
||||||
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
||||||
if (getWidgetCount() == 1) {
|
if (getWidgetCount() == 1) {
|
||||||
toolBoxPanel.closePanelOnly();
|
toolBoxPanel.closePanelOnly();
|
||||||
|
|
|
@ -9,7 +9,7 @@ import com.google.web.bindery.event.shared.SimpleEventBus;
|
||||||
|
|
||||||
public class ToolBoxEntry implements EntryPoint {
|
public class ToolBoxEntry implements EntryPoint {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onModuleLoad() {
|
public void onModuleLoad() {
|
||||||
|
|
||||||
EventBus eventBus = new SimpleEventBus();
|
EventBus eventBus = new SimpleEventBus();
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class ToolBoxPanel extends ContentPanel {
|
||||||
eventBus.addHandler(RibbonEvent.TYPE,
|
eventBus.addHandler(RibbonEvent.TYPE,
|
||||||
new RibbonEvent.RibbonEventHandler() {
|
new RibbonEvent.RibbonEventHandler() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onRibbon(RibbonEvent event) {
|
public void onRibbon(RibbonEvent event) {
|
||||||
manageRibbonEvents(event);
|
manageRibbonEvents(event);
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ public class ToolBoxPanel extends ContentPanel {
|
||||||
UIStateEvent.TYPE,
|
UIStateEvent.TYPE,
|
||||||
new UIStateEvent.UIStateHandler() {
|
new UIStateEvent.UIStateHandler() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onUIState(UIStateEvent event) {
|
public void onUIState(UIStateEvent event) {
|
||||||
manageUIStateEvents(event);
|
manageUIStateEvents(event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue