Dialog (MDialog) can be opened only once [message #1689047] |
Sun, 22 March 2015 10:26  |
Eclipse User |
|
|
|
Hi all,
I've created a MDialog element in my Application.e4xmi. I open it with
the following code:
MDialog dialog = (MDialog) modelService.find("my.cool.dialog", application);
dialog.setToBeRendered(true);
dialog.setVisible(true);
dialog.setOnTop(true);
modelService.bringToTop(dialog);
The first thing I've encountered is that the dialog isn't focused, but
this is not the problem (anyway - how could I achieve this?). The
content of the dialog is shown rightly. Now I close the dialog via the
close button on the window bar. But if I want to open the dialog again,
the dialog window appears with no content. How could I get it right?
TIA,
Ralf.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07014 seconds