source: osm/applications/editors/josm/plugins/reltoolbox/src/relcontext/StaticChosenRelation.java@ 26811

Last change on this file since 26811 was 25730, checked in by zverik, 14 years ago

remove unnecessary exception (reltoolbox plugin)

File size: 519 bytes
Line 
1package relcontext;
2
3import 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 */
10public 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.