public abstract class EditablePolylineImporter extends DrawingImporter
_context, _group, _mapView, _prefs, FROM_MISSIONPACKAGE, FROM_STATESAVER, NOTIFICATION_IDcrcBlacklist, supportedMimeTypescontentType| 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, importMapItemaddToGroup, addToGroup, dispatchItemImported, findItem, findItem, importData, isLocalImport, isStateSaverImport, persist, postNotificationgetSupportedCotTypes, importNonCotData, isPrefixOnly, setPrefixOnlycrcDetails, getSupportedMIMETypes, importData, importData, importData, parseColor, parseDouble, parseIntdeleteData, getContentType, importUriAsStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteData, getContentTypeprotected 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