Skip to content

Commit c9b7871

Browse files
BananeweizenCalixte
authored andcommitted
Have more icons in checkstyle context menus
1 parent 6ab343b commit c9b7871

File tree

3 files changed

+29
-19
lines changed

3 files changed

+29
-19
lines changed
858 Bytes
Loading
2.24 KB
Loading

net.sf.eclipsecs.ui/plugin.xml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,13 @@
370370
class="org.eclipse.core.resources.IProject"/>
371371
</action>
372372
<action
373-
label="%ConfigureProjectFromBluePrintAction.label"
374-
class="net.sf.eclipsecs.ui.actions.ConfigureProjectFromBluePrintAction"
375-
enablesFor="+"
376-
menubarPath="Checkstyle.menu/xbatch"
377-
tooltip="%ConfigureProjectFromBluePrintAction.tooltip"
378-
id="net.sf.eclipsecs.ConfigureProjectFromBluePrintAction">
373+
class="net.sf.eclipsecs.ui.actions.ConfigureProjectFromBluePrintAction"
374+
enablesFor="+"
375+
icon="platform:/plugin/org.eclipse.ui.ide.application/icons/full/elcl16/configs.png"
376+
id="net.sf.eclipsecs.ConfigureProjectFromBluePrintAction"
377+
label="%ConfigureProjectFromBluePrintAction.label"
378+
menubarPath="Checkstyle.menu/xbatch"
379+
tooltip="%ConfigureProjectFromBluePrintAction.tooltip">
379380
<selection
380381
class="org.eclipse.core.resources.IProject"/>
381382
</action>
@@ -397,7 +398,7 @@
397398
name="xbatch"/>
398399
</menu>
399400
<!--
400-
Activate this menu-point for Transformingaction from Formatter-Profile to Checkstyle-Setting
401+
Activate this menu-point for Transforming action from Formatter Profile to Checkstyle Setting
401402
<action
402403
label="%FormatterTransformingAction.label"
403404
class="net.sf.eclipsecs.ui.actions.FormatterTransformingAction"
@@ -444,19 +445,21 @@
444445
-->
445446

446447
<action
447-
label="%ClearSelectedFilesAction.label"
448-
class="net.sf.eclipsecs.ui.actions.ClearSelectedFilesAction"
449-
enablesFor="+"
450-
menubarPath="Checkstyle.menu/ondemand"
451-
tooltip="%ClearSelectedFilesAction.tooltip"
452-
id="net.sf.eclipsecs.actions.ClearSelectedFilesAction"/>
448+
class="net.sf.eclipsecs.ui.actions.ClearSelectedFilesAction"
449+
enablesFor="+"
450+
icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/removeall.png"
451+
id="net.sf.eclipsecs.actions.ClearSelectedFilesAction"
452+
label="%ClearSelectedFilesAction.label"
453+
menubarPath="Checkstyle.menu/ondemand"
454+
tooltip="%ClearSelectedFilesAction.tooltip"/>
453455
<action
454-
label="%CheckSelectedFilesAction.label"
455-
class="net.sf.eclipsecs.ui.actions.CheckSelectedFilesAction"
456-
enablesFor="+"
457-
menubarPath="Checkstyle.menu/ondemand"
458-
tooltip="%CheckSelectedFilesAction.tooltip"
459-
id="net.sf.eclipsecs.ui.actions.CheckSelectedFilesAction"/>
456+
class="net.sf.eclipsecs.ui.actions.CheckSelectedFilesAction"
457+
enablesFor="+"
458+
icon="icons/checkstyle_command.png"
459+
id="net.sf.eclipsecs.ui.actions.CheckSelectedFilesAction"
460+
label="%CheckSelectedFilesAction.label"
461+
menubarPath="Checkstyle.menu/ondemand"
462+
tooltip="%CheckSelectedFilesAction.tooltip"/>
460463
</objectContribution>
461464
</extension>
462465

@@ -484,4 +487,11 @@
484487
type="org.eclipse.core.resources.IMarker">
485488
</propertyTester>
486489
</extension>
490+
<extension
491+
point="org.eclipse.ui.commandImages">
492+
<image
493+
commandId="CheckstylePlugin.PurgeCaches"
494+
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/clear.png">
495+
</image>
496+
</extension>
487497
</plugin>

0 commit comments

Comments
 (0)