org.eclipse.debug.ui.IValueDetailListener Java Examples

The following examples show how to use org.eclipse.debug.ui.IValueDetailListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ScriptModelPresentation.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void computeDetail( IValue value, IValueDetailListener listener )
{
	// show the string when mouse hover at the value in the watch view.
	String detail = ""; //$NON-NLS-1$
	try
	{
		detail = value.getValueString( );
	}
	catch ( DebugException e )
	{
	}
	listener.detailComputed( value, detail );
}
 
Example #2
Source File: PyDebugModelPresentation.java    From Pydev with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * We've got some work to do to replicate here, because we can't return null, and have LazyModel presentation do the
 * default
 */
@Override
public void computeDetail(IValue value, IValueDetailListener listener) {
    if (value instanceof PyVariable) {
        try {
            ((PyVariable) value).getVariables();
            listener.detailComputed(value, ((PyVariable) value).getDetailText());
        } catch (DebugException e) {
            PydevDebugPlugin.errorDialog("Unexpected error fetching variable", e);
        }
    }
}
 
Example #3
Source File: CloudSdkDebugTargetPresentation.java    From google-cloud-eclipse with Apache License 2.0 4 votes vote down vote up
@Override
public void computeDetail(IValue value, IValueDetailListener listener) {
}