2014-10-08 19:01:25 +02:00
|
|
|
package org.gcube.portlets.user.td.mainboxwidget.client;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsLockedException;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
|
2014-10-10 17:58:35 +02:00
|
|
|
import org.gcube.portlets.user.td.mainboxwidget.client.resources.MainboxResources;
|
2014-10-08 19:01:25 +02:00
|
|
|
import org.gcube.portlets.user.td.mainboxwidget.client.tdx.TDXPanel;
|
2014-10-14 19:35:25 +02:00
|
|
|
import org.gcube.portlets.user.td.mainboxwidget.client.utils.UtilsGXT3;
|
2014-10-10 17:58:35 +02:00
|
|
|
import org.gcube.portlets.user.td.mainboxwidget.client.welcome.WelcomePanel;
|
2014-10-09 18:50:41 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.client.event.DataViewActiveEvent;
|
2014-10-14 19:35:25 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredEvent;
|
2014-10-15 18:45:24 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.client.type.DataViewActiveType;
|
2014-10-14 19:35:25 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType;
|
2014-10-08 19:01:25 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.dataview.DataView;
|
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.dataview.TabularResourceDataView;
|
|
|
|
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
2014-10-10 17:58:35 +02:00
|
|
|
import com.google.gwt.core.client.GWT;
|
2014-10-09 18:50:41 +02:00
|
|
|
import com.google.gwt.event.logical.shared.SelectionEvent;
|
|
|
|
import com.google.gwt.event.logical.shared.SelectionHandler;
|
2014-10-14 19:35:25 +02:00
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
2014-10-08 19:01:25 +02:00
|
|
|
import com.google.gwt.user.client.ui.Widget;
|
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
2014-10-10 17:58:35 +02:00
|
|
|
import com.sencha.gxt.theme.blue.client.tabs.BlueTabPanelBottomAppearance;
|
2014-10-08 19:01:25 +02:00
|
|
|
import com.sencha.gxt.widget.core.client.TabItemConfig;
|
|
|
|
import com.sencha.gxt.widget.core.client.TabPanel;
|
|
|
|
import com.sencha.gxt.widget.core.client.event.BeforeCloseEvent;
|
|
|
|
import com.sencha.gxt.widget.core.client.event.BeforeCloseEvent.BeforeCloseHandler;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author giancarlo email: <a
|
|
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class MainBox extends TabPanel {
|
|
|
|
|
2014-10-15 18:45:24 +02:00
|
|
|
private static final int MIN_TAB_WIDTH = 40;
|
|
|
|
private static final int TAB_WIDTH = 160;
|
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
protected EventBus eventBus;
|
|
|
|
protected MainBoxPanel mainBoxPanel;
|
|
|
|
protected ArrayList<TDXPanel> tdxPanelList;
|
|
|
|
|
|
|
|
public MainBox(String name, EventBus eventBus, MainBoxPanel mainBoxPanel) {
|
2014-10-14 19:35:25 +02:00
|
|
|
super(
|
|
|
|
GWT.<TabPanelAppearance> create(BlueTabPanelBottomAppearance.class));
|
2014-10-08 19:01:25 +02:00
|
|
|
Log.debug("Create MainBox");
|
2014-10-09 18:50:41 +02:00
|
|
|
setId(name);
|
2014-10-08 19:01:25 +02:00
|
|
|
this.eventBus = eventBus;
|
|
|
|
this.mainBoxPanel = mainBoxPanel;
|
2014-10-09 18:50:41 +02:00
|
|
|
init();
|
|
|
|
|
|
|
|
}
|
2014-10-14 19:35:25 +02:00
|
|
|
|
|
|
|
protected void init() {
|
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
setBodyBorder(false);
|
|
|
|
setBorders(false);
|
|
|
|
setAnimScroll(true);
|
|
|
|
setTabScroll(true);
|
|
|
|
setCloseContextMenu(true);
|
2014-10-10 17:58:35 +02:00
|
|
|
setResizeTabs(true);
|
2014-10-15 18:45:24 +02:00
|
|
|
setTabWidth(TAB_WIDTH);
|
|
|
|
setMinTabWidth(MIN_TAB_WIDTH);
|
2014-10-08 19:01:25 +02:00
|
|
|
|
|
|
|
tdxPanelList = new ArrayList<TDXPanel>();
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-09 18:50:41 +02:00
|
|
|
addSelectionHandler(new SelectionHandler<Widget>() {
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-09 18:50:41 +02:00
|
|
|
@Override
|
|
|
|
public void onSelection(SelectionEvent<Widget> event) {
|
2014-10-14 19:35:25 +02:00
|
|
|
Widget widget = event.getSelectedItem();
|
|
|
|
if (widget instanceof TDXPanel) {
|
|
|
|
TDXPanel tdxPanel = (TDXPanel) widget;
|
|
|
|
TabularResourceDataView tabularResourceDataView = tdxPanel
|
|
|
|
.getTabularResourceDataView();
|
2014-10-15 18:45:24 +02:00
|
|
|
DataViewActiveEvent dataViewActiveEvent = new DataViewActiveEvent();
|
|
|
|
dataViewActiveEvent.setDataView(tabularResourceDataView);
|
|
|
|
dataViewActiveEvent
|
|
|
|
.setDataViewActiveType(DataViewActiveType.NEWACTIVE);
|
2014-10-09 18:50:41 +02:00
|
|
|
eventBus.fireEvent(dataViewActiveEvent);
|
|
|
|
} else {
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-09 18:50:41 +02:00
|
|
|
}
|
2014-10-30 11:56:14 +01:00
|
|
|
// forceLayout();
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-09 18:50:41 +02:00
|
|
|
}
|
|
|
|
});
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public void startTabs() {
|
|
|
|
Log.debug("Start MainBox Tabs");
|
2014-10-14 19:35:25 +02:00
|
|
|
// addWelcomeTab();
|
|
|
|
// setActiveWidget(getWidget(0));
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public void openTDXTab(DataView dataView) {
|
|
|
|
if (dataView instanceof TabularResourceDataView) {
|
|
|
|
TabularResourceDataView tabularResourceDataView = (TabularResourceDataView) dataView;
|
|
|
|
Log.debug("Open TDX Tab");
|
|
|
|
if (tdxPanelList == null) {
|
|
|
|
tdxPanelList = new ArrayList<TDXPanel>();
|
|
|
|
}
|
|
|
|
addTDXPanel(tabularResourceDataView);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Close
|
2014-10-15 18:45:24 +02:00
|
|
|
public void closeAllTabs() {
|
2014-10-08 19:01:25 +02:00
|
|
|
Log.debug("Close TDX Tabs");
|
|
|
|
if (tdxPanelList != null) {
|
|
|
|
for (TDXPanel tdxPanel : tdxPanelList) {
|
|
|
|
remove(tdxPanel);
|
|
|
|
|
|
|
|
}
|
|
|
|
tdxPanelList.clear();
|
|
|
|
|
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
forceLayout();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void closeTab(DataView dataView) {
|
|
|
|
if (dataView instanceof TabularResourceDataView) {
|
|
|
|
TabularResourceDataView tabularResourceDataView = (TabularResourceDataView) dataView;
|
|
|
|
if (tdxPanelList != null) {
|
|
|
|
TDXPanel tdxPanelFound = null;
|
|
|
|
for (TDXPanel tdxPanel : tdxPanelList) {
|
|
|
|
if (tdxPanel
|
|
|
|
.isValidDataViewRequest(tabularResourceDataView)) {
|
|
|
|
tdxPanelFound = tdxPanel;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (tdxPanelFound != null) {
|
|
|
|
remove(tdxPanelFound);
|
|
|
|
tdxPanelList.remove(tdxPanelFound);
|
|
|
|
TabularResourceDataView oldDataView = tdxPanelFound
|
|
|
|
.getTabularResourceDataView();
|
|
|
|
Widget active = getActiveWidget();
|
|
|
|
if (active != null) {
|
|
|
|
if (active instanceof TDXPanel) {
|
|
|
|
TDXPanel tdxPanelActive = (TDXPanel) active;
|
|
|
|
TabularResourceDataView newDataView = tdxPanelActive
|
|
|
|
.getTabularResourceDataView();
|
|
|
|
DataViewActiveEvent dataViewActiveEvent = new DataViewActiveEvent();
|
|
|
|
dataViewActiveEvent.setDataView(newDataView);
|
|
|
|
dataViewActiveEvent.setOldDataView(oldDataView);
|
|
|
|
dataViewActiveEvent
|
|
|
|
.setDataViewActiveType(DataViewActiveType.ACTIVEAFTERCLOSE);
|
|
|
|
eventBus.fireEvent(dataViewActiveEvent);
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
DataViewActiveEvent dataViewActiveEvent = new DataViewActiveEvent();
|
|
|
|
dataViewActiveEvent.setOldDataView(oldDataView);
|
|
|
|
dataViewActiveEvent
|
|
|
|
.setDataViewActiveType(DataViewActiveType.CLOSE);
|
|
|
|
eventBus.fireEvent(dataViewActiveEvent);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2014-10-08 19:01:25 +02:00
|
|
|
|
2014-10-15 18:45:24 +02:00
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
forceLayout();
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|
|
|
|
|
2014-10-17 18:41:00 +02:00
|
|
|
//
|
|
|
|
public void updateTabName(DataView dataView) {
|
|
|
|
if (dataView instanceof TabularResourceDataView) {
|
|
|
|
TabularResourceDataView tabularResourceDataView = (TabularResourceDataView) dataView;
|
|
|
|
if (tabularResourceDataView.getTabName() != null
|
|
|
|
&& !tabularResourceDataView.getTabName().isEmpty()) {
|
|
|
|
if (tdxPanelList != null) {
|
|
|
|
|
|
|
|
TDXPanel tdxPanelFound = null;
|
|
|
|
for (TDXPanel tdxPanel : tdxPanelList) {
|
|
|
|
if (tdxPanel
|
|
|
|
.isValidDataViewRequest(tabularResourceDataView)) {
|
|
|
|
tdxPanelFound = tdxPanel;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (tdxPanelFound != null) {
|
|
|
|
TabItemConfig tdxPanelItemConf = getConfig(tdxPanelFound);
|
|
|
|
|
|
|
|
tdxPanelItemConf.setText(tabularResourceDataView
|
|
|
|
.getTabName());
|
|
|
|
update(tdxPanelFound, tdxPanelItemConf);
|
|
|
|
forceLayout();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
public void updateTabs(DataView dataView) {
|
|
|
|
try {
|
|
|
|
Log.debug("Update MainBox Tabs");
|
|
|
|
|
|
|
|
if (dataView instanceof TabularResourceDataView) {
|
|
|
|
TabularResourceDataView tabularResourceDataView = (TabularResourceDataView) dataView;
|
2014-10-14 19:35:25 +02:00
|
|
|
boolean found = false;
|
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
for (TDXPanel tdxPanel : tdxPanelList) {
|
2014-10-14 19:35:25 +02:00
|
|
|
if (tdxPanel
|
|
|
|
.isValidDataViewRequest(tabularResourceDataView)) {
|
2014-10-08 19:01:25 +02:00
|
|
|
tdxPanel.update(tabularResourceDataView);
|
2014-10-15 18:45:24 +02:00
|
|
|
// TabItemConfig tabItemConfig=getConfig(tdxPanel);
|
2014-10-14 19:35:25 +02:00
|
|
|
found = true;
|
2014-10-29 18:57:12 +01:00
|
|
|
forceLayout();
|
2014-10-08 19:01:25 +02:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2014-10-14 19:35:25 +02:00
|
|
|
if (!found) {
|
2014-10-08 19:01:25 +02:00
|
|
|
addTDXPanel(tabularResourceDataView);
|
|
|
|
}
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|
2014-10-30 11:56:14 +01:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
} catch (Throwable e) {
|
|
|
|
Log.error("Error in MainBox: " + e.getLocalizedMessage());
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void addTDXPanel(TabularResourceDataView tabularResourceDataView) {
|
|
|
|
for (TDXPanel tdxPanel : tdxPanelList) {
|
|
|
|
if (tdxPanel.getTabularResourceDataView().getTrId().getId()
|
|
|
|
.compareTo(tabularResourceDataView.getTrId().getId()) == 0) {
|
|
|
|
tdxPanel.update(tabularResourceDataView);
|
2014-10-30 11:56:14 +01:00
|
|
|
Log.debug("Set Active Widget: " + tdxPanel.getId());
|
2014-10-08 19:01:25 +02:00
|
|
|
setActiveWidget(tdxPanel);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
retrieveTRName(tabularResourceDataView);
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
};
|
2014-10-08 19:01:25 +02:00
|
|
|
|
2014-10-15 18:45:24 +02:00
|
|
|
protected void addContentTDXPanel(
|
|
|
|
TabularResourceDataView tabularResourceDataView,
|
|
|
|
TabResource tabResource) {
|
2014-10-30 11:56:14 +01:00
|
|
|
|
2014-10-17 18:41:00 +02:00
|
|
|
TabItemConfig tdxPanelItemConf = new TabItemConfig(
|
|
|
|
tabResource.getName(), true);
|
2014-10-10 17:58:35 +02:00
|
|
|
tdxPanelItemConf.setIcon(MainboxResources.INSTANCE.tabularResource());
|
2014-10-09 18:50:41 +02:00
|
|
|
final TDXPanel tdxPanel = new TDXPanel(eventBus);
|
|
|
|
tdxPanel.open(tabularResourceDataView);
|
2014-10-08 19:01:25 +02:00
|
|
|
tdxPanelList.add(tdxPanel);
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
add(tdxPanel, tdxPanelItemConf);
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
|
|
|
|
|
|
|
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
|
|
|
if (tdxPanel == event.getItem()) {
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
remove(tdxPanel);
|
|
|
|
tdxPanelList.remove(tdxPanel);
|
2014-10-14 19:35:25 +02:00
|
|
|
TabularResourceDataView oldDataView = tdxPanel
|
|
|
|
.getTabularResourceDataView();
|
|
|
|
Widget active = getActiveWidget();
|
2014-10-15 18:45:24 +02:00
|
|
|
if (active != null) {
|
|
|
|
if (active instanceof TDXPanel) {
|
|
|
|
TDXPanel tdxPanelActive = (TDXPanel) active;
|
|
|
|
TabularResourceDataView newDataView = tdxPanelActive
|
|
|
|
.getTabularResourceDataView();
|
|
|
|
DataViewActiveEvent dataViewActiveEvent = new DataViewActiveEvent();
|
|
|
|
dataViewActiveEvent.setDataView(newDataView);
|
|
|
|
dataViewActiveEvent.setOldDataView(oldDataView);
|
|
|
|
dataViewActiveEvent
|
|
|
|
.setDataViewActiveType(DataViewActiveType.ACTIVEAFTERCLOSE);
|
|
|
|
eventBus.fireEvent(dataViewActiveEvent);
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
DataViewActiveEvent dataViewActiveEvent = new DataViewActiveEvent();
|
|
|
|
dataViewActiveEvent.setOldDataView(oldDataView);
|
|
|
|
dataViewActiveEvent
|
|
|
|
.setDataViewActiveType(DataViewActiveType.CLOSE);
|
2014-10-14 19:35:25 +02:00
|
|
|
eventBus.fireEvent(dataViewActiveEvent);
|
|
|
|
}
|
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
setActiveWidget(tdxPanel);
|
2014-10-29 18:57:12 +01:00
|
|
|
forceLayout();
|
2014-10-14 19:35:25 +02:00
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-10 17:58:35 +02:00
|
|
|
protected void addWelcomeTab() {
|
2014-10-14 19:35:25 +02:00
|
|
|
|
|
|
|
TabItemConfig welcomeItemConf = new TabItemConfig("Welcome", false);
|
2014-10-10 17:58:35 +02:00
|
|
|
|
|
|
|
final WelcomePanel welcomePanel = new WelcomePanel(eventBus);
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-10 17:58:35 +02:00
|
|
|
add(welcomePanel, welcomeItemConf);
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-10 17:58:35 +02:00
|
|
|
addBeforeCloseHandler(new BeforeCloseHandler<Widget>() {
|
|
|
|
|
|
|
|
public void onBeforeClose(BeforeCloseEvent<Widget> event) {
|
|
|
|
if (welcomePanel == event.getItem()) {
|
|
|
|
remove(welcomePanel);
|
2014-10-14 19:35:25 +02:00
|
|
|
|
2014-10-10 17:58:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
setActiveWidget(welcomePanel);
|
|
|
|
};
|
2014-10-08 19:01:25 +02:00
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
public ArrayList<String> getSelectedRowsId() {
|
|
|
|
ArrayList<String> rowsId = null;
|
|
|
|
Widget active = getActiveWidget();
|
|
|
|
if (active instanceof TDXPanel) {
|
|
|
|
TDXPanel tdxPanel = (TDXPanel) active;
|
|
|
|
rowsId = tdxPanel.getTabularData().getGridPanel()
|
|
|
|
.getSelectedRowsId();
|
|
|
|
}
|
|
|
|
return rowsId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getColumnName(int columnSelected) {
|
|
|
|
String columnName = null;
|
|
|
|
Widget active = getActiveWidget();
|
|
|
|
if (active instanceof TDXPanel) {
|
|
|
|
TDXPanel tdxPanel = (TDXPanel) active;
|
|
|
|
columnName = tdxPanel.getTabularData()
|
|
|
|
.getColumnName(columnSelected);
|
|
|
|
}
|
|
|
|
return columnName;
|
|
|
|
}
|
|
|
|
|
2014-10-15 18:45:24 +02:00
|
|
|
protected void retrieveTRName(
|
|
|
|
final TabularResourceDataView tabularResourceDataView) {
|
|
|
|
TDGWTServiceAsync.INSTANCE
|
|
|
|
.getInSessionTabResourceInfo(new AsyncCallback<TabResource>() {
|
2014-10-14 19:35:25 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onFailure(Throwable caught) {
|
|
|
|
if (caught instanceof TDGWTSessionExpiredException) {
|
|
|
|
eventBus.fireEvent(new SessionExpiredEvent(
|
|
|
|
SessionExpiredType.EXPIREDONSERVER));
|
|
|
|
} else {
|
2014-10-15 18:45:24 +02:00
|
|
|
if (caught instanceof TDGWTIsLockedException) {
|
2014-10-14 19:35:25 +02:00
|
|
|
Log.error("Error: "
|
|
|
|
+ caught.getLocalizedMessage());
|
2014-10-15 18:45:24 +02:00
|
|
|
UtilsGXT3.alert("Error",
|
|
|
|
caught.getLocalizedMessage());
|
2014-10-14 19:35:25 +02:00
|
|
|
} else {
|
2014-10-15 18:45:24 +02:00
|
|
|
Log.error("Error in get in Session Tabular Resource Information: "
|
|
|
|
+ caught.getLocalizedMessage());
|
|
|
|
UtilsGXT3.alert("Error",
|
|
|
|
"Error in get in Session Tabular Resource Information: "
|
|
|
|
+ caught.getLocalizedMessage());
|
2014-10-14 19:35:25 +02:00
|
|
|
}
|
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onSuccess(TabResource result) {
|
2014-10-30 11:56:14 +01:00
|
|
|
if (result != null) {
|
|
|
|
addContentTDXPanel(tabularResourceDataView, result);
|
|
|
|
} else {
|
|
|
|
Log.debug("No tabular resource In Session");
|
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-14 19:35:25 +02:00
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
});
|
2014-10-14 19:35:25 +02:00
|
|
|
}
|
2014-10-15 18:45:24 +02:00
|
|
|
|
2014-10-08 19:01:25 +02:00
|
|
|
}
|