/**
  * @see
  *     org.eclipse.debug.ui.IDebugModelPresentation#computeDetail(org.eclipse.debug.core.model.IValue,
  *     org.eclipse.debug.ui.IValueDetailListener)
  */
 public void computeDetail(IValue value, IValueDetailListener listener) {
   try {
     listener.detailComputed(value, value.getValueString());
   } catch (DebugException e) {
     e.printStackTrace();
   }
 }
 public void computeDetail(IValue value, IValueDetailListener listener) {
   String detail = "";
   try {
     if (value instanceof IDescentValue) {
       detail = ((IDescentValue) value).getDetail();
     } else {
       detail = value.getValueString();
     }
   } catch (DebugException e) {
   }
   listener.detailComputed(value, detail);
 }
Exemplo n.º 3
0
 /*
  * (non-Javadoc)
  * @see org.eclipse.debug.core.model.IValueModification#verifyValue(org.eclipse.debug.core.model.IValue)
  */
 public boolean verifyValue(IValue xvalue) throws DebugException {
   return verifyValue(xvalue.getValueString());
 }
Exemplo n.º 4
0
 /*
  * (non-Javadoc)
  * @see org.eclipse.debug.core.model.IValueModification#setValue(org.eclipse.debug.core.model.IValue)
  */
 public void setValue(IValue xvalue) throws DebugException {
   // assume never called unless supportsValueModification is true
   setValue(xvalue.getValueString());
 }
Exemplo n.º 5
0
 public boolean hasValueChanged() throws DebugException {
   if (fName.equals("FATAL_ERROR")
       && fType.equals("table")
       && fValue.getValueString().startsWith("A Fatal")) return true;
   return false;
 }