Bug 206192 - A template to help create templates
Summary: A template to help create templates
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: contributed, helpwanted
Depends on:
Blocks:
 
Reported: 2007-10-12 15:30 EDT by Chris Aniszczyk CLA
Modified: 2019-09-09 02:20 EDT (History)
1 user (show)

See Also:


Attachments
Possible implementation to get started (39.21 KB, patch)
2007-11-01 09:59 EDT, Les Jones CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2007-10-12 15:30:02 EDT
In my quest to make the lives of plug-in developers easier this release, I want to create a template to help create templates. Ideally, this should create a simple hello world style template that people can use as a way to bootstrap their template development process.
Comment 1 Les Jones CLA 2007-11-01 09:59:18 EDT
Created attachment 81853 [details]
Possible implementation to get started

(Patch based on HEAD)

The example template that is generated is broadly based on the example from the article at http://www-128.ibm.com/developerworks/library/os-eclipse-pde/index.html?ca=dgr-eclipse-1

N.B. The patch file does include two binary files (gifs).

Hope it's of some use.
Comment 2 Chris Aniszczyk CLA 2007-11-01 10:12:55 EDT
holy crap :)

I'll look at this as I was already working on this, I have some cool enhancements to the wizard :)

stay tuned for details
Comment 3 Chris Aniszczyk CLA 2007-11-02 12:13:51 EDT
Thanks for the headstart :)
Comment 4 Les Jones CLA 2007-11-02 12:31:58 EDT
One thing you'll definitely want to look at is the issue if there's no activator. At present the generated code will just have a commented compile error. :-(

I guess you should be able to get the bundle from Platform.getBundle(...) instead?   And perhaps my "private Plugin getPluginActivator() {...}" should have been "private Bundle getBundle() {...}" instead? ;-)
Comment 5 Chris Aniszczyk CLA 2007-12-11 14:05:08 EST
Setting to 3.4
Comment 6 Les Jones CLA 2008-01-09 08:57:14 EST
ping - you managed to get something in for M5?
Comment 7 Eclipse Webmaster CLA 2019-09-06 16:13:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 8 Julian Honnen CLA 2019-09-09 02:20:41 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.