Class PWAPropertyPage

All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPropertyPage

public class PWAPropertyPage extends PropertyPage implements EventListener
The Progressive Web App (PWA) property page: the switch (the .iiziPWA file), the icons of the installed application and the manifest's category and orientation (CC-PUSH-PWA-PAGES Set I, rulings PX-1, PM-4). When PWA is first switched on the App's icon bitmap is offered as the master icon - only when that asset exists (CC-FIX-PWA-PAGE-PORTS, ruling PW-1: a field is never pre-filled with a file that does not exist); when the page is applied with OK, every icon the module's PWA folder (iiziModule/assets/PWA/) lacks is written into it from the same engine the server uses (PWAIcons.build(PWAIcons.Sources)), never over a file the designer put there (ruling PD-2), and the optional icon fields that were empty then name the files written (ruling PW-2). A line under the editor says beforehand what OK writes and where (PW-1). When the module builds iiziRun (it has a .iiziRun), the files its icon set lacks are written from the same master too (PWAIcons.iiziRunMissing(byte[], Map, Color), order CC-PWA-ICONS-IIZIRUN, ruling I-D-1).

The container is edited in a StandalonePageRoot: a root that resolves <Project>:/assets/... references the way the Module project root does (ruling PW-6); the former EditorServerProps root resolved no project name, so every icon reference was "not found" although the file was there.

Author:
Christopher Mindus