
org.eclipse.debug.ui.sourcelookup.ISourceLookupResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.debug.ui Show documentation
Show all versions of org.eclipse.debug.ui Show documentation
This is org.eclipse.debug.ui jar used by Scout SDK
The newest version!
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.ui.sourcelookup;
import org.eclipse.ui.IEditorInput;
/**
* The result of performing source lookup on a debug artifact.
* The result contains the resolved source element and description
* of an editor (editor id, and editor input) in which to display
* the result.
* @see org.eclipse.debug.ui.DebugUITools#lookupSource(Object, org.eclipse.debug.core.model.ISourceLocator)
* @see org.eclipse.debug.ui.DebugUITools#displaySource(ISourceLookupResult, org.eclipse.ui.IWorkbenchPage)
* @since 3.1
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
*/
public interface ISourceLookupResult {
/**
* Returns the artifact for which source lookup was performed,
* such as a stack frame.
*
* @return the artifact for which source lookup was performed
*/
public Object getArtifact();
/**
* Returns the source element resolved during source lookup,
* or null
if a source element was not resolved.
*
* @return resolved source element or null
if unknown
*/
public Object getSourceElement();
/**
* Returns the identifier of an editor used to display this result,
* or null
if unknown.
*
* @return the identifier of an editor used to display this result,
* or null
if unknown
*/
public String getEditorId();
/**
* Returns the editor input used to display result,
* or null
if unknown.
*
* @return the editor input used to display result,
* or null
if unknown
*/
public IEditorInput getEditorInput();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy