Class HelpAction

    • Constructor Detail

      • HelpAction

        protected HelpAction()
        Constructs a new HelpAction.
    • Method Detail

      • getKeyStroke

        public static KeyStroke getKeyStroke()
        Returns the keystroke launching this action (F1 by default).
        Returns:
        the keystroke launching this action
      • displayTagHelp

        public static void displayTagHelp​(String key,
                                          String val)
        Displays the most specific wiki page for the given key/value.
        Parameters:
        key - Key
        val - Value
        Since:
        14208
      • displayRelationHelp

        public static void displayRelationHelp​(IRelation<?> rel)
        Displays the most specific wiki page for the given relation.
        Parameters:
        rel - Relation
        Since:
        14208
      • displayGenericHelp

        public static void displayGenericHelp()
        Displays the localized Map Features.
        Since:
        14208
      • displayHelp

        public static void displayHelp​(List<String> pages)
        Display help by opening the first existing wiki page in the given list.
        Parameters:
        pages - list of wiki page names to test
        Since:
        14208