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 05:59
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 364
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 Nov 27 04:39:09 GMT 2014

Powered by FUDForum. Page generated in 0.02274 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software