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: 450
Registered: July 2009
Senior Member

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

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

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
Previous Topic:How to continuously update/refresh JFACE tableviewer
Next Topic:error target definition
Goto Forum:

Current Time: Sun Apr 22 03:23:43 GMT 2018

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

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