Save content of the Oxygen XML Editor

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

Save content of the Oxygen XML Editor

Post by SSC » Tue Feb 28, 2012 3:28 pm

Hello,

We are using your Eclipse plugin to edit the content of XML files.
When the XML content is edited the Oxygen Editor receives the dirty flag, because of the changed content.
But when I try to save the changes in the Author or Grid View with the "STRG+S" aka "Ctrl+S" nothing happens.
Only in the Text View of the Editor the content ist saved.
Do you have an idea why it does not work?

I know that it works in the usual Eclipse IDE, but not in our RCP client.
Unfortunately I am not able to figure out why it does not work.
Maybe you can help or you have had a similar issue.

Thanks,

Simon
Simon Scholz
vogella GmbH
http://www.vogella.com

SSC
Posts: 206
Joined: Thu Dec 01, 2011 4:22 pm
Location: Hamburg, Germany

Re: Save content of the Oxygen XML Editor

Post by SSC » Tue Feb 28, 2012 3:42 pm

Issue solved:

http://www.eclipse.org/forums/index.php/t/219216/

Sorry for disturbing you, but it could be interesting to others too.

I just added the save action to our ActionBarAdvisor:

Code: Select all

protected void makeActions(IWorkbenchWindow window) {
IWorkbenchAction saveAction = ActionFactory.SAVE.create(window);
register(saveAction);
}
Regards,

Simon
Simon Scholz
vogella GmbH
http://www.vogella.com

Post Reply