It seems like I couldn't find a way to remove the "close" icon next to each Editor to make it unclosable. I guess with RCP e4, its possible to make editor unclosable, but my application is 3.x, is there any way?
Asked
Active
Viewed 72 times
0
-
I don't think there is a straightforward way to do this. It may be possible to use a custom renderer for the part stack (this is e4 code but will work for 3.x parts as well provided you are using Eclipse 4). – greg-449 Jun 06 '16 at 06:56
-
im using eclipse 3.x, its not an easy way to migrate my existing part to e4 part unfortunately. is there anyway that i can override the close event? let's say, its clickable but do nothing – Doan Linh Jun 06 '16 at 07:40
-
As I said you don't have to be using e4, just running Eclipse 4. – greg-449 Jun 06 '16 at 07:47
-
thanks @greg-449 i will give it a try – Doan Linh Jun 06 '16 at 07:50
-
[Refer to Frank's solution from this thread](http://stackoverflow.com/questions/11654473/remove-or-disable-the-x-close-button-shown-on-a-rap-rcp-editorpart) Perfectly work for my case. – Doan Linh Aug 30 '16 at 02:01