Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Using the Web Page Editor with my own tags.
Using the Web Page Editor with my own tags. [message #227498] Sun, 01 February 2009 15:27
nquaine  is currently offline nquaine
Messages: 6
Registered: July 2009
Junior Member
I would like to use the Web Page Editor for my custom xml tags (for
example <mytags :button/>) with :
- a palette (similar to the one of HTML4.0) which allows the insertion of
my tags
- a preview (an HTML translation of my custom tags)

I don’t use jsp or any other standard taglib but my custom xml tags
describe html like pages so I want to use this editor as it gives me an
html preview.

Which plug-ins should I consider looking at in order to be able to use
the wpe functionality for 'mytags ' namespace.

I have tried to define a new palette and elements in a definition xml file
(such as html_pi.xml) by extending the
org.eclipse.jst.jst.common.standardMetaDataFile plugin. What else should I
do to see my palette and be able to edit the file (without .tld in a web
project) ?

Is it completely the wrong way to approach the problem? Should I instead
define a new Content type such as the wst.html.core.htmlsource? If so,
what should I extend/subclass … to avoid reinventing the wheel?

I am using Ganymede , eclipse version 3.4; web developer tools 3.0.3 and
wpe 2.0.1

Thanks for any help you can provide.

Nadege
Previous Topic:Recurrent OutOfMemoryError during Eclipse publish operation to server
Next Topic:Javadoc for a given class from within a WST-based plugin?
Goto Forum:
  


Current Time: Sun Aug 31 06:24:17 EDT 2014

Powered by FUDForum. Page generated in 0.01522 seconds