Last change
on this file since 8256 was 6890, checked in by Don-vip, 10 years ago |
fix some Sonar issues (Constructor Calls Overridable Method)
|
-
Property svn:eol-style
set to
native
|
File size:
745 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.mappaint.xml;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.gui.mappaint.MapPaintStyles.IconReference;
|
---|
5 | import org.openstreetmap.josm.gui.mappaint.Range;
|
---|
6 |
|
---|
7 | public class IconPrototype extends Prototype {
|
---|
8 |
|
---|
9 | public IconReference icon;
|
---|
10 | public Boolean annotate;
|
---|
11 |
|
---|
12 | public IconPrototype (IconPrototype i, Range range) {
|
---|
13 | super(range);
|
---|
14 | this.icon = i.icon;
|
---|
15 | this.annotate = i.annotate;
|
---|
16 | this.priority = i.priority;
|
---|
17 | this.conditions = i.conditions;
|
---|
18 | }
|
---|
19 |
|
---|
20 | public IconPrototype() { init(); }
|
---|
21 |
|
---|
22 | public final void init() {
|
---|
23 | priority = 0;
|
---|
24 | range = Range.ZERO_TO_INFINITY;
|
---|
25 | icon = null;
|
---|
26 | annotate = null;
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.