Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to disable Eclipse e4 max/min/close buttons in TrimmedWindow(rap e4 min/max/close)
How to disable Eclipse e4 max/min/close buttons in TrimmedWindow [message #1830948] Fri, 07 August 2020 07:48 Go to next message
Engin Bilen is currently offline Engin BilenFriend
Messages: 1
Registered: August 2020
Junior Member
My Eclipse e4 application contains a TrimmedWindow. This menu cannot be moved or closed. Now I'm searching a way to disable max/min/close of that Trimmedwindow.

Is there some tag available for the trimmedwondow or can I do this in code without fullscreen enabling?


  • Attachment: buttons.PNG
    (Size: 8.83KB, Downloaded 228 times)
Re: How to disable Eclipse e4 max/min/close buttons in TrimmedWindow [message #1830970 is a reply to message #1830948] Fri, 07 August 2020 13:49 Go to previous message
David Marina is currently offline David MarinaFriend
Messages: 5
Registered: March 2017
Location: Darmstadt
Junior Member
Hi Engin,

One possibility is to register a model processor in one of your plugin.xml like this:


Then, create your model processor class. In my example I remove completely the main trim bar of the main application window:

public class TrimBarDecorator
private MWindow window;

public void modifyTrimBar(MApplication app)
if (this.window == null)
this.window = app.getChildren().get(0);
this.window.getPersistedState().put(IPresentationEngine.STYLE_OVERRIDE_KEY, String.valueOf(SWT.NO_TRIM));

Best regards,
Previous Topic:Mouse move events for TreeViewer
Next Topic:[ANN] RAP 3.13 M2 is available for download
Goto Forum:

Current Time: Fri Jul 19 01:01:36 GMT 2024

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

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

Back to the top