1 11 package org.eclipse.ant.internal.ui.debug.model; 12 13 import java.util.ArrayList ; 14 import java.util.List ; 15 import org.eclipse.debug.core.model.IValue; 16 import org.eclipse.debug.core.model.IVariable; 17 18 public class AntPropertiesValue extends AntDebugElement implements IValue { 19 20 List fProperties= new ArrayList (); 21 22 public AntPropertiesValue(AntDebugTarget target) { 23 super(target); 24 } 25 26 29 public String getReferenceTypeName() { 30 return ""; } 32 35 public String getValueString() { 36 return ""; } 38 41 public boolean isAllocated() { 42 return true; 43 } 44 47 public IVariable[] getVariables() { 48 return (IVariable[])fProperties.toArray(new IVariable[fProperties.size()]); 49 } 50 53 public boolean hasVariables() { 54 return true; 55 } 56 57 protected void addProperties(List properties) { 58 fProperties.addAll(properties); 59 } 60 61 protected List getProperties() { 62 return fProperties; 63 } 64 } 65 | Popular Tags |