* Implement HopObject.getAllIds() in order to display HopObject properties in debugger.

This commit is contained in:
hns 2008-02-01 10:31:38 +00:00
parent 3fbb4419c6
commit b49ad9d2f1

View file

@ -971,9 +971,19 @@ public class HopObject extends ScriptableObject implements Wrapper, PropertyReco
}
/**
*
*
* @return ...
* Return all property names of this object. This method is used by debugger.
* @return array containing the names of all properties defined in this object
*/
public Object[] getAllIds() {
if (node == null) {
return super.getAllIds();
}
return getIds();
}
/**
* Return all "ordinary" property ids of this object. This "hides" the prototype methods.
* @return array containing the names of this object's data properties
*/
public Object[] getIds() {
if (node == null) {