eclipse plugin: add some icons to the menus
This commit is contained in:
parent
3e39d49d01
commit
f3b8f91b58
6 changed files with 21 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 983 B |
BIN
utils/java/eclipse_plugin/icons/wesnoth-icon.png
Normal file
BIN
utils/java/eclipse_plugin/icons/wesnoth-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
BIN
utils/java/eclipse_plugin/icons/wesnoth-icon_16.png
Normal file
BIN
utils/java/eclipse_plugin/icons/wesnoth-icon_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 892 B |
BIN
utils/java/eclipse_plugin/icons/wesnoth_editor-icon.png
Normal file
BIN
utils/java/eclipse_plugin/icons/wesnoth_editor-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
utils/java/eclipse_plugin/icons/wesnoth_editor-icon_16.png
Normal file
BIN
utils/java/eclipse_plugin/icons/wesnoth_editor-icon_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 948 B |
|
@ -29,13 +29,28 @@
|
|||
adaptable="true"
|
||||
objectClass="org.eclipse.core.resources.IProject"
|
||||
nameFilter="*"
|
||||
id="Wesnoth_Eclipse_Plugin.contribution1">
|
||||
id="Wesnoth_Eclipse_Plugin.projectContributions">
|
||||
<action
|
||||
label="Add/Remove Sample Nature"
|
||||
class="wesnoth_eclipse_plugin.builder.ToggleNatureAction"
|
||||
menubarPath="additions"
|
||||
enablesFor="+"
|
||||
id="Wesnoth_Eclipse_Plugin.addRemoveNatureAction">
|
||||
icon="icons/wesnoth-icon.png"
|
||||
id="actions.addRemoveNature"
|
||||
label="Add/Remove Sample Nature"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</objectContribution>
|
||||
<objectContribution
|
||||
adaptable="true"
|
||||
id="Wesnoth Eclipse Plugin.mapContributions"
|
||||
nameFilter="*maps*"
|
||||
objectClass="org.eclipse.core.resources.IFolder">
|
||||
<action
|
||||
class="action.ImportMap"
|
||||
enablesFor="+"
|
||||
icon="icons/wesnoth_editor-icon.png"
|
||||
id="actions.importmap"
|
||||
label="Import map"
|
||||
menubarPath="additions">
|
||||
</action>
|
||||
</objectContribution>
|
||||
</extension>
|
||||
|
@ -140,11 +155,13 @@
|
|||
<menuContribution
|
||||
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
|
||||
<menu
|
||||
icon="icons/wesnoth-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.menus.wesnothMenu"
|
||||
label="Wesnoth"
|
||||
mnemonic="h">
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.openEditor"
|
||||
icon="icons/wesnoth_editor-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.menus.openEditor"
|
||||
label="Open editor"
|
||||
mnemonic="e">
|
||||
|
|
Loading…
Add table
Reference in a new issue