private static final class SubmissionCompareEditorInput.Item
extends org.eclipse.compare.BufferedContent
implements org.eclipse.compare.ITypedElement
Modifier and Type | Field and Description |
---|---|
private org.eclipse.core.resources.IFile |
file
Target file that is wrapped by this item.
|
Modifier | Constructor and Description |
---|---|
private |
Item(org.eclipse.core.resources.IFile file)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
createStream() |
org.eclipse.swt.graphics.Image |
getImage() |
java.lang.String |
getName() |
java.lang.String |
getType() |
private final org.eclipse.core.resources.IFile file
private Item(org.eclipse.core.resources.IFile file)
file
- Target file that is wrapped by this item.public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.compare.ITypedElement
public java.lang.String getName()
getName
in interface org.eclipse.compare.ITypedElement
public java.lang.String getType()
getType
in interface org.eclipse.compare.ITypedElement
public java.io.InputStream createStream() throws org.eclipse.core.runtime.CoreException
createStream
in class org.eclipse.compare.BufferedContent
org.eclipse.core.runtime.CoreException