Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7721441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:55:32+00:00 2026-06-01T03:55:32+00:00

I have a Wizard with two pages: pageone extending WizardNewProjectCreationPage , and pagetwo is

  • 0

I have a Wizard with two pages: pageone extending WizardNewProjectCreationPage, and pagetwo is extending WizardPage. I want the user to be able to create the project first, and then add files to the project on the second page.

For the latter I want to use a SWT Table (?) like when you pick an interface in the Java Class Wizard in Eclipse IDE (cf. picture here). Also the “Add” button next to it.

How can I achieve this? Do I have to use Eclipse Forms API for this? Or simply add a SWT Table? I have used the Plug-In Spy but the source code given in NewClassWizardPage and NewTypeWizardPage seems to be very specific to this example and I cannot make sense of it.

I’ve also had a look at vogella’s tutorial for JFace table, but I can’t get my head around it.

Just some basic steps would be great, or maybe somebody has done this before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:55:34+00:00Added an answer on June 1, 2026 at 3:55 am

    I can easily understand why you’re confused… there are indeed many ways to do this. You even left out Data Binding which provides you with yet another way to populate and decorate the table in question.

    To sum up the usage of the different APIs:

    • SWT provides the basic widgets and controls. Often these have a rather irregular low-level interface – especially compared with Swing – but you need to access the SWT controls to lay them out (an exercise that can be complicated in itself). Also many of the listeners are on the controls.
    • JFace provides a set of viewers on top of the corresponding structured SWT controls – e.g. TableViewer on top of Table. These viewers provides a high-level interface to the functionality of the underlying control – e.g. with models, label providers, sorting, filtering and more. (The viewers can easily be compared with the Swing counterparts…)
    • Eclipse Forms provides a (relatively) simple way to create views, dialogs, etc that looks like web pages. Examples of this are the various PDE editors.
    • Data Binding provides a (somewhat complicated) way to bind controls (including Tables) to a data structure (Bean, EMF or POJO based).

    So… you have to decide on whether to use the model facet of JFace and Data Binding, but the rest of the APIs are often combined in the same view or dialog.

    NewClassWizardPage and NewTypeWizardPage are both particular complicated examples of wizards – don’t base your own work on these!

    For your particular case – as I understand it – I would use a simple JFace TableViewer to hold the list of interfaces… (I use a TableViewer rather than a ListViewer as the later cannot have an image as part of the label provider.) The “Add” and “Remove” buttons will manipulate the model of the viewer and then update the viewer. You don’t need Eclipse Forms as the wizards usually don’t look like web pages. And Data Binding is also an overkill here given the very, very simple data for the wizard.

    Please note that the function of a wizard is only performed after all the wizard pages has been shown and the “Finish” button is pressed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two combo boxes on a form. The first allows the user to
Ok. I have a mainframe which contains two containers. One contains my wizard-alike buttons
I am writing an Eclipse plugin, and I have a wizard that create my
I have created a wizard using the GUI and so my pages are all
I want a column to have only two values. For example I want to
I have two .htaccess files that I need to combine into one. The first
I have a class Wizard which creates a wizard with pages defined in the
I have a wizard setup like so: <asp:Wizard ID=Wizard1 runat=server DisplaySideBar=false onnextbuttonclick=OnNextButtonClick> <WizardSteps> <asp:WizardStep
I have a wizard in my app where users can go back and forward
I have a form wizard that contains 3 forms. Basically, what I am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.