Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.conflict;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Event fired when conflicts are added.
|
---|
8 | */
|
---|
9 | public class ConflictsAddedEvent extends AbstractConflictsEvent {
|
---|
10 |
|
---|
11 | private static final long serialVersionUID = 1L;
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Constructs a new {@code ConflictsAddedEvent}.
|
---|
15 | * @param source object on which the Event initially occurred
|
---|
16 | * @param conflicts conflicts collection
|
---|
17 | */
|
---|
18 | public ConflictsAddedEvent(Object source, ConflictCollection conflicts) {
|
---|
19 | super(source, conflicts);
|
---|
20 | }
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * Returns added conflicts.
|
---|
24 | * @return added conflicts
|
---|
25 | */
|
---|
26 | public Collection<Conflict<?>> getAddedConflicts() {
|
---|
27 | throw new UnsupportedOperationException("Requires a change in core"); // FIXME
|
---|
28 | }
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.