[Pydev-cvs] org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/model/table SimpleTab
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-09-27 20:01:08
|
Update of /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/model/table In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21605/src/org/python/pydev/refactoring/ui/model/table Modified Files: SimpleTableItem.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: SimpleTableItem.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/model/table/SimpleTableItem.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SimpleTableItem.java 20 Oct 2007 19:31:04 -0000 1.3 --- SimpleTableItem.java 27 Sep 2008 20:00:50 -0000 1.4 *************** *** 14,42 **** public class SimpleTableItem extends TableItem { ! private String realName; ! public SimpleTableItem(Table parent, String name) { ! super(parent, SWT.None); ! this.realName = name; ! setText(realName); ! } ! public SimpleTableItem(Table parent, String originalName, String text, int pos) { ! super(parent, SWT.None, pos); ! this.realName = originalName; ! setText(text); ! } ! public String getOriginalName() { ! return realName; ! } ! @Override ! protected void checkSubclass() { ! } ! public boolean hasNewName() { ! return this.realName.compareTo(getText()) != 0; ! } } --- 14,42 ---- public class SimpleTableItem extends TableItem { ! private String realName; ! public SimpleTableItem(Table parent, String name) { ! super(parent, SWT.None); ! this.realName = name; ! setText(realName); ! } ! public SimpleTableItem(Table parent, String originalName, String text, int pos) { ! super(parent, SWT.None, pos); ! this.realName = originalName; ! setText(text); ! } ! public String getOriginalName() { ! return realName; ! } ! @Override ! protected void checkSubclass() { ! } ! public boolean hasNewName() { ! return this.realName.compareTo(getText()) != 0; ! } } |