Creating FormEditors?

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

Creating FormEditors?

Postby ncook » Fri Aug 26, 2005 2:46 am

Our product will require FormEditors (org.eclipse.ui.forms.FormEditor), but I can't get Designer to load such a class in design mode (get the "Unknown window type" message).

This class is-a EditorPart, so I would think that this would be possible. Is there a work-around for this?

Any ideas?
ncook
 
Posts: 3
Joined: Fri Aug 26, 2005 2:37 am

Re: Creating FormEditors?

Postby Eric Clayberg » Mon Aug 29, 2005 5:19 am

ncook wrote:Our product will require FormEditors (org.eclipse.ui.forms.FormEditor), but I can't get Designer to load such a class in design mode (get the "Unknown window type" message). This class is-a EditorPart, so I would think that this would be possible. Is there a work-around for this?

The FormEditor class is a type of multipage editor. It does not define a layout itself. Rather, it pulls together one or more FormPages in its addPages() method.

As such, FormEditors themselves aren't very interesting. The interesting class is the FormPage class which you can create and edit...

Image

Image
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: No registered users and 1 guest