Added Open TR with parameter on url
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@113569 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dea63103e7
commit
c86546ea06
|
@ -339,9 +339,16 @@ public class TabularDataController {
|
|||
|
||||
//
|
||||
public void restoreUISession() {
|
||||
TDGWTServiceAsync.INSTANCE.restoreUISession(new AsyncCallback<TRId>() {
|
||||
String value = com.google.gwt.user.client.Window.Location
|
||||
.getParameter("TabularResourceId");
|
||||
TRId startTRId = new TRId(value);
|
||||
|
||||
TDGWTServiceAsync.INSTANCE.restoreUISession(startTRId,
|
||||
new AsyncCallback<TRId>() {
|
||||
|
||||
public void onFailure(Throwable caught) {
|
||||
UtilsGXT3.alert("Error",
|
||||
caught.getLocalizedMessage());
|
||||
|
||||
}
|
||||
|
||||
|
@ -1989,8 +1996,6 @@ public class TabularDataController {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void openGeometryCreatePoint() {
|
||||
Log.debug("Request Geometry Create Point Tab");
|
||||
if (trId != null) {
|
||||
|
@ -2005,7 +2010,6 @@ public class TabularDataController {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private void openDownscaleCSquare() {
|
||||
openDownscaleCSquare(null, null);
|
||||
}
|
||||
|
@ -2025,8 +2029,6 @@ public class TabularDataController {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void openBackgroundMonitor() {
|
||||
Log.debug("Request Open Monitor Background Tab");
|
||||
WidgetRequestEvent e = new WidgetRequestEvent(
|
||||
|
|
|
@ -247,7 +247,7 @@ public class TemplateApplyPanel extends FramedPanel {
|
|||
v.add(toolBarHead, new VerticalLayoutData(1, -1, new Margins(0)));
|
||||
v.add(grid, new VerticalLayoutData(-1, -1, new Margins(0)));
|
||||
v.add(toolBar, new VerticalLayoutData(1, 25, new Margins(0)));
|
||||
v.add(flowButton, new VerticalLayoutData(-1, 36,
|
||||
v.add(flowButton, new VerticalLayoutData(1, 36,
|
||||
new Margins(5, 2, 5, 2)));
|
||||
add(v);
|
||||
|
||||
|
|
Loading…
Reference in New Issue