|Create auto-completion using file [message #500249]
||Wed, 25 November 2009 13:49
Registered: November 2009
I'm a french developer in tranning session.
I must realised an eclipse plug-in. This plug-in must create an editor and add some functions to this editor.
Actually I'm trying to add auto-completion to my editor. My editor must help user to create XML files in using DTD, Relax NG or XML Schema file.
I can add DTD file to the xml file which I want to create because when I use another Editor (Oxygen XML Editor for example), the auto-completion of this editor user the DTD file.
I would like to know how to return the DTD file in the class who implements auto-completion.
Sorry for my english Thanks
Edit: I add that actually to specify DTD file I use WizardNewFileCreationPage, I have the location from dtd file in attribute and I create the new file in using createNewFile();
[Updated on: Mon, 30 November 2009 16:08]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01831 seconds