VLab Issue #5422 - Make warning polygon outline settable in bundle file
Change-Id: I3f6395fa143a9ff54b748490795ecffb2cc35979 Former-commit-id: ab9de202c00d86fba4851a733c9b6977eccf73d1
This commit is contained in:
parent
cbc28219f3
commit
02ed7390d2
1 changed files with 4 additions and 1 deletions
|
@ -87,6 +87,7 @@ import com.vividsolutions.jts.geom.prep.PreparedGeometryFactory;
|
|||
* Mar 10, 2014 2832 njensen Moved duplicated subclass's disposeInternal() logic here
|
||||
* Aug 14, 2014 3523 mapeters Updated deprecated {@link DrawableString#textStyle}
|
||||
* assignments.
|
||||
* Dec 5, 2014 DR14944 jgerth Only set outline width when there is no existing capability
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -177,7 +178,9 @@ public abstract class AbstractWWAResource extends
|
|||
super(data, props);
|
||||
this.recordsToLoad = new ArrayList<AbstractWarningRecord>();
|
||||
resourceData.addChangeListener(this);
|
||||
getCapability(OutlineCapability.class).setOutlineWidth(2);
|
||||
if (!hasCapability(OutlineCapability.class)) {
|
||||
getCapability(OutlineCapability.class).setOutlineWidth(2);
|
||||
}
|
||||
color = getCapability((ColorableCapability.class)).getColor();
|
||||
this.entryMap = new ConcurrentHashMap<String, WarningEntry>();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue