Class EditOptionsPanel

  • All Implemented Interfaces:
    OptionsPanel, ImageObserver, MenuContainer, Serializable, Accessible

    public class EditOptionsPanel
    extends JPanel
    implements OptionsPanel
    Implements an OptionsPanel for Edit. [2015-04-01] Giuseppe Aruta - add option for advanced layer tooltip [2016-10-04] Giuseppe Aruta - add option to select the geometry after it has been drawn [2016-10-09] Michaƫl Michaud - add option to limit the number of editable layers to one [2020-06-16] Giuseppe Aruta - Feature request #245 Create form to edit attribute values Added option to open Infoframe after digitalized a new feature
    See Also:
    Serialized Form
    • Field Detail

      • SELECT_NEW_GEOMETRY_KEY

        public static final String SELECT_NEW_GEOMETRY_KEY
        Option de editable layer number
      • SELECT_INFO_GEOMETRY_KEY

        public static final String SELECT_INFO_GEOMETRY_KEY
        Option de editable layer number
      • SINGLE_EDITABLE_LAYER_KEY

        public static final String SINGLE_EDITABLE_LAYER_KEY
        Option de editable layer number
      • LAYER_TOOLTIPS_KEY

        public static final String LAYER_TOOLTIPS_KEY
        Option de tooltip
      • EDIT_PANEL

        public static final String EDIT_PANEL
      • PREVENT_INVALID_EDIT

        public static final String PREVENT_INVALID_EDIT
      • SELECT_NEW_GEOMETRY

        public static final String SELECT_NEW_GEOMETRY
      • SELECT_INFO_GEOMETRY

        public static final String SELECT_INFO_GEOMETRY
      • SELECT_NEW_GEOMETRY_WARNING

        public static final String SELECT_NEW_GEOMETRY_WARNING
      • SINGLE_EDITABLE_LAYER

        public static final String SINGLE_EDITABLE_LAYER
      • CONFIGURE_LAYERTREE_PANEL

        public static final String CONFIGURE_LAYERTREE_PANEL
      • LAYER_TOOLTIP

        public static final String LAYER_TOOLTIP
    • Constructor Detail

      • EditOptionsPanel

        public EditOptionsPanel​(Blackboard blackboard)
    • Method Detail

      • init

        public void init()
        Description copied from interface: OptionsPanel
        Notifies this panel that the OptionsDialog has been (re-)opened
        Specified by:
        init in interface OptionsPanel
      • validateInput

        public String validateInput()
        Specified by:
        validateInput in interface OptionsPanel
        Returns:
        an error message if a field is not valid; otherwise, null
      • okPressed

        public void okPressed()
        Description copied from interface: OptionsPanel
        Notifies this panel that it should commit its entries to the system
        Specified by:
        okPressed in interface OptionsPanel