Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Closeable Views(completely disable closing not possible?)
Closeable Views [message #1386916] Mon, 23 June 2014 01:59
Ludwig Moser is currently offline Ludwig Moser
Messages: 328
Registered: July 2009
Senior Member
Hello!

i try to prevent Views from beeing closed.
this works fine if the view is docked into Eclipse

IViewLayout vLayout = layout.getViewLayout(viewIds[i]);
vLayout.setCloseable(false);


this removes the [X] from the view (works fine)

but if a user drags the view outside of eclipse
another window gets opened and the controls show up including [x] for closing

is there a way (configuration/Setting) which prevents this?


to me this looks like a bug or missing feature, because if i want a view to be NOT closeable, its meant to be not closeable in ANY state, not only if its docked.

any solutions wellcome

Thanks in advance
Ludwig
Previous Topic:How to continuously update/refresh JFACE tableviewer
Next Topic:error target definition
Goto Forum:
  


Current Time: Thu Aug 28 23:32:16 EDT 2014

Powered by FUDForum. Page generated in 0.01658 seconds