[Pydev-cvs] org.python.pydev/src/org/python/pydev/ui/editors TreeWithAddRemove.java, 1.8, 1.9
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-06-14 22:14:52
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/ui/editors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27940/src/org/python/pydev/ui/editors Modified Files: TreeWithAddRemove.java Log Message: Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import. Index: TreeWithAddRemove.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/ui/editors/TreeWithAddRemove.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TreeWithAddRemove.java 27 Oct 2007 11:07:57 -0000 1.8 --- TreeWithAddRemove.java 14 Jun 2008 22:14:56 -0000 1.9 *************** *** 22,25 **** --- 22,26 ---- import org.eclipse.ui.dialogs.ResourceSelectionDialog; import org.eclipse.ui.dialogs.SelectionDialog; + import org.python.pydev.core.structure.FastStringBuffer; import org.python.pydev.plugin.PydevPlugin; import org.python.pydev.plugin.nature.PythonNature; *************** *** 265,269 **** public String getTreeItemsAsStr(){ ! StringBuffer ret = new StringBuffer(); TreeItem[] items = tree.getItems(); for (int i = 0; i < items.length; i++) { --- 266,270 ---- public String getTreeItemsAsStr(){ ! FastStringBuffer ret = new FastStringBuffer(); TreeItem[] items = tree.getItems(); for (int i = 0; i < items.length; i++) { |