Search code examples
javaeclipse-plugineclipse-rap

How to hide/remove minimize button in editor?


I'm working with OSGi and RAP. I have one requirement that is to hide/remove the default minimize button at top-right of the editor but keep the maximize button there.

But for now I don't have any idea or solution for that. Any suggestion are welcome.


Solution

  • The minimize button is part of the stack presentation and cannot be removed easily. You would have to write your own presentation.

    The above said applies to the 3.x workbench. If you are using or can upgrade to RAP on e4, it should be easier to style certain aspects of the workbench without re-implementing large part of the presentaion.

    Or - my recommendation - reconsider if using the workbench in a web application is the right choice. You can also use RAP's SWT port RWT and JFace alone to build web applications that more closely match the expectations of web UI users.