Package org.eclipse.debug.ui.actions
Interface IWatchExpressionFactoryAdapterExtension
- All Superinterfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canCreateWatchExpression
(IVariable variable) Returns whether a watch expression can be created for the specified variable.Methods inherited from interface org.eclipse.debug.ui.actions.IWatchExpressionFactoryAdapter
createWatchExpression
-
Method Details
-
canCreateWatchExpression
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
-