Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Plugin developed under Eclipse 3.0: problems moving to 3.2
Plugin developed under Eclipse 3.0: problems moving to 3.2 [message #186818] Tue, 23 January 2007 16:48
Eclipse UserFriend
Originally posted by:


Two years ago we started developing an Eclipse plugin based on SSE (to
implement xml validation and get benefits from the StructuredTextEditor
class). It has been developed on top of M3 of Eclipse 3.0, which was
officialy ready at this time.

Today developments restart, Eclipse 3.2.1 is there with 3.3 in progress.
I first tried Google's "I'm feeling lucky" approach, simply trying to
rebuild the old code against Eclipse 3.2.1. Unfortunately I get a
significant number of errors, mostly due to missing classes. In the best
case, the class is now in another package and I just have to modify the
import statement. But some classes (or methods) simply don't exist
anymore in Eclipse 3.2.1 jar files...
For example:
- StructuredTextEditor.getFileInEditor
- org.eclipse.wst.xml.ui.actions.CleanupActionXML (as well as other
xxxXML methods)
- Provider
- ion

The original code I try to compile subclasses StructuredTextEditor.
Seems this is not the best way to go: slides from EclipseCon 2006 say
that "In general, “extending” SSE Editors means using extension points,
not subclassing – this is done to allow future growth and changes
without breakage".

So that I'm a bit embarrassed now, about the best way to restart the
- should I try to make the exact original code to compile?
- should I forget about subclassing StructuredTextEditor (therefore
having to redevelop some things another way)?
- are they some resources, documents, tutorials, explaining how to move
such code from 3.0 to 3.1, to 3.2?

Any help or ideas will be very appreciated,

Previous Topic:How to generate static class diagram for existing project?
Next Topic:Accesing a web service from browser
Goto Forum:

Current Time: Wed Apr 21 02:34:19 GMT 2021

Powered by FUDForum. Page generated in 0.02040 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top