1

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.

Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79
gamo
  • 1,549
  • 7
  • 24
  • 36
  • I see you're relatively new to SO. If you feel an answer solved the problem, please mark it as 'accepted' by clicking the green check mark. This helps to keep the focus on older posts which still don't have answers. – Rüdiger Herrmann May 20 '15 at 09:11

1 Answers1

1

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.

Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79
  • Thanks for your answer but I'm working on a legacy system so I think reconsider is not easy. – gamo May 20 '15 at 03:30