1) Made setName a public method. (For the 'unnamed root node' workaround see PHPDBGIn...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPVariable.java
index 94fd528..91b2a78 100644 (file)
@@ -62,7 +62,7 @@ public class PHPVariable implements IVariable {
         *
         * @param name
         */
-       private void setName (String name) {
+       public void setName (String name) {
                if ((fParent == null) ||                                                                        // If we have no parent for this variable
                    (fParent.getName () == "")) {                           //  or we have a parent which is just a simple node ???
                        fLongName = name;                                       // Set the long name