public abstract class EditablePolylineImporter extends DrawingImporter
_context, _group, _mapView, _prefs, FROM_MISSIONPACKAGE, FROM_STATESAVER, NOTIFICATION_ID
crcBlacklist, supportedMimeTypes
contentType
Modifier | Constructor and Description |
---|---|
protected |
EditablePolylineImporter(MapView mapView,
MapGroup group,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
protected PointMapItem |
createMarker(EditablePolyline poly,
CotDetail linkDetails)
Given a link from an AssocSet's Cot event, creates the corresponding item.
|
protected GeoPointMetaData |
createPoint(EditablePolyline poly,
CotDetail linkDetails)
Create a new geo point given link details
|
protected boolean |
loadPoints(EditablePolyline poly,
CotEvent event)
Load all the points from a CoT event into the polyline
|
getNotificationIcon, importMapItem
addToGroup, addToGroup, dispatchItemImported, findItem, findItem, importData, isLocalImport, isStateSaverImport, persist, postNotification
getSupportedCotTypes, importNonCotData, isPrefixOnly, setPrefixOnly
crcDetails, getSupportedMIMETypes, importData, importData, importData, parseColor, parseDouble, parseInt
deleteData, getContentType, importUriAsStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteData, getContentType
protected boolean loadPoints(EditablePolyline poly, CotEvent event)
poly
- Editable polylineevent
- CoT eventprotected GeoPointMetaData createPoint(EditablePolyline poly, CotDetail linkDetails)
poly
- Editable polylinelinkDetails
- Link detailsprotected PointMapItem createMarker(EditablePolyline poly, CotDetail linkDetails)
poly
- The associated polylinelinkDetails
- The point details