on the click of the cancel button in the dialog TeableList, the content (related to the previous table selection) does not disappear in the two panels "Database Information" and "Information Details"
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99892 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d4165113b8
commit
3f6a9670c4
|
@ -329,9 +329,9 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
|
||||
// disable table details and sampling buttons
|
||||
toolbar.disableButtonsOperationsOnTable();
|
||||
// clean the panel
|
||||
centerBottom.removeAll();
|
||||
centerBottom.layout(true);
|
||||
// clear the panel
|
||||
// centerBottom.removeAll();
|
||||
// centerBottom.layout(true);
|
||||
|
||||
// get the selected item
|
||||
List<FileModel> data = treePanel.getTreePanel().getSelectionModel()
|
||||
|
@ -690,6 +690,12 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
keyword = null;
|
||||
startSearchTable = false;
|
||||
if (selectedTable != null) {
|
||||
|
||||
centerBottom.removeAll();
|
||||
centerBottom.layout(true);
|
||||
centerUpper.removeAll();
|
||||
centerUpper.layout(true);
|
||||
|
||||
// display the table in the panel "Database Information"
|
||||
displayTableName(selectedTable);
|
||||
// fire event
|
||||
|
@ -704,8 +710,8 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
keyword = null;
|
||||
startSearchTable = false;
|
||||
// refresh the database information panel
|
||||
centerUpper.removeAll();
|
||||
centerUpper.layout(true);
|
||||
// centerUpper.removeAll();
|
||||
// centerUpper.layout(true);
|
||||
tablesLoaded.hide();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue