| [6.0.300.0] NEON MessageBox not showing when Navigation is not visible [message #1763829] |
Sun, 21 May 2017 09:36  |
Eclipse User |
|
|
|
Hello,
I got a TablePage with a Menu to delete entries from the Table. Before the deletion is executed a MessageBox is supposed to show:
@Order(3000)
public class DeleteMenu extends AbstractMenu {
@Override
protected String getConfiguredText() {
return TEXTS.get("DeleteMenu");
}
@Override
protected Set<? extends IMenuType> getConfiguredMenuTypes() {
return CollectionUtility.<IMenuType>hashSet(TableMenuType.SingleSelection, TableMenuType.MultiSelection);
}
@Override
protected void execAction() {
List<ITableRow> selectedRows = getTable().getSelectedRows();
if (!MessageBoxes.showDeleteConfirmationMessage(getTextColumn().getValues(selectedRows)))
return;
for (ITableRow row : selectedRows) {
if (row != null) {
if (delete(row)) {
getTable().deleteRow(row);
}
}
}
}
}
This works fine as long as I do not hide the Navigation (the thing which shows the Nodes on the right side.)
Does anyone have an idea what is happening here?
|
|
|
|
Powered by
FUDForum. Page generated in 0.15347 seconds