Last change
on this file since 35196 was 32395, checked in by donvip, 8 years ago |
checkstyle, update to JOSM 10279
|
-
Property svn:eol-style
set to
native
|
File size:
571 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package relcontext;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.osm.Relation;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * A chosen relation that is only a container for one relation and does not listen to anything.
|
---|
8 | *
|
---|
9 | * @author Zverik
|
---|
10 | */
|
---|
11 | public class StaticChosenRelation extends ChosenRelation {
|
---|
12 |
|
---|
13 | public StaticChosenRelation(Relation rel) {
|
---|
14 | chosenRelation = rel;
|
---|
15 | analyse();
|
---|
16 | }
|
---|
17 |
|
---|
18 | @Override
|
---|
19 | public void set(Relation rel) {
|
---|
20 | // throw new UnsupportedOperationException("Changing static relation is not supported.");
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.