[Pydev-cvs] org.python.pydev/src/org/python/pydev/plugin PydevPrefsInitializer.java, 1.19, 1.20
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-18 20:02:24
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28475/src/org/python/pydev/plugin Modified Files: PydevPrefsInitializer.java Log Message: Created structure to help dealing with imports in files, even if the file does not have a correct AST Refactor: Moved methods from FullRepIterable to StringUtils Index: PydevPrefsInitializer.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/PydevPrefsInitializer.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** PydevPrefsInitializer.java 31 Oct 2007 00:54:45 -0000 1.19 --- PydevPrefsInitializer.java 18 May 2008 20:02:17 -0000 1.20 *************** *** 10,13 **** --- 10,14 ---- import org.python.pydev.parser.PyParserManager; import org.python.pydev.ui.filetypes.FileTypesPreferencesPage; + import org.python.pydev.ui.importsconf.ImportsPreferencesPage; import org.eclipse.core.runtime.preferences.DefaultScope; import org.eclipse.jface.resource.StringConverter; *************** *** 125,128 **** --- 126,134 ---- node.put(FileTypesPreferencesPage.FIRST_CHOICE_PYTHON_SOURCE_FILE, FileTypesPreferencesPage.DEFAULT_FIRST_CHOICE_PYTHON_SOURCE_FILE); + //imports + node.putBoolean(ImportsPreferencesPage.GROUP_IMPORTS, ImportsPreferencesPage.DEFAULT_GROUP_IMPORTS); + node.putBoolean(ImportsPreferencesPage.MULTILINE_IMPORTS, ImportsPreferencesPage.DEFAULT_MULTILINE_IMPORTS); + node.put(ImportsPreferencesPage.BREAK_IMPORTS_MODE, ImportsPreferencesPage.DEFAULT_BREAK_IMPORTS_MODE); + } |