SHTMLFileCloseAllAction

SHTMLFileCloseAllAction uses SHTMLFileCloseAction to close all currently open documents. It declares a field for an own private instance of SHTMLFileCloseAction. This field gets initialized it with an SHTMLFileCloseAction object upon construction of the SHTMLFileCloseAllAction object.

In it's actionPerformed method SHTMLFileCloseAllAction then simply loops through all open documents and calls method closeDocument of SHTMLFileCloseAction.