
4 Jul
2019
4 Jul
'19
8:43 a.m.
On 03/07/2019 10:46, Oxygen XML Editor Support (Radu Coravu) wrote:
The components validator plugin's "getComponentsValidator" method is called too early, when the "PluginWorkspaceProvider.getPluginWorkspace()" singleton object is not yet built. Maybe instead you could look at a Java system property called "com.oxygenxml.app.descriptor" which for Oxygen XML Editor should have the value "ro.sync.exml.EditorFrameDescriptor". That worked, thank you.
// Menu items, etc., are not disabled in Oxygen XML Editor. boolean isEditor = System.getProperty("com.oxygenxml.app.descriptor").equals("ro.sync.exml.EditorFrameDescriptor"); Regards, Tony Graham. -- XML Division Antenna House, Inc. tony@antennahouse.com