{"id":254,"date":"2015-07-28T15:16:17","date_gmt":"2015-07-28T13:16:17","guid":{"rendered":"http:\/\/www.descher.at\/descher-vu\/?p=254"},"modified":"2015-07-28T15:18:13","modified_gmt":"2015-07-28T13:18:13","slug":"e4-rap-and-trimless-fullscreen-windows","status":"publish","type":"post","link":"http:\/\/www.descher.at\/descher-vu\/2015\/07\/e4-rap-and-trimless-fullscreen-windows\/","title":{"rendered":"e4 RAP and trimless fullscreen windows"},"content":{"rendered":"<p>After starting to set up an <a href=\"https:\/\/wiki.eclipse.org\/RAP\/E4\">e4 based RAP application<\/a>, one of the thirst things that popped into my eyes was the Windows in Windows Problem. That is, you have your browser opening the e4 rap application and you see a window title (which effectively exists for both Window and TrimmedWindow) which does not make much of a sense. For RAP based on 3.x <a href=\"http:\/\/eclipsesource.com\/blogs\/2007\/11\/12\/hiding-the-window-in-rap-applications\/\">here<\/a> is the solution. For e4 based RAP it required some investigation, so here goes the solution.<\/p>\n<p>Add a <em>TrimmedWindow<\/em> or <em>Window<\/em> element, and provide the tag <em>shellMaximized<\/em> and the <em>persistentState<\/em> value <em>styleOverride<\/em> (thanks to Lars Vogel for <a href=\"https:\/\/bugs.eclipse.org\/bugs\/show_bug.cgi?id=386951\">pointing<\/a> this out) where the value is determined like you would set it programmatically with<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\nint val = SWT.NO_TRIM;\r\nSystem.out.println(val);\r\n\r\n<\/pre>\n<p>thats just like in the following example:<br \/>\n<a href=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2015\/07\/fullscreenRAP.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2015\/07\/fullscreenRAP.png\" alt=\"fullscreenRAP\" width=\"567\" height=\"389\" class=\"aligncenter size-full wp-image-256\" srcset=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2015\/07\/fullscreenRAP.png 567w, http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2015\/07\/fullscreenRAP-300x206.png 300w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After starting to set up an e4 based RAP application, one of the thirst things that popped into my eyes was the Windows in Windows Problem. That is, you have your browser opening the e4 rap application and you see a window title (which effectively exists for both Window and TrimmedWindow) which does not make &hellip; <a href=\"http:\/\/www.descher.at\/descher-vu\/2015\/07\/e4-rap-and-trimless-fullscreen-windows\/\" class=\"more-link\"><span class=\"screen-reader-text\">e4 RAP and trimless fullscreen windows<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/254"}],"collection":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":9,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":264,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/254\/revisions\/264"}],"wp:attachment":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}