|
232 | 232 | id="org.springsource.ide.eclipse.commons.preferencePage" |
233 | 233 | name="Spring"> |
234 | 234 | </page> |
235 | | -<!-- |
236 | | - <page |
237 | | - category="org.springsource.ide.eclipse.commons.preferencePage" |
238 | | - class="org.springframework.tooling.boot.ls.RewritePreferencePage" |
239 | | - id="org.springframework.tooling.boot.ls.rewrite" |
240 | | - name="OpenRewrite"> |
241 | | - </page> |
242 | | ---> |
243 | | - <page |
244 | | - category="org.springframework.tooling.boot.ls.rewrite" |
245 | | - class="org.springframework.tooling.boot.ls.RecipeFiltersPreferencePage" |
246 | | - id="org.springframework.tooling.boot.ls.rewrite.filters" |
247 | | - name="Filter Recipes"> |
248 | | - </page> |
249 | | - <page |
250 | | - category="org.springframework.tooling.boot.ls.rewrite" |
251 | | - class="org.springframework.tooling.boot.ls.PlugRecipesPreferencePage" |
252 | | - id="org.springframework.tooling.boot.ls.rewrite.load" |
253 | | - name="Plug Recipes"> |
254 | | - </page> |
255 | 235 | <page |
256 | 236 | category="org.springsource.ide.eclipse.commons.preferencePage" |
257 | 237 | class="org.springframework.tooling.boot.ls.prefs.ValidationPreferencePage" |
|
289 | 269 | </with> |
290 | 270 | </activeWhen> |
291 | 271 | </handler> |
292 | | - <handler |
293 | | - class="org.springframework.tooling.boot.ls.commands.RewriteRefactoringsHandler$RefactorBootProject" |
294 | | - commandId="org.springframework.tooling.boot.ls.rewrite.refactor"> |
295 | | - </handler> |
296 | | - <handler |
297 | | - class="org.springframework.tooling.boot.ls.commands.RewriteRefactoringsHandler$UpgradeBootVersion" |
298 | | - commandId="org.springframework.tooling.boot.ls.rewrite.boot-upgrade"> |
299 | | - </handler> |
300 | 272 | <handler |
301 | 273 | class="org.springframework.tooling.boot.ls.commands.RefreshModulithMetadata" |
302 | 274 | commandId="org.springframework.tooling.boot.ls.modulith.metadata.refresh"> |
|
327 | 299 | categoryId="org.springframework.ide.eclipse.commands" |
328 | 300 | name="Toggle Comment"> |
329 | 301 | </command> |
330 | | - <command |
331 | | - categoryId="org.springframework.ide.eclipse.commands" |
332 | | - description="Rewrite Refactorings for Spring Boot projects" |
333 | | - id="org.springframework.tooling.boot.ls.rewrite.refactor" |
334 | | - name="Refactor Spring Boot Project..."> |
335 | | - </command> |
336 | | - <command |
337 | | - categoryId="org.springframework.ide.eclipse.commands" |
338 | | - description="Upgrade Spring Boot Version for a Spring Boot project" |
339 | | - id="org.springframework.tooling.boot.ls.rewrite.boot-upgrade" |
340 | | - name="Upgrade Spring Boot Version..."> |
341 | | - </command> |
342 | 302 | <command |
343 | 303 | description="Refresh project's Modulith metadata and re-validate the project" |
344 | 304 | id="org.springframework.tooling.boot.ls.modulith.metadata.refresh" |
|
585 | 545 | <menuContribution |
586 | 546 | allPopups="false" |
587 | 547 | locationURI="popup:org.springframework.ide.eclipse.ui.tools?after=boot"> |
588 | | - <command |
589 | | - commandId="org.springframework.tooling.boot.ls.rewrite.boot-upgrade" |
590 | | - id="org.springframework.tooling.boot.ls.rewrite.boot-upgrade" |
591 | | - label="Upgrade Spring Boot Version..." |
592 | | - style="push"> |
593 | | - <visibleWhen |
594 | | - checkEnabled="false"> |
595 | | - <and> |
596 | | - <count |
597 | | - value="1"> |
598 | | - </count> |
599 | | - <iterate> |
600 | | - <or> |
601 | | - <adapt |
602 | | - type="org.eclipse.core.resources.IFile"> |
603 | | - <and> |
604 | | - <test |
605 | | - forcePluginActivation="true" |
606 | | - property="org.springsource.ide.eclipse.boot.isBootResource"> |
607 | | - </test> |
608 | | - <or> |
609 | | - <and> |
610 | | - <test |
611 | | - property="org.eclipse.core.resources.path" |
612 | | - value="/*/pom.xml"> |
613 | | - </test> |
614 | | - <test |
615 | | - property="org.eclipse.core.resources.projectNature" |
616 | | - value="org.eclipse.m2e.core.maven2Nature"> |
617 | | - </test> |
618 | | - </and> |
619 | | - <and> |
620 | | - <test |
621 | | - property="org.eclipse.core.resources.path" |
622 | | - value="/*/build.gradle"> |
623 | | - </test> |
624 | | - <test |
625 | | - property="org.eclipse.core.resources.projectNature" |
626 | | - value="org.eclipse.buildship.core.gradleprojectnature"> |
627 | | - </test> |
628 | | - </and> |
629 | | - </or> |
630 | | - </and> |
631 | | - </adapt> |
632 | | - <adapt |
633 | | - type="org.eclipse.core.resources.IProject"> |
634 | | - <and> |
635 | | - <test |
636 | | - forcePluginActivation="true" |
637 | | - property="org.springsource.ide.eclipse.boot.isBootResource"> |
638 | | - </test> |
639 | | - <test |
640 | | - property="org.eclipse.core.resources.projectNature" |
641 | | - value="org.eclipse.jdt.core.javanature"> |
642 | | - </test> |
643 | | - <or> |
644 | | - <test |
645 | | - property="org.eclipse.core.resources.projectNature" |
646 | | - value="org.eclipse.m2e.core.maven2Nature"> |
647 | | - </test> |
648 | | - <test |
649 | | - property="org.eclipse.core.resources.projectNature" |
650 | | - value="org.eclipse.buildship.core.gradleprojectnature"> |
651 | | - </test> |
652 | | - </or> |
653 | | - </and> |
654 | | - </adapt> |
655 | | - </or> |
656 | | - </iterate> |
657 | | - <test |
658 | | - property="org.springframework.tooling.boot.ls.areRewriteProjectRefactoringsOn"> |
659 | | - </test> |
660 | | - </and> |
661 | | - </visibleWhen> |
662 | | - </command> |
663 | | - <command |
664 | | - commandId="org.springframework.tooling.boot.ls.rewrite.refactor" |
665 | | - id="org.springframework.tooling.boot.ls.rewrite.refactor" |
666 | | - label="Refactor Spring Boot Project..." |
667 | | - style="push"> |
668 | | - <visibleWhen |
669 | | - checkEnabled="false"> |
670 | | - <and> |
671 | | - <count |
672 | | - value="1"> |
673 | | - </count> |
674 | | - <iterate> |
675 | | - <or> |
676 | | - <adapt |
677 | | - type="org.eclipse.core.resources.IFile"> |
678 | | - <and> |
679 | | - <test |
680 | | - forcePluginActivation="true" |
681 | | - property="org.springsource.ide.eclipse.boot.isBootResource"> |
682 | | - </test> |
683 | | - <or> |
684 | | - <and> |
685 | | - <test |
686 | | - property="org.eclipse.core.resources.path" |
687 | | - value="/*/pom.xml"> |
688 | | - </test> |
689 | | - <test |
690 | | - property="org.eclipse.core.resources.projectNature" |
691 | | - value="org.eclipse.m2e.core.maven2Nature"> |
692 | | - </test> |
693 | | - </and> |
694 | | - <and> |
695 | | - <test |
696 | | - property="org.eclipse.core.resources.path" |
697 | | - value="/*/build.gradle"> |
698 | | - </test> |
699 | | - <test |
700 | | - property="org.eclipse.core.resources.projectNature" |
701 | | - value="org.eclipse.buildship.core.gradleprojectnature"> |
702 | | - </test> |
703 | | - </and> |
704 | | - </or> |
705 | | - </and> |
706 | | - </adapt> |
707 | | - <adapt |
708 | | - type="org.eclipse.core.resources.IProject"> |
709 | | - <and> |
710 | | - <test |
711 | | - forcePluginActivation="true" |
712 | | - property="org.springsource.ide.eclipse.boot.isBootResource"> |
713 | | - </test> |
714 | | - <test |
715 | | - property="org.eclipse.core.resources.projectNature" |
716 | | - value="org.eclipse.jdt.core.javanature"> |
717 | | - </test> |
718 | | - <or> |
719 | | - <test |
720 | | - property="org.eclipse.core.resources.projectNature" |
721 | | - value="org.eclipse.m2e.core.maven2Nature"> |
722 | | - </test> |
723 | | - <test |
724 | | - property="org.eclipse.core.resources.projectNature" |
725 | | - value="org.eclipse.buildship.core.gradleprojectnature"> |
726 | | - </test> |
727 | | - </or> |
728 | | - </and> |
729 | | - </adapt> |
730 | | - </or> |
731 | | - </iterate> |
732 | | - <test |
733 | | - property="org.springframework.tooling.boot.ls.areRewriteProjectRefactoringsOn"> |
734 | | - </test> |
735 | | - </and> |
736 | | - </visibleWhen> |
737 | | - </command> |
738 | | - <separator |
739 | | - name="org.springframework.tooling.boot.ls.rewrite" |
740 | | - visible="true"> |
741 | | - </separator> |
742 | 548 | <command |
743 | 549 | commandId="org.springframework.tooling.boot.ls.modulith.metadata.refresh" |
744 | 550 | id="org.springframework.tooling.boot.ls.modulith.metadata.refresh" |
|
0 commit comments