Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java
index 06d901a60..404db08ad 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java
@@ -14,14 +14,14 @@ import org.eclipse.debug.ui.sourcelookup.ISourceLookupResult;
import org.eclipse.ui.IEditorInput;
/**
- * The result of a source lookup contains the source element, editor id, and
+ * The result of a source lookup contains the source element, editor id, and
* editor input resolved for a debug artifact.
- *
+ *
* @since 3.1
*/
public class SourceLookupResult implements ISourceLookupResult {
-
- /**
+
+ /**
* Element that source was resolved for.
*/
private Object fArtifact;
@@ -42,7 +42,7 @@ public class SourceLookupResult implements ISourceLookupResult {
private IEditorInput fEditorInput;
/**
- * Creates a source lookup result on the given artifact, source element,
+ * Creates a source lookup result on the given artifact, source element,
* editor id, and editor input.
*/
public SourceLookupResult(Object artifact, Object sourceElement, String editorId, IEditorInput editorInput) {
@@ -51,7 +51,7 @@ public class SourceLookupResult implements ISourceLookupResult {
setEditorId(editorId);
setEditorInput(editorInput);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.sourcelookup.ISourceLookupResult#getArtifact()
*/
@@ -59,7 +59,7 @@ public class SourceLookupResult implements ISourceLookupResult {
public Object getArtifact() {
return fArtifact;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.sourcelookup.ISourceLookupResult#getSourceElement()
*/
@@ -67,18 +67,18 @@ public class SourceLookupResult implements ISourceLookupResult {
public Object getSourceElement() {
return fSourceElement;
}
-
+
/**
* Sets the source element resolved for the artifact that source
* lookup was performed for, or <code>null</code> if a source element
* was not resolved.
- *
+ *
* @param element resolved source element or <code>null</code> if unknown
- */
+ */
protected void setSourceElement(Object element) {
fSourceElement = element;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.sourcelookup.ISourceLookupResult#getEditorId()
*/
@@ -86,17 +86,17 @@ public class SourceLookupResult implements ISourceLookupResult {
public String getEditorId() {
return fEditorId;
}
-
+
/**
* Sets the identifier of the editor used to display this source
* lookup result's source element, or <code>null</code> if unknown.
- *
+ *
* @param id the identifier of the editor used to display this source
* lookup result's source element, or <code>null</code> if unknown
*/
protected void setEditorId(String id) {
fEditorId = id;
- }
+ }
/* (non-Javadoc)
* @see org.eclipse.debug.ui.sourcelookup.ISourceLookupResult#getEditorInput()
@@ -105,24 +105,24 @@ public class SourceLookupResult implements ISourceLookupResult {
public IEditorInput getEditorInput() {
return fEditorInput;
}
-
+
/**
* Sets the editor input used to display this source lookup
* result's source element, or <code>null</code> if unknown.
- *
+ *
* @param input the editor input used to display this source lookup
* result's source element, or <code>null</code> if unknown
*/
protected void setEditorInput(IEditorInput input) {
fEditorInput = input;
- }
-
+ }
+
/**
* Updates the artifact to refer to the given artifact
* if equal. For example, when a source lookup result is reused
* for the same stack frame, we still need to update in case
* the stack frame is not identical.
- *
+ *
* @param artifact new artifact state
*/
public void updateArtifact(Object artifact) {

Back to the top