Eclipse Plug-in?

Are you missing a feature? Request its implementation here.
Rüdiger Lause

Eclipse Plug-in?

Post by Rüdiger Lause »

Hi!

We haven't tried yet but we are planning to use Eclipse as workbench for another product.

Neverthelesse, we would very much like to stay with OxygenXML as XML editor.

Is there a possibility to substitute Eclipse's XML editor by OxygenXML?

Best regards

Rüdiger
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Rüdiger,

We will look into this and let you know as soon as we have some results.

First thing we can do is to bind it as a swing application to the org.eclipse.ui.editors extension point. Next we can think of a more close integration with Eclipse but this requires more effort as it must be programed using SWT/JFace instead of Swing as it is the case now.

All the best,
George
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Eclipse Plugin ready

Post by george »

Hi Rüdiger,

We have something ready...
You can download the plugin from:
http://www.oxygenxml.com/update/com.oxy ... editor.zip
For installation just unzip it in the eclipse/plugins directory. It has a trial license already but you can replace it with your license by replacing the license.zip from the lib directory with a license.zip containing your license.key.

If you edit the plugin/extension/editor/@extensions from plugin.xml you can customize the registered extensions. By default these are xml, xsl, xsd, xpr. To open files with oXygen just right click on an xml, xsl, xsd or xpr file and choose from "Open with" OxygenXMLEditor first time you open such a file - after this you can just double click on a file with the registered extension and it will be opened in oXygen. Notice also the Back to Eclipse button that appears in oXygen toolbar - this will just hide oXygen.

Feedback welcome!

All the best,
George
arthfuldodger
Posts: 5
Joined: Thu Apr 03, 2003 6:00 am

Eclipse Plugin

Post by arthfuldodger »

I just downloaded the eclipse plugin from the link specified in the previous post, but after installing it, I get error messages whenever I try opening xml files. I'm running eclipse on Macos X with java version 1.4.1.
I will very happy to provide more information if required.

--idris (saliui"at"qwestscientific.com)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Dear Idris,

We will release very soon an oXygen 2.0 eclipse plugin.
The old eclipse plugin needs a valid 1.2 license as explained in my previous post as the one from the com.oxygenxml.editor.zip has expired.

All the best,
George
arthfuldodger
Posts: 5
Joined: Thu Apr 03, 2003 6:00 am

Eclipse Plugin

Post by arthfuldodger »

Thanks, will be looking forward to release. You guys have a great product, I just upgraded to the 2.0. Keep up the good work.

--idris
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

<oXygen/> is available as Eclipse plugin. Please go to the download page for more information.

Best Regards,
George
arthfuldodger
Posts: 5
Joined: Thu Apr 03, 2003 6:00 am

Eclipse Plugin

Post by arthfuldodger »

Are you planning to release a more tightly integrated version of your eclipse plugin ?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Yes, we are working on this. Things are progressing very well and I expect to have a beta version soon. We have ready the syntax coloring and the validation checks, almost ready the pretty print and the apply transformations support and the code insight support will be added in a couple of days.

All the best,
George
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Next week we will have a beta ready.
The core functionality of oXygen will be available as a closely integrated plugin, that is syntax coloring, content assistant, validation and transformation support (XSLT and FOP).

See the screenshots below with the current development version:

Image
Image

All the best,
George
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

The 2.0.2 beta release for Eclipse is available from http://www.oxygenxml.com/download.html. It contains the closely integrated version of oXygen as Eclipse plugin. Not all the features of oXygen are available (they will be added further) but the core functions are there:
  • support for XML, XSL, XSD and DTD documents
  • validation and well formed checks reporting problems as problem markers
  • content assistant driven by XML Schema, DTD or the document structure itself
  • syntax coloring
  • transformation support allowing both XSLT and FOP
  • XPath support allows evaluation of XPath expressions
  • format and indent the documents
alexander
Posts: 1
Joined: Fri Jun 06, 2003 12:19 pm
Location: Amsterdam, Netherlands
Contact:

Post by alexander »

It would nice to have the xml in a tree view in the outline window like the Ant Editor does in Eclipse.
This would realy give me insight in the structure of the xml file I'm editing.
cdm
Posts: 3
Joined: Wed Jun 11, 2003 11:41 pm

swing?

Post by cdm »

What would be really nice if if the plugin didn't have a dependancy on Swing. Eclipse doesn't use it and not all platforms running Eclipse have it.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

The outline view is a nice feature and we will consider adding it, but first we have to integrate existing oXygen features in order to minimise the differences between the standalone version and the eclipse plugin version.
Since 2.0.2 beta3 we have added new wizards (new XML from schema, new XML from DTD, new XSD, new XSL and new DTD) and support for document templates (like it is in the standalone version). Also the next release will come with Docbook and TEI sylesheets and DTDs and we will try to implement also the spell checking support.

The 2.0.2 beta3 has no dependence on Swing components and the next releases will not use Swing either.

Best Regards,
George
cdm
Posts: 3
Joined: Wed Jun 11, 2003 11:41 pm

Post by cdm »

Unfortunatly (for me) beta3 does have Swing dependancies. I am using Eclipse on a system without any Swing at all. Here is the Eclipse error dialog I get when trying to open the editor.

http://qnx.wox.org/swing.jpg

Hopefully the next beta will remove these dependancies.
cdm
Posts: 3
Joined: Wed Jun 11, 2003 11:41 pm

Post by cdm »

Found another place where it is used. In the preferences, when I hit Apply I get the following error.

http://qnx.wox.org/swing2.jpg
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

We are using in fact these swing classes, they are not visual components. The idea was to reuse easily the same code that works in the standalone version.

You can try to get the Swing 1.1.1 from http://java.sun.com/products/archive/jf ... index.html and put the swingall.jar in the plugin lib directory then add a library entry in the plugin.xml file under plugin/runtime as below:

Code: Select all

<library name="lib/swingall.jar"/> 
Let me know how is going.

Best Regards,
George
arthfuldodger
Posts: 5
Joined: Thu Apr 03, 2003 6:00 am

Trouble running plugin with MacOS X

Post by arthfuldodger »

Has anyone been able to run the oxygenxml editor with macos X ?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Idris,

We will try to find a solution for Mac, unfortunately we were not able to spot the problem yet - no oxygen class in the exception trace in .log file. Hope we will manage to solve this soon enough so that the 2.0.3 release planned for August will work also on Mac.

Best Regards,
George
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Please try out the latest 2.0.3 beta2, it should work on Mac without problems.

Let us know how is going.

Thanks,
George
Post Reply