Package com._1c.g5.v8.dt.compare.ui
Class ComparisonDataSourceBasedTypedElement
- java.lang.Object
-
- com._1c.g5.v8.dt.compare.ui.AbstractCompareTypedElement
-
- com._1c.g5.v8.dt.compare.ui.ComparisonDataSourceBasedTypedElement
-
- All Implemented Interfaces:
org.eclipse.compare.IEncodedStreamContentAccessor
,org.eclipse.compare.IStreamContentAccessor
,org.eclipse.compare.ITypedElement
public class ComparisonDataSourceBasedTypedElement extends AbstractCompareTypedElement
TheAbstractCompareTypedElement
extension that returns content fromIComparisonDataSource
.
-
-
Constructor Summary
Constructors Constructor Description ComparisonDataSourceBasedTypedElement(String name, IComparisonDataSource dataSource, Path path)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getContents()
-
Methods inherited from class com._1c.g5.v8.dt.compare.ui.AbstractCompareTypedElement
getCharset, getImage, getName, getType, setCharset, setImage, setType
-
-
-
-
Constructor Detail
-
ComparisonDataSourceBasedTypedElement
public ComparisonDataSourceBasedTypedElement(String name, IComparisonDataSource dataSource, Path path)
Creates a new instance.- Parameters:
name
- the typed element name, may benull
dataSource
- the comparison data source to get content from, cannot benull
path
- the path to get content by, may benull
-
-
Method Detail
-
getContents
public InputStream getContents() throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
-