[Pydev-cvs] org.python.pydev.refactoring/src/org/python/pydev/refactoring/codegenerator/constructor
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-09-27 20:02:11
|
Update of /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/codegenerator/constructorfield/request In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21605/src/org/python/pydev/refactoring/codegenerator/constructorfield/request Modified Files: ConstructorFieldRequest.java Log Message: Synching to latest changes: Pydev <ul> <li><strong>Editor</strong>: Cursor settings no longer overridden</li> <li><strong>Code-completion</strong>: If __all__ is defined with runtime elements (and not only in a single assign statement), it's ignored for code-completion purposes</li> <li><strong>Debugger</strong>: Pythonpath the same in debug and regular modes (sys.path[0] is the same directory as the file run)</li> <li><strong>Debugger</strong>: Persist choices done in the debugger when files from the debugger are not found</li> <li><strong>Interpreter config</strong>: "email" automatically added to the "forced builtins"</li> <li><strong>Parser</strong>: Correctly recognizing absolute import with 3 or more levels</li> <li><strong>Syntax check</strong>: Option to do only on active editor</li> </ul> Also: tabs changed for spaces Index: ConstructorFieldRequest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/codegenerator/constructorfield/request/ConstructorFieldRequest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConstructorFieldRequest.java 20 Oct 2007 19:31:02 -0000 1.5 --- ConstructorFieldRequest.java 27 Sep 2008 20:00:48 -0000 1.6 *************** *** 19,52 **** public class ConstructorFieldRequest implements IRefactoringRequest { ! private IClassDefAdapter classAdapter; ! private List<INodeAdapter> attributeAdapters; ! private int offsetStrategy; private String newLineDelim; ! public ConstructorFieldRequest(IClassDefAdapter classAdapter, List<INodeAdapter> attributeAdapters, int offsetStrategy, String newLineDelim) { ! this.classAdapter = classAdapter; ! this.attributeAdapters = attributeAdapters; ! this.offsetStrategy = offsetStrategy; this.newLineDelim = newLineDelim; ! } ! public IASTNodeAdapter<? extends SimpleNode> getOffsetNode() { ! return classAdapter; ! } ! public List<INodeAdapter> getAttributeAdapters() { ! return attributeAdapters; ! } ! public IClassDefAdapter getClassAdapter() { ! return classAdapter; ! } ! public int getOffsetStrategy() { ! return offsetStrategy; ! } public String getNewLineDelim() { --- 19,52 ---- public class ConstructorFieldRequest implements IRefactoringRequest { ! private IClassDefAdapter classAdapter; ! private List<INodeAdapter> attributeAdapters; ! private int offsetStrategy; private String newLineDelim; ! public ConstructorFieldRequest(IClassDefAdapter classAdapter, List<INodeAdapter> attributeAdapters, int offsetStrategy, String newLineDelim) { ! this.classAdapter = classAdapter; ! this.attributeAdapters = attributeAdapters; ! this.offsetStrategy = offsetStrategy; this.newLineDelim = newLineDelim; ! } ! public IASTNodeAdapter<? extends SimpleNode> getOffsetNode() { ! return classAdapter; ! } ! public List<INodeAdapter> getAttributeAdapters() { ! return attributeAdapters; ! } ! public IClassDefAdapter getClassAdapter() { ! return classAdapter; ! } ! public int getOffsetStrategy() { ! return offsetStrategy; ! } public String getNewLineDelim() { |