Eclipse RCP 4 draggable Toolbar

2019-06-07 21:39发布

Is it possible to create a pure Eclipse RCP 4 application, that uses the nice toolbar from the Eclipse IDE with Drag and Drop functionality?

enter image description here

Starting with a fresh installation of Eclipse for RCP 4.5.1, I created a pure e4 application with sample content using the wizrad.

enter image description here

It contains two toolbars, but D&D functionality is missing. So what to do next?

1条回答
Root(大扎)
2楼-- · 2019-06-07 21:56

There was Drag and Drop functionality in Eclipse 3.x (locking / unlocking toolbar) But with Eclipse 4.x its not working.

You can see bug : https://bugs.eclipse.org/bugs/show_bug.cgi?id=409633 There is change in CoolBarToTrimManager.java which is internal class.

You can add Draggable tag for toolbar in application.e4xmi, then it will make the toolbar draggable

查看更多
登录 后发表回答