about adding custom toolbar in the applet

Are you missing a feature? Request it's implementation here.

about adding custom toolbar in the applet

Postby atl_kev » Mon Apr 16, 2012 6:18 pm

Hi,

Is there any document and sample code to guide and demonstrate us how to add a custom toolbar to the applet-based oXygen editor?

Thanks,
Kevin
atl_kev
 
Posts: 2
Joined: Thu Feb 02, 2012 7:17 pm

Re: about adding custom toolbar in the applet

Postby mihaela » Tue Apr 17, 2012 12:28 pm

Hi,

Here you can find an oXygen sample applet:
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
that also includes a custom toolbar with actions like cut/copy/paste or undo/redo.

The page contains links to the entire sample source code (http://www.oxygenxml.com/demo/AuthorDem ... sample.zip) that can help you to add your custom toolbar to the Author component.

Best regards,
Mihaela
Mihaela Calotescu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mihaela
 
Posts: 82
Joined: Wed May 20, 2009 2:40 pm

Re: about adding custom toolbar in the applet

Postby Radu » Mon Apr 30, 2012 2:28 pm

Hi Kevin,

So basically you can either implement the toolbar using standard HTML form buttons and then call Author Component API using JavaScript or implement the toolbar as a Java toolbar inside the Author Component Applet.
The sample applet project for which Mihaela already sent the links contains both approaches.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 2014
Joined: Fri Jul 09, 2004 5:18 pm


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 1 guest