Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@87263 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-20 14:51:58 +00:00
parent 6709bb70d7
commit 7c895046cb
3 changed files with 12 additions and 13 deletions

View File

@ -4,10 +4,10 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="tabular-data-widget-common-event-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widget-common-event/tabular-data-widget-common-event">
<dependent-module archiveName="tabular-data-widgetx-tdx-source-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widgetx-tdx-source/tabular-data-widgetx-tdx-source">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="tabular-data-csv-import-widget-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-csv-import-widget/tabular-data-csv-import-widget">
<dependent-module archiveName="tabular-data-widgetx-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widgetx/tabular-data-widgetx">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="tabular-data-gwt-service-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-gwt-service/tabular-data-gwt-service">

View File

@ -24,15 +24,11 @@ import org.gcube.portlets.user.tdwx.shared.model.TableId;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.RunAsyncCallback;
import com.google.gwt.dom.client.Document;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.SimpleEventBus;
import com.sencha.gxt.core.client.Style.Anchor;
import com.sencha.gxt.core.client.Style.AnchorAlignment;
import com.sencha.gxt.core.client.util.Point;
import com.sencha.gxt.widget.core.client.ContentPanel;
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
import com.sencha.gxt.widget.core.client.container.BorderLayoutContainer.BorderLayoutData;
@ -54,7 +50,7 @@ public class TabularDataController {
protected UIStateType uiState = UIStateType.START;
protected ContentPanel toolBoxPanel;
protected BorderLayoutData eastData;
protected BorderLayoutData westData;
/**
* Tabular Resource Id
@ -90,12 +86,12 @@ public class TabularDataController {
this.toolBoxPanel = toolBoxPanel;
}
public BorderLayoutData getEastData() {
return eastData;
public BorderLayoutData getWestData() {
return westData;
}
public void setEastData(BorderLayoutData eastData) {
this.eastData = eastData;
public void setWestData(BorderLayoutData westData) {
this.westData = westData;
}
protected void bindToEvents() {
@ -462,8 +458,11 @@ public class TabularDataController {
"OperationId: " + event.getOperationId() + " Column: \n"
+ event.getColumnSelected());
String opId = event.getOperationId();
String columnName=tabularData.getColumnId(event.getColumnSelected());
Log.debug("GridColumnName: "+columnName);
if (opId.compareTo(GridHeaderOperationId.AddLabel.toString()) == 0) {
} else {
if (opId.compareTo(GridHeaderOperationId.ChangeLabel.toString()) == 0) {

View File

@ -167,7 +167,7 @@ public class TabularDataPortlet implements EntryPoint {
controller.setToolBoxPanel(toolBoxPanel);
controller.setEastData(westData);
controller.setWestData(westData);
bind(mainPanelLayout);
//menu(gridPanel);