X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugWatchExpressionFactoryAdapter.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugWatchExpressionFactoryAdapter.java new file mode 100644 index 0000000..0658295 --- /dev/null +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugWatchExpressionFactoryAdapter.java @@ -0,0 +1,13 @@ +package net.sourceforge.phpeclipse.xdebug.php.model; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.debug.core.model.IVariable; +import org.eclipse.debug.ui.actions.IWatchExpressionFactoryAdapter; + + +public class XDebugWatchExpressionFactoryAdapter implements IWatchExpressionFactoryAdapter { + public String createWatchExpression (IVariable variable) throws CoreException + { + return ((XDebugVariable) variable).getNameFull (); + } +}