[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Extending palette Web Page Editor

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/metadataTraitTypes.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@xxxxxxxxx or clavierthomas@xxxxxxxxxx