public abstract class MergeVisualizer extends Object
The registered Merge Visualizers can be obtained via Lookup
(e.g. you can get the default merge provider by
Lookup.getDefault().lookup(MergeVisualizer.class)
)
Constructor and Description |
---|
MergeVisualizer() |
Modifier and Type | Method and Description |
---|---|
abstract Component |
createView(Difference[] diffs,
StreamSource source1,
StreamSource source2,
StreamSource result)
Show the visual representation of the merging process of two sources.
|
public abstract Component createView(Difference[] diffs, StreamSource source1, StreamSource source2, StreamSource result) throws IOException
diffs
- The list of conflicts.source1
- the source of the first filesource2
- the source of the second fileresult
- the information about the result sourceIOException
- when the reading from input streams fails.