Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Extending palette Web Page Editor
Extending palette Web Page Editor [message #231276] Wed, 13 May 2009 11:26 Go to next message
Thomas Clavier is currently offline Thomas ClavierFriend
Messages: 3
Registered: July 2009
Junior Member
Hi everybody,
I'm trying to improve my Web Page Editor with additional librairies of
tags.
I find some solution on the web but they are not working.

The first solution I have found is to use the extension point
org.eclipse.jst.jsf.common.standardMetaDataFiles. I create my XML file
similary to the existing one in the plugin standarttag used in Eclipse.
This solution don't work for me.

The second solution is to use the extension point
org.eclipse.jst.pagedesigner.pageDesignerExtension. I success in modifying
the palette but it is now empty.

I think the first solution is the solution I need, but I don't unterstand
why it is not working for me.

Thank you
Thomas
Re: Extending palette Web Page Editor [message #231308 is a reply to message #231276] Thu, 14 May 2009 08:22 Go to previous messageGo to next message
Xino  is currently offline Xino Friend
Messages: 18
Registered: July 2009
Junior Member
Hi Thomas,
I'am a french student.

I'am doing what you are trying to do and it works fine for me.
If you need some help and precise questions tell me.

Look at the uri's you defined. Are they the same in the extension point
and in the file ?
Re: Extending palette Web Page Editor [message #231315 is a reply to message #231308] Thu, 14 May 2009 08:42 Go to previous messageGo to next message
Thomas Clavier is currently offline Thomas ClavierFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,
yes I have the same URI.

This is my xml file, it is just a simple new tag added in a new category
in the palette :

<?xml version="1.0" encoding="UTF-8"?>
<md:metadatamodel
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:md="http://org.eclipse.jst.jsf.common.metadata/metadata.ecore"
xmlns:mdt=" http://org.eclipse.jst.jsf.common.metadata/metadataTraitType s.ecore"

xmlns:pi="http://org.eclipse.jsf.pagedesigner/paletteInfos.ecore"
id="newtag"
type="tagFile">

<entity id="form" type="tag">
<trait id="display-label">
<value>Form</value>
</trait>
</entity>
</md:metadatamodel>


This is my extension point :

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>

<extension
point="org.eclipse.jst.jsf.common.standardMetaDataFiles">
<standardMetaDataFile
location="metadata/html-edf.xml"
uri="newtag">
</standardMetaDataFile>
</extension>

</plugin>

Perhaps there are other things to do in order to make the plugin works.

Thank you.

Thomas

PS: if you want to speak in French, perhaps we cant have a mail
conversation , clavier.thomas@gmail.com or clavierthomas@hotmail.fr
Re: Extending palette Web Page Editor [message #231321 is a reply to message #231315] Thu, 14 May 2009 09:02 Go to previous messageGo to next message
Thomas Clavier is currently offline Thomas ClavierFriend
Messages: 3
Registered: July 2009
Junior Member
clavier.thomas is a gmail adress
thomasclavier is a hotmail.fr adress

^^

Thank you
Thomas
Re: Extending palette Web Page Editor [message #539237 is a reply to message #231321] Thu, 10 June 2010 06:57 Go to previous messageGo to next message
love  is currently offline love Friend
Messages: 1
Registered: June 2010
Junior Member
Hi thomes i m also trying to add some new tags support to web page editor's pallet.
Please let me know the approach to do the same.

Thanx
Love Khanna
Re: Extending palette Web Page Editor [message #545031 is a reply to message #539237] Tue, 06 July 2010 13:20 Go to previous messageGo to next message
Victor Vieira is currently offline Victor VieiraFriend
Messages: 1
Registered: July 2010
Junior Member
Hi All,

It would be highly appreciated if you could share details of the correct implementation for adding custom items to the wpe palette.

I made the configuration of metadata files, associated with plugin manifest, but couldn't find the proper way to set these as Palette items.

Could someone who already figured it out help?

Not much progress so far...

Thanks in advance and kind regards,

---
Victor Vieira

[Updated on: Tue, 06 July 2010 13:22]

Report message to a moderator

Re: Extending palette Web Page Editor [message #630818 is a reply to message #231276] Tue, 05 October 2010 07:49 Go to previous message
Srinivas Kothuri is currently offline Srinivas KothuriFriend
Messages: 4
Registered: March 2010
Junior Member
No Message Body

[Updated on: Tue, 05 October 2010 07:51]

Report message to a moderator

Previous Topic:StructuredTextEditor for Java Script
Next Topic:Problem to build Java source from wsdl
Goto Forum:
  


Current Time: Tue Apr 16 16:58:17 GMT 2024

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

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

Back to the top