Skip to content

Commit fb35843

Browse files
committed
Move proposal computers to seperate package, pull out AST visitor to seperate class, add icon.
1 parent 8832182 commit fb35843

11 files changed

+496
-425
lines changed

org.mapstruct.eclipse/build.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020
source.. = src/
2121
bin.includes = .,\
2222
META-INF/,\
23-
plugin.xml
23+
plugin.xml,\
24+
icons/
704 Bytes
Loading

org.mapstruct.eclipse/plugin.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@
2525
id="mapstructCompletionProposalComputer"
2626
name="MapStruct Proposals"
2727
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
28-
<proposalCategory></proposalCategory>
28+
<proposalCategory
29+
icon="icons/mapstruct-small.png"></proposalCategory>
2930
</extension>
3031
<extension
3132
id="mappingAnnotationCompletionProposalComputer"
3233
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
3334
<javaCompletionProposalComputer
3435
activate="true"
3536
categoryId="org.mapstruct.eclipse.mapstructCompletionProposalComputer"
36-
class="org.mapstruct.eclipse.internal.MappingAnnotationCompletionProposalComputer"
37+
class="org.mapstruct.eclipse.internal.proposal.MappingAnnotationCompletionProposalComputer"
3738
needsSortingAfterFiltering="true">
3839
</javaCompletionProposalComputer>
3940
</extension>
@@ -43,7 +44,7 @@
4344
<javaCompletionProposalComputer
4445
activate="true"
4546
categoryId="org.mapstruct.eclipse.mapstructCompletionProposalComputer"
46-
class="org.mapstruct.eclipse.internal.MapperAnnotationCompletionProposalComputer"
47+
class="org.mapstruct.eclipse.internal.proposal.MapperAnnotationCompletionProposalComputer"
4748
needsSortingAfterFiltering="true">
4849
</javaCompletionProposalComputer>
4950
</extension>

0 commit comments

Comments
 (0)