Commit 7e89d419 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* keep anonymous instance suggestion untyped, #230

parent a9def88e
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for plugins/org.etsi.mts.tdl.tx.ui/src/org/etsi/mts/tdl/ui/contentassist/TDLtxProposalProvider.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ public class TDLtxProposalProvider extends AbstractTDLtxProposalProvider {
						usedSuffix = collectionSuffix;
					}
					if (unnamed) {
						acceptor.accept(createCompletionProposal(usedSuffix, new StyledString(usedSuffix).append(" : new anonymous instance of type "+ne.getName(), StyledString.DECORATIONS_STYLER), getImage(ne), 1200, "", context));
						acceptor.accept(createCompletionProposal(usedSuffix, new StyledString(usedSuffix).append(" : new anonymous instance", StyledString.DECORATIONS_STYLER), getImage(ne), 1200, "", context));
					}
					if (named) {
						acceptor.accept(createCompletionProposal(prefix+ne.getName()+usedSuffix, new StyledString(prefix+ne.getName()+usedSuffix).append(" : new instance of type", StyledString.DECORATIONS_STYLER), getImage(ne), 1100, "", context));