Package com.luciad.lucy.addons.map
Class TLcyMapEditUnitAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.ALcyPreferencesAddOn
com.luciad.lucy.addons.map.TLcyMapEditUnitAddOn
This add-on provides UI to change the units and formats which are used when measurements are displayed.
This add-on adds menu items to configure:
- the default coordinate point format
- the default datetime format
- the default distance format
- the default speed format
- the default altitude format
- the default azimuth format
- the default scale format
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Allows plugging in a custom pattern-based point format that can be used inILcyLucyEnv.setDefaultLonLatPointFormat(Format)
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final TLcyGroupDescriptor
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPointFormats
(List<TLcyMapEditUnitAddOn.PointFormatProvider> aFormatsSFCT) Provides the point formats that this add-on can use.void
plugInto
(ILcyLucyEnv aLucyEnv) Creates and plugs in the add-on's preferences tool.Methods inherited from class com.luciad.lucy.addons.ALcyPreferencesAddOn
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefix, unplugFrom
Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Field Details
-
EDIT_UNIT_GROUP_DESCRIPTOR
-
PREFIX
- See Also:
-
DISTANCE_UNIT_PROPERTY
- See Also:
-
DEFAULT_DISTANCE_UNIT_PROPERTY
- See Also:
-
ALTITUDE_UNIT_PROPERTY
- See Also:
-
DEFAULT_ALTITUDE_UNIT_PROPERTY
- See Also:
-
SPEED_UNIT_PROPERTY
- See Also:
-
DEFAULT_SPEED_UNIT_PROPERTY
- See Also:
-
AZIMUTH_FORMAT_PROPERTY
- See Also:
-
DEFAULT_AZIMUTH_FORMAT_PROPERTY
- See Also:
-
POINT_FORMAT_PROPERTY
- See Also:
-
LON_LAT_FORMAT_PROPERTY
- See Also:
-
GEOREF_FORMAT_PROPERTY
- See Also:
-
UTM_FORMAT_PROPERTY
- See Also:
-
DEFAULT_LON_LAT_FORMAT_PROPERTY
- See Also:
-
-
Constructor Details
-
TLcyMapEditUnitAddOn
public TLcyMapEditUnitAddOn()Default constructor
-
-
Method Details
-
plugInto
Description copied from class:ALcyPreferencesAddOn
Creates and plugs in the add-on's preferences tool.- Overrides:
plugInto
in classALcyPreferencesAddOn
- Parameters:
aLucyEnv
- the Lucy environment to plug into- See Also:
-
addPointFormats
Provides the point formats that this add-on can use. To add a custom point format, override this method, call the super method, create a provider for your format, and add it to the list. Refer to the add-on's configuration files for more information on how to enable the format in your GUI.- Parameters:
aFormatsSFCT
- the list of point formats to add to- Since:
- 2021.1
-