does not work

<oXygen/> general issues.
Posts: 206
Joined: Thu Dec 01, 2011 4:22 pm
Location: Hamburg, Germany does not work

Post by SSC » Thu Dec 20, 2012 11:59 am


we are using the eclipse version of the Oxygen Author 14.1.

I just tried to disable modifying text in the text page of the XMLEditor by using :

Code: Select all;
But though the editable flag is set I am able to modify the plain xml in the text page.

Best regards,

Simon Scholz
vogella GmbH

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: does not work

Post by sorin_ristache » Fri Dec 21, 2012 4:53 pm

Hi Simon,

If you are sure that the Eclipse editor panel is still editable in Text mode after calling WSTextBasedEditorPage.setEditable(false) on the editor Java class corresponding to that editor panel then the probable cause would be the call to WSTextBasedEditorPage.setEditable(false) was not on the SWT (event-dispatching) thread and the SWTException (with the error code ERROR_THREAD_INVALID_ACCESS) thrown by the Eclipse platform was somehow ignored.

If this is not the case please post here (or send through the online form for bug reports) some code samples that show how you register your custom handler/listener with the Oxygen Author API and how you call WSTextBasedEditorPage.setEditable(false), since we need a way of reproducing the problem.


Post Reply