Last change
on this file since 31832 was 30841, checked in by bastik, 11 years ago |
applied #josm10682 - Added features to sorting route relation of public_transport version 2 scheme (patch by freeExec)
|
-
Property svn:eol-style
set to
native
|
File size:
519 bytes
|
Line | |
---|
1 | package relcontext;
|
---|
2 |
|
---|
3 | import org.openstreetmap.josm.data.osm.Relation;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * A chosen relation that is only a container for one relation and does not listen to anything.
|
---|
7 | *
|
---|
8 | * @author Zverik
|
---|
9 | */
|
---|
10 | public class StaticChosenRelation extends ChosenRelation {
|
---|
11 |
|
---|
12 | public StaticChosenRelation( Relation rel ) {
|
---|
13 | chosenRelation = rel;
|
---|
14 | analyse();
|
---|
15 | }
|
---|
16 |
|
---|
17 | @Override
|
---|
18 | public void set( Relation rel ) {
|
---|
19 | // throw new UnsupportedOperationException("Changing static relation is not supported.");
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.