Periodic refresh / reload of DITA Maps during background downloads – validation errors remain until manual F5
Posted: Mon Feb 09, 2026 8:20 pm
Hello Oxygen team,
I’m working on an Oxygen plugin that downloads a large number of DITA resources (topics, maps, .met files) into the local project incrementally, while a root DITA map is already open in the editor.
Problem -
Even though:
Those errors disappear only after the user manually presses
File → Reload (F5).
During downloads, I experimented with several refresh approaches:
Thank you
I’m working on an Oxygen plugin that downloads a large number of DITA resources (topics, maps, .met files) into the local project incrementally, while a root DITA map is already open in the editor.
Problem -
Even though:
- all referenced files eventually exist locally,
- .met files are created,
- file actions become enabled (check-in / checkout),
- references actually resolve correctly on disk,
Those errors disappear only after the user manually presses
File → Reload (F5).
During downloads, I experimented with several refresh approaches:
- PluginWorkspace.refreshInProject(...)
- WSDITAMapEditorPage.refreshReferences()
- Closing and reopening editors
- Invoking the global File/Reload action programmatically
Thank you