Adding actions and GUI elements

To finally use the new list functionality it has to be made available to the user by adding it to SimplyHTML's GUI. Three new actions are created in class FrmMain

They are added to FrmMain's initActions method and inlcuded into menu and tool bar definitions of the resource bundle of application SimplyHTML. Through SimyplHTML's dynamic resource mechanism, new menu items and tool bar buttons are created for above actions automatically.

Class SHTMLEditorPane has an additional action NewListItemAction which is registered with the key map of the editor pane (see also the explanations in the tables section). This action is used to create a new list item when the user presses the [Enter] key while the caret is inside a list.