Eclipse Platform
Release 3.3

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

Method Summary
 boolean 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 Detail

canCreateWatchExpression

public 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

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.