Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] How could I prevent my ViewPart from closing?

hi,
how can i disable or remove the close option from the view ? i have tried
The following code does not work:

getSite().getShell().addShellListener(new ShellAdapter() {
   public void shellClosed(ShellEvent e) {
    e.doit = false;
   }
});
Any thoughts/ideas are welcome.
Abhijit S. Bildikar
Java Developer







Back to the top