[Pydev-cvs] org.python.pydev.core/src/org/python/pydev/core ExtensionHelper.java, 1.12, 1.13 ICompl
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-09-24 01:03:22
|
Update of /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13032/src/org/python/pydev/core Modified Files: ExtensionHelper.java ICompletionState.java Log Message: Completion on parameters Index: ICompletionState.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/ICompletionState.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ICompletionState.java 21 Jul 2006 19:44:36 -0000 1.7 --- ICompletionState.java 24 Sep 2006 01:03:21 -0000 1.8 *************** *** 62,65 **** --- 62,67 ---- ICompletionState getCopyWithActTok(String value); + String getQualifier(); + } \ No newline at end of file Index: ExtensionHelper.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/ExtensionHelper.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ExtensionHelper.java 21 Feb 2006 19:27:29 -0000 1.12 --- ExtensionHelper.java 24 Sep 2006 01:03:21 -0000 1.13 *************** *** 19,22 **** --- 19,27 ---- public class ExtensionHelper { + /** + * This should be used to add participants at test-time. It should be the name + * of the extension point to a list (which will be returned) + */ + public static Map<String, List> testingParticipants; private static Map<String, IExtension[]> extensionsCache = new HashMap<String, IExtension[]>(); *************** *** 85,88 **** --- 90,97 ---- @SuppressWarnings("unchecked") public static List getParticipants(String type) { + if(testingParticipants != null){ + return testingParticipants.get(type); + } + ArrayList list = new ArrayList(); IExtension[] extensions = getExtensions(type); |