MessageBox Confirm removed in TableDetails e Sampling operations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98657 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b4be82e177
commit
6d73c91b9b
|
@ -1564,7 +1564,7 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
|
|
||||||
// the table has not a schema
|
// the table has not a schema
|
||||||
// database = treePanel.getTreeStore().getParent(selectedItem);
|
// database = treePanel.getTreeStore().getParent(selectedItem);
|
||||||
// resource = treePanel.getTreeStore().getParent(database);
|
// resource = treePanel.getTreeStore().getmessageParent(database);
|
||||||
//
|
//
|
||||||
// dataInput.put("ResourceName", resource.getName());
|
// dataInput.put("ResourceName", resource.getName());
|
||||||
// dataInput.put("DatabaseName", database.getName());
|
// dataInput.put("DatabaseName", database.getName());
|
||||||
|
@ -1649,15 +1649,15 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
// // selectedItem.getName());
|
// // selectedItem.getName());
|
||||||
// }
|
// }
|
||||||
|
|
||||||
Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
// Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void handleEvent(MessageBoxEvent be) {
|
// public void handleEvent(MessageBoxEvent be) {
|
||||||
// TODO Auto-generated method stub
|
// // TODO Auto-generated method stub
|
||||||
|
//
|
||||||
Button btn = be.getButtonClicked();
|
// Button btn = be.getButtonClicked();
|
||||||
|
//
|
||||||
if (btn.getText().equals("Yes")) {
|
// if (btn.getText().equals("Yes")) {
|
||||||
|
|
||||||
// to mask the entire content panel
|
// to mask the entire content panel
|
||||||
obj.mask("Sampling the table", "x-mask-loading");
|
obj.mask("Sampling the table", "x-mask-loading");
|
||||||
|
@ -1714,14 +1714,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// };
|
||||||
|
|
||||||
}
|
// MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
||||||
|
// + selectedTable + " table?", l);
|
||||||
};
|
|
||||||
|
|
||||||
MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
|
||||||
+ selectedTable + " table?", l);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1904,14 +1904,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
// // selectedItem.getName());
|
// // selectedItem.getName());
|
||||||
// }
|
// }
|
||||||
|
|
||||||
Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
// Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void handleEvent(MessageBoxEvent be) {
|
// public void handleEvent(MessageBoxEvent be) {
|
||||||
// TODO Auto-generated method stub
|
// // TODO Auto-generated method stub
|
||||||
Button btn = be.getButtonClicked();
|
// Button btn = be.getButtonClicked();
|
||||||
|
//
|
||||||
if (btn.getText().equals("Yes")) {
|
// if (btn.getText().equals("Yes")) {
|
||||||
|
|
||||||
// to mask the entire content panel
|
// to mask the entire content panel
|
||||||
obj.mask("Sampling the table", "x-mask-loading");
|
obj.mask("Sampling the table", "x-mask-loading");
|
||||||
|
@ -1968,14 +1968,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
};
|
// };
|
||||||
|
//
|
||||||
MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
// MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
||||||
+ selectedTable + " table?", l);
|
// + selectedTable + " table?", l);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2158,15 +2158,15 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
// // selectedItem.getName());
|
// // selectedItem.getName());
|
||||||
// }
|
// }
|
||||||
|
|
||||||
Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
// Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void handleEvent(MessageBoxEvent be) {
|
// public void handleEvent(MessageBoxEvent be) {
|
||||||
// TODO Auto-generated method stub
|
// // TODO Auto-generated method stub
|
||||||
|
//
|
||||||
Button btn = be.getButtonClicked();
|
// Button btn = be.getButtonClicked();
|
||||||
|
//
|
||||||
if (btn.getText().equals("Yes")) {
|
// if (btn.getText().equals("Yes")) {
|
||||||
|
|
||||||
// to mask the entire content panel
|
// to mask the entire content panel
|
||||||
obj.mask("Sampling the table", "x-mask-loading");
|
obj.mask("Sampling the table", "x-mask-loading");
|
||||||
|
@ -2223,14 +2223,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// };
|
||||||
|
|
||||||
}
|
// MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
||||||
|
// + selectedTable + " table?", l);
|
||||||
};
|
|
||||||
|
|
||||||
MessageBox.confirm("Confirm", "Are you sure you want to sample the "
|
|
||||||
+ selectedTable + " table?", l);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2804,17 +2804,18 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
|
|
||||||
displayTableDetails(Table);
|
displayTableDetails(Table);
|
||||||
|
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
//
|
||||||
|
// Listener<MessageBoxEvent> l = new Listener<MessageBoxEvent>() {
|
||||||
@Override
|
//
|
||||||
public void handleEvent(MessageBoxEvent be) {
|
// @Override
|
||||||
// TODO Auto-generated method stub
|
// public void handleEvent(MessageBoxEvent be) {
|
||||||
|
// // TODO Auto-generated method stub
|
||||||
Button btn = be.getButtonClicked();
|
//
|
||||||
|
// Button btn = be.getButtonClicked();
|
||||||
if (btn.getText().equals("Yes")) {
|
//
|
||||||
|
// if (btn.getText().equals("Yes")) {
|
||||||
|
|
||||||
// to mask the entire content panel
|
// to mask the entire content panel
|
||||||
|
|
||||||
|
@ -2958,15 +2959,15 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// };
|
||||||
|
|
||||||
}
|
// MessageBox.confirm("Confirm",
|
||||||
|
// "Are you sure you want to get details for " + selectedTable
|
||||||
};
|
// + " table?", l);
|
||||||
|
|
||||||
MessageBox.confirm("Confirm",
|
|
||||||
"Are you sure you want to get details for " + selectedTable
|
|
||||||
+ " table?", l);
|
|
||||||
|
|
||||||
// // call remote service
|
// // call remote service
|
||||||
// RPCservice.getTableDetails(dataInput,
|
// RPCservice.getTableDetails(dataInput,
|
||||||
|
|
Loading…
Reference in New Issue