Fixed resume after background
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@111444 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
44cc5740eb
commit
ebd3be4c97
|
@ -649,7 +649,7 @@ public class TabularDataController {
|
|||
|
||||
final ConfirmMessageBox mb = new ConfirmMessageBox("Confirm",
|
||||
"Are you sure you want to delete the taular resource?");
|
||||
// Next in GXT 3.1.1
|
||||
|
||||
|
||||
mb.addDialogHideHandler(new DialogHideHandler() {
|
||||
|
||||
|
@ -685,24 +685,7 @@ public class TabularDataController {
|
|||
}
|
||||
});
|
||||
|
||||
/*
|
||||
* GXT 3.0.1 mb.addHideHandler(new HideHandler() { public void
|
||||
* onHide(HideEvent event) { if (mb.getHideButton() ==
|
||||
* mb.getButtonById(PredefinedButton.YES .name())) {
|
||||
* Log.debug("Remove TR:" + trId);
|
||||
* TDGWTServiceAsync.INSTANCE.removeTabularResource(trId, new
|
||||
* AsyncCallback<Void>() {
|
||||
*
|
||||
* public void onFailure(Throwable caught) {
|
||||
* UtilsGXT3.alert("Error on Delete", caught.getLocalizedMessage()); }
|
||||
*
|
||||
* public void onSuccess(Void result) { requestCloseCurrent(); }
|
||||
*
|
||||
* });
|
||||
*
|
||||
* mb.hide(); } else if (mb.getHideButton() == mb
|
||||
* .getButtonById(PredefinedButton.NO.name())) { mb.hide(); } } });
|
||||
*/
|
||||
|
||||
mb.setWidth(300);
|
||||
mb.show();
|
||||
|
||||
|
@ -992,6 +975,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1037,6 +1021,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1082,6 +1067,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1131,6 +1117,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1171,6 +1158,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1211,6 +1199,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1251,6 +1240,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1304,6 +1294,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1344,6 +1335,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1383,6 +1375,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1422,6 +1415,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
@ -1475,6 +1469,7 @@ public class TabularDataController {
|
|||
@Override
|
||||
public void putInBackground() {
|
||||
Log.debug("PutInBakground");
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
|
|
|
@ -74,14 +74,14 @@
|
|||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
|
||||
|
||||
<!-- <set-property name="log_DivLogger" value="ENABLED" />
|
||||
<!--
|
||||
<set-property name="log_DivLogger" value="ENABLED" />
|
||||
<set-property name="log_ConsoleLogger" value="ENABLED" />
|
||||
<set-property name="log_GWTLogger" value="ENABLED" />
|
||||
<set-property name="log_SystemLogger" value="ENABLED" /> -->
|
||||
<set-property name="log_SystemLogger" value="ENABLED" /> -->
|
||||
<!-- Not in GWT 2.6 <set-property name="log_FirebugLogger" value="ENABLED" /> -->
|
||||
|
||||
|
||||
|
||||
<set-property name="log_DivLogger" value="DISABLED" />
|
||||
<set-property name="log_ConsoleLogger" value="DISABLED" />
|
||||
<set-property name="log_GWTLogger" value="DISABLED" />
|
||||
|
|
Loading…
Reference in New Issue