org.eclipse.debug.ui.actions
Interface IWatchExpressionFactoryAdapterExtension
-
All Superinterfaces:
-
IWatchExpressionFactoryAdapter
-
public interface IWatchExpressionFactoryAdapterExtension
- extends
IWatchExpressionFactoryAdapter
Optional extension to the watch expression factory adapter to dynamically enable the
'Create Watch Expression' action, based on the selected variable.
By default, the 'Create Watch Expression' action is enabled for instances of
IVariable
that have an associated
IWatchExpressionDelegate
registered
for that debug model.
When a watch expression factory adapter is available for a variable that implements
this interface, the factory is consulted to enable the action.
Clients may implementing
IWatchExpressionFactoryAdapter
may also implement
this interface.
-
Since:
- 3.3
canCreateWatchExpression
boolean canCreateWatchExpression(
IVariable variable)
- Returns whether a watch expression can be created for the specified variable.
-
-
-
Parameters:
-
variable
- variable a watch expression is required for
-
Returns:
- whether an expression can be created
-
Throws:
-
CoreException
- if unable to create a watch
expression
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.