Add editor templates

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Add editor templates

Postby domfe » Fri Oct 22, 2010 2:37 am

Hi.
I'd like to add some XWT templates when I pick File->New and choose WB.
I want items like "XWT Application", "XWT Composite".
A sort of predefined dialogs with a common interface where I can start of.
Is there a template dir or something similar where I can put my xwt and java
files?

Thank you in advance.
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Add editor templates

Postby Eric Clayberg » Fri Oct 22, 2010 3:44 am

There is, but it is not user accessible. You would need to create an extension plugin and extend our wizard interface.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Add editor templates

Postby domfe » Fri Oct 22, 2010 3:49 am

Thank you for your answer.
What extension point do I have to use?
Where can I get more information on building a plugin extending the builder?

Thanks.
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Add editor templates

Postby Eric Clayberg » Fri Oct 22, 2010 6:16 am

domfe wrote:What extension point do I have to use?

org.eclipse.ui.newWizards

domfe wrote:Where can I get more information on building a plugin extending the builder?

Other than looking at the various plugins in the product itself, there is very little public info available at this point.

You could take a look at the following plugin...

com.instantiations.designer.xwt
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron