Fixed hide window
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@84401 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c5b2b5f3b2
commit
8e153b84f0
|
@ -189,6 +189,19 @@ public class TabularDataController {
|
|||
eventBus.fireEvent(new UIStateEvent(UIStateType.TR_OPEN));
|
||||
}
|
||||
|
||||
protected void closeTabularResources() {
|
||||
if (uiState == UIStateType.TR_OPEN) {
|
||||
tabularData.closeTable();
|
||||
uiState = UIStateType.TR_CLOSE;
|
||||
eventBus.fireEvent(new UIStateEvent(UIStateType.TR_CLOSE));
|
||||
if (uiProperties == UIProperties.OPENED) {
|
||||
functionalityPanel.collapse();
|
||||
functionalityPanel.disable();
|
||||
uiProperties = UIProperties.CLOSED;
|
||||
functionalityTab.remove(trProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
protected void openWizard(){
|
||||
eventBus.fireEvent(new UIStateEvent(UIStateType.WIZARD_OPEN));
|
||||
}
|
||||
|
@ -424,21 +437,8 @@ public class TabularDataController {
|
|||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
protected void closeTabularResources() {
|
||||
if (uiState == UIStateType.TR_OPEN) {
|
||||
tabularData.closeTable();
|
||||
uiState = UIStateType.TR_CLOSE;
|
||||
if (uiProperties == UIProperties.OPENED) {
|
||||
functionalityPanel.collapse();
|
||||
functionalityPanel.disable();
|
||||
uiProperties = UIProperties.CLOSED;
|
||||
functionalityTab.remove(trProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -120,7 +120,7 @@ public class FileToolBar {
|
|||
|
||||
closeButton = new TextButton("Close",
|
||||
TabularDataResources.INSTANCE.close());
|
||||
propertiesButton.disable();
|
||||
closeButton.disable();
|
||||
closeButton.setId("closeButton");
|
||||
closeButton.setToolTip("Close table");
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
|
||||
<set-property name="log_DivLogger" value="DISABLED" />
|
||||
<set-property name="log_DivLogger" value="ENABLED" />
|
||||
<set-property name="log_ConsoleLogger" value="ENABLED" />
|
||||
<set-property name="log_FirebugLogger" value="ENABLED" />
|
||||
<set-property name="log_GWTLogger" value="ENABLED" />
|
||||
|
|
Loading…
Reference in New Issue