Package fr.adrienbrault.idea.symfony2plugin.assistant

Examples of fr.adrienbrault.idea.symfony2plugin.assistant.AssistantReferenceContributor


                            continue;
                        }

                        MethodMatcher.MethodMatchParameter matchParameter = MethodMatcher.getMatchedSignatureWithDepth(psiNearestParameter, new MethodMatcher.CallToSignature[]{new MethodMatcher.CallToSignature(config.getCallTo(), config.getMethodName())}, config.getIndexParameter());
                        if(matchParameter != null) {
                            AssistantReferenceContributor referenceContributor = AssistantReferenceUtil.getContributor(config);
                            if(referenceContributor != null && referenceContributor.isContributedElement(psiElement, config)) {
                                Collections.addAll(psiReferences, AssistantReferenceUtil.getPsiReference(config, (StringLiteralExpression) psiElement, methodScopeConfigs, method));
                            }
                        }

                    }
View Full Code Here


        }, KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);

        comboContributor.addItemListener(new ItemListener() {
            @Override
            public void itemStateChanged(ItemEvent e) {
                AssistantReferenceContributor assistantReferenceContributor = AssistantReferenceUtil.getContributorProviderByName(MethodParameterDialog.this.project, (String) e.getItem());
                if(assistantReferenceContributor != null) {
                    MethodParameterDialog.this.textContributorData.setEnabled(assistantReferenceContributor.supportData());
                }
            }
        });

        // allow only number values to indexes
View Full Code Here

TOP

Related Classes of fr.adrienbrault.idea.symfony2plugin.assistant.AssistantReferenceContributor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.