/** * Adds additional syntax completion proposals to <code>additionalProposals</code> for the given * original proposal and {@link PropertyCallType}. * * @param additionalProposals the list of proposals to add to * @param proposal the original syntax completion proposal * @param propertyCallType the {@link PropertyCallType} */ protected void addAdditionalProposals( final List<SyntaxCompletionProposal> additionalProposals, final SyntaxCompletionProposal proposal, final PropertyCallType propertyCallType) { additionalProposals.addAll( getEFeatureProposals(proposal.getPrefix(), proposal.getRoot(), propertyCallType)); additionalProposals.addAll( getModuleProposals(proposal.getPrefix(), proposal.getRoot(), propertyCallType)); additionalProposals.addAll( getEMFTVMProposals(proposal.getPrefix(), proposal.getRoot(), propertyCallType)); }
/** * Adds additional syntax completion proposals to <code>additionalProposals</code> for the given * original proposal and {@link OclMetamodel}. * * @param additionalProposals the list of proposals to add to * @param proposal the original syntax completion proposal * @param oclMetamodel the metamodel URI */ protected void addAdditionalProposals( final List<SyntaxCompletionProposal> additionalProposals, final SyntaxCompletionProposal proposal, final OclMetamodel oclMetamodel) { final String uri = oclMetamodel.getUri(); additionalProposals.addAll(getEClassifiers(proposal.getPrefix(), uri, proposal.getRoot())); }