On 29 juin 08, at 19:54, malaka ekanayake wrote:
Hi Fabio,
Now I'm working on the costume implementation of the
IDocumentPartitioner which uses the XDOM parser.
I have also look at the FastPartitioner implementation in-oder to
get understand how the partitioning work.
As far as I can understand, to register partitions with the
IDocument, requires the offset and the length of each token retured
by the partitione.
But currently that information is not avalable in the Blocks
returend by the parser.
WDUT ?
Is ther any other way of doing this ? I need help on this
I don't think so.
Offsets and partition lengths are used throughout the Eclipse text
framework, so this is an information that should be exposed from the
underlying parser. I don't know if this is feasible in the current
parsing architecture.
Maybe Vincent could say something more about this.
I aslo look try to run the org.xwiki.xdomexplorer you
gave to
me.After mvn compile and run the project as a eclipse plugin it
gives a errer sayying Error opening the editor.
org.xwiki.xdomexplorer.editors.XWikiEditor.I'm working on Eclipce
JEE 3.3.2 version.Should I need to run this in different eclipse
package ?
Hmmm. Actually I didn't test it under 3.3.2, since I wrote it using
Eclipse 3.4.
I haven't used anything 3.4 specific so it should work with 3.3.2 as
well.
Anyway give it a try with 3.4 and let me know.
-Fabio