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