}
decPattern.setShowHover(true);
decPattern.setShowOnlyOnFocus(true);
PkgPatternsProposalProvider proposalProvider = new PkgPatternsProposalProvider(new FormPartJavaSearchContext(this));
ContentProposalAdapter patternProposalAdapter = new ContentProposalAdapter(txtName, new TextContentAdapter(), proposalProvider, assistKeyStroke, UIConstants.autoActivationCharacters());
patternProposalAdapter.addContentProposalListener(proposalProvider);
patternProposalAdapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_IGNORE);
patternProposalAdapter.setAutoActivationDelay(1000);
patternProposalAdapter.setLabelProvider(new PkgPatternProposalLabelProvider());
patternProposalAdapter.addContentProposalListener(new IContentProposalListener() {