Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@91136 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d572632f1b
commit
aa90124a71
|
@ -22,9 +22,24 @@
|
|||
<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">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-sdmx-import-widget-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-sdmx-import-widget/tabular-data-sdmx-import-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-open-widget-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-open-widget/tabular-data-open-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-csv-export-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-csv-export-widget/tabular-data-csv-export-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-toolbox-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-toolbox-widget/tabular-data-toolbox-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-information-widget-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-information-widget/tabular-data-information-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-metadata-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-metadata-widget/tabular-data-metadata-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-column-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-column-widget/tabular-data-column-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
|
1
pom.xml
1
pom.xml
|
@ -230,7 +230,6 @@
|
|||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- tabular-data-toolbox-widget -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
|
|
|
@ -105,6 +105,7 @@ public class TabularDataController {
|
|||
this.westData = westData;
|
||||
}
|
||||
|
||||
//Bind Controller to events on bus
|
||||
protected void bindToEvents() {
|
||||
eventBus.addHandler(
|
||||
GridHeaderColumnMenuItemEvent.TYPE,
|
||||
|
@ -153,6 +154,7 @@ public class TabularDataController {
|
|||
|
||||
}
|
||||
|
||||
//Simple alert
|
||||
protected void alertMessage(String reason, String details) {
|
||||
AlertMessageBox d = new AlertMessageBox(reason, details);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
|
@ -165,6 +167,7 @@ public class TabularDataController {
|
|||
d.show();
|
||||
}
|
||||
|
||||
//Resume state of user interface
|
||||
protected void resumeUIState() {
|
||||
try {
|
||||
if (uiState == UIStateType.TR_OPEN) {
|
||||
|
@ -181,6 +184,7 @@ public class TabularDataController {
|
|||
}
|
||||
}
|
||||
|
||||
//Open Table
|
||||
protected void openTable(TRId tabularResourceId) {
|
||||
Log.debug("openTabe: " + tabularResourceId);
|
||||
trId = tabularResourceId;
|
||||
|
@ -193,11 +197,8 @@ public class TabularDataController {
|
|||
eventBus.fireEvent(uiStateEvent);
|
||||
}
|
||||
|
||||
/*
|
||||
* protected void updateUIProperties(){ if (uiToolBox == UIToolBox.OPENED) {
|
||||
* trProperties.update(); } }
|
||||
*/
|
||||
|
||||
//Close Tabular Resource
|
||||
protected void closeTabularResource() {
|
||||
if (uiState == UIStateType.TR_OPEN) {
|
||||
Log.debug("CloseTabularResource Open");
|
||||
|
|
Loading…
Reference in New Issue