1 11 package org.eclipse.ant.internal.ui.debug.model; 12 13 import org.eclipse.ant.internal.ui.debug.IAntDebugConstants; 14 import org.eclipse.debug.core.model.IValue; 15 import org.eclipse.debug.core.model.IVariable; 16 17 public class AntValue extends AntDebugElement implements IValue { 18 19 private String fValueString; 20 protected static final IVariable[] EMPTY = new IVariable[0]; 21 22 25 public AntValue(AntDebugTarget target, String value) { 26 super(target); 27 fValueString= value; 28 } 29 30 33 public String getReferenceTypeName() { 34 return ""; } 36 37 40 public String getValueString() { 41 return fValueString; 42 } 43 44 47 public boolean isAllocated() { 48 return true; 49 } 50 51 54 public IVariable[] getVariables() { 55 return EMPTY; 56 } 57 58 61 public boolean hasVariables() { 62 return false; 63 } 64 65 68 public String getModelIdentifier() { 69 return IAntDebugConstants.ID_ANT_DEBUG_MODEL; 70 } 71 } 72 | Popular Tags |