Search found 10 matches

by Along
Tue Jun 07, 2016 4:36 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Actually it was my mistake, I can open .xml files with the new Editor. I will try to work from this and your sample. It is a little bothersome that it does not compile but I can work with it for now. From that I can get the editedFile in the about2Save() method. Thank you for your time and ...
by Along
Tue Jun 07, 2016 12:13 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, In my case, I can also open the runtime workbench but I can't open the .xml2 file with your editor, only those native from Eclipse. Also, since the class doesn't compile, I can't override method from Editor part such as saveAs() or isDirty() as I have show you in the first messages. I tried...
by Along
Mon Jun 06, 2016 6:18 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu,

Indeed, I tried with your sample project. I made a reference in the build path to the oxygen-annotations.jar (the path redirect to my Desktop where the .jar is) and I my operating system is Windows seven.
My manifest is the same a yours.

Thanks for you help,
Along
by Along
Mon Jun 06, 2016 3:46 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Thank you for your answer. I already use the "Problems view" so I have already resolve the import of the plugin org.eclipse.core.resources. However, I still have the error "The hierarchy of the type XMLEditor is inconsistent" and I don't have messages in the "Proble...
by Along
Fri Jun 03, 2016 5:49 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Thanks for your answer. I have tried to import your project into a new workspace but after adding the oxygen-annotation to the build path, the project still doesn't compile. I need to add to dependencies the plugin org.eclipse.core.resources because, I don't know why but, he wants to access...
by Along
Fri Jun 03, 2016 12:06 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Thanks for your quick answer. 1) From what I understand, you modify the org.eclipse.ui.editors plug-in and you add in its dependencies the oxygen-annotations.jar ? Because I have done the same thing and it does not work. I created another plug-in project to test it. Inside you have all .jar...
by Along
Thu Jun 02, 2016 4:52 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hello Radu, 1) I cannot give you something else than this message because this is not an error during a code execution but rather an exception from Eclipse which prevent the code to compile. And there are no advice or solution given by Eclipse to resolve this issue. For the libraries, I have added a...
by Along
Thu Jun 02, 2016 3:51 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Thank you again for your quick answer. I have downloaded the jar and added in the build bath so my code could compile. For those interested, the editor looks like this : public class OxygenEditor extends EditorPart { protected File tempFile = null; protected XMLTextEditor editor; @Override ...
by Along
Thu Jun 02, 2016 10:55 am
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Re: Integrate oXygen XML Editor into RCP application EditorPart

Hi Radu, Thank you for you quick answer. I would like to know how I can access the com.oxygenxml.editor.editors.xml.XMLTextEditor class. Indeed, I have the oXygen package in my Eclipse dropins folder so I can open those views. However, I can't find it (with the ctrl + alt + T "Open Type" d...
by Along
Wed Jun 01, 2016 7:39 pm
Forum: Other Issues
Topic: Integrate oXygen XML Editor into RCP application EditorPart
Replies: 19
Views: 5004

Integrate oXygen XML Editor into RCP application EditorPart

Hello, I'm trying to integrate the oXygen XML editor into a RCP application. However, I am not trying to open directly the XML editor but rather I have a class which extends EditorPart and I want to open the oXygen text editor inside. IDE.openEditor(page, docInput, "com.xml.editors.OxygenEditor...