Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to customise action icons
How to customise action icons [message #1715308] Sat, 21 November 2015 16:15 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 352
Registered: July 2009
Senior Member
Hi all,

I am doing a redesign for a RCP product and currently working on introducing a new icon theme. Thereby I managed to override icons for several standard actions in the action bar advisor class by assigning an image descriptor before adding the action to the menu and/or toolbar. Also I could hide some other actions I do not need in order to cleanup the UI a bit.

While this is working fine, there are still a few actions left which are contributed by the platform (I guess), for example:

* Window > Editor > Toggle Split Editor
* Window > Editor > Clone/Copy
* Window > Hide toolbar / Show toolbar

These entries are instances of HandledContributionItem which are not an IAction anymore. Any idea how to inject a custom icon for these without an application model?

Re: How to customise action icons [message #1724343 is a reply to message #1715308] Tue, 23 February 2016 09:45 Go to previous message
Edward Santiago is currently offline Edward SantiagoFriend
Messages: 6
Registered: February 2016
Location: USA
Junior Member
currently the following actions are possible:
remove (custom)
moveUp (z-index, custom) since 0.0.3
moveDown (z-index, custom) since 0.0.3
rotateByDegrees: int (custom) since 0.0.4 (origin can now be set to anything)

Default action is: 'scale'

[Updated on: Tue, 23 February 2016 09:46]

Report message to a moderator

Previous Topic:Execute arguments validation code before loading Equinox services
Next Topic:How to show keybinding for a quickmenu
Goto Forum:

Current Time: Tue Aug 16 04:27:33 GMT 2022

Powered by FUDForum. Page generated in 0.02192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top