diff options
author | Jared Burns | 2003-08-07 23:55:52 +0000 |
---|---|---|
committer | Jared Burns | 2003-08-07 23:55:52 +0000 |
commit | 4d13031db2d6df3beb6fea2ec97466c5076425c6 (patch) | |
tree | 469d859c0561d5a35f142602177da1b9997a7232 /org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java | |
parent | c89741f2c7516db5a13b9d9b420eed62bfa25287 (diff) | |
download | eclipse.platform.debug-4d13031db2d6df3beb6fea2ec97466c5076425c6.tar.gz eclipse.platform.debug-4d13031db2d6df3beb6fea2ec97466c5076425c6.tar.xz eclipse.platform.debug-4d13031db2d6df3beb6fea2ec97466c5076425c6.zip |
Bug 27281 - The watch expressions don't persist across workbench invocations
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java new file mode 100644 index 000000000..abd1da088 --- /dev/null +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.debug.core.model; + +/** + * A delegate which computes the value of a watch expression + * when provided a context. + * + * @since 3.0 + */ +public interface IWatchExpressionDelegate { + + /** + * Evaluates the given expression in the given context asynchronously and + * notifies the given listener when the evaluation finishes. + * + * @param expression the expression to evaluate + * @param context the context of the evaluation + * @param listener the listener to notify when the evaluation completes + */ + public void evaluateExpression(String expression, IDebugElement context, IWatchExpressionListener listener); + +} |