Skip to content

Remove categories from palette #781

Answered by ptziegler
trixtan asked this question in Q&A
Discussion options

You must be logged in to vote

You can do so via the .*.wbp-palette-commands.xml files.

For example, in order you to remove Swing categories, you need to create a org.eclipse.wb.swing.wbp-palette-commands.xml file in your wbp-meta folder. For testing purposes, you can add it to your project but in general, it needs to be part of the classpath.

The following snippet shows how to remove the "System" category.

<?xml version="1.0" encoding="UTF-8"?>
<commands>
	<removeCategory id="org.eclipse.wb.swing.system"/>
</commands>

When opening the editor, it then looks as follows:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trixtan
Comment options

Answer selected by trixtan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants