|
|
|
|
|
|
|
|
Re: Toolbar not draggable (RCP with compatibility layer) [message #1730418 is a reply to message #1728526] |
Mon, 25 April 2016 11:29  |
Eclipse User |
|
|
|
I have found a solution:
First define a product extension in order to define a css:
<product
application="testtoolbars.app" name="Test Toolbars" >
<property
name="applicationCSS"
value="platform:/plugin/testtoolbars/style/testtoolbars.css">
</property>
<property
name="applicationCSSResources"
value="platform:/plugin/testtoolbars/style/">
</property>
<property
name="applicationXMI"
value="platform:/plugin/org.eclipse.ui.workbench/LegacyIDE.e4xmi">
</property>
... more properties
</product>
Next, add the following in the stylesheet:
.MToolBar.Draggable {
handle-image: url(./dragHandle.png);
}
.MToolControl.Draggable {
handle-image: url(./dragHandle.png);
}
and put the png into the folder.
That's it.
|
|
|
Powered by
FUDForum. Page generated in 0.05434 seconds