Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Code template added to org.eclipse.ui.views is not listed in available templates?
Code template added to org.eclipse.ui.views is not listed in available templates? [message #325327] Thu, 14 February 2008 14:03
Eclipse UserFriend
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
Previous Topic:ProgressMonitorDialog question/feature request
Next Topic:Re: Remove Min-Max Buttons from a View
Goto Forum:
  


Current Time: Thu Jul 17 09:12:25 EDT 2025

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

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

Back to the top