Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ease-dev] Extend main toolbar

Hi *,

if I understood it correctly we cannot extend the main toolbar at the
moment by scripts.
I did some prototyping to check how this could be done.

The result is quite successful, I committed my prototype plug-in here:
https://github.com/rage5474/de.ragedev.example.dynamictoolbar/

In this example the toolbar change is triggered by a menu item not by
a script registration, but it uses also an eventbus message, so it
should be somehow similar. After clicking the button a new icon is
shown in the main tool bar.

The important class is this one here:
https://github.com/rage5474/de.ragedev.example.dynamictoolbar/blob/master/src/de.ragedev.example.dynamictoolbar/src/de/ragedev/example/dynamictoolbar/dynamictoolbarhandler/DynamicToolbarItemHandler.java

If you want we can integrate it in EASE.

What do you think?

Raphael


Back to the top