Code template added to org.eclipse.ui.views is not listed in available templates? [message #325327] |
Thu, 14 February 2008 14:03 |
Eclipse User |
|
|
|
Originally posted by: john.ormerod.erebor.co.uk
I have been through the developerWorks tutorial titled "Building
templates with the Eclipse Plug-in Development Environment" at
http://www.ibm.com/developerworks/library/os-eclipse-pde/ind ex.html#download
The new 'Simple View' code template failed to show up in the list of
Custom Templates when creating a new Plugin, from my own coding attempt.
So I used the author's code, but still no change.
I have done this in eclipse 3.2.2 (latest updates) and RSA 7.0.0.3.
Is there something else I need to do? My guess is that the problem is in
the plugin.xml extension code,rather than the Java. Here's my plugin.xml:
<extension
point="org.eclipse.pde.ui.pluginContent">
<wizard
class="com.ibm.pde.simple.template.SimpleViewTemplateWizard "
icon="icons/newexprj_wiz.gif"
id="com.ibm.pde.simple.template.wizard"
name="Simple View Wizard">
<description>
Creates a simple view.
</description>
</wizard>
</extension>
<extension
point="org.eclipse.pde.ui.templates">
<template
class="com.ibm.pde.simple.template.SimpleViewTemplateSection "
contributingId="org.eclipse.ui.views"
id="com.ibm.pde.simple.template"
name="Simple View"/>
</extension>
Regards
--
John Ormerod
john.ormerod@erebor.co.uk
|
|
|
Powered by
FUDForum. Page generated in 0.03161 seconds