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 8299883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:19:49+00:00 2026-06-08T16:19:49+00:00

I created this mockup (see below), using the usual java look and feel, which

  • 0

I created this mockup (see below), using the usual java look and feel, which I know as user.
Now I want to implement this mockup, by using SWT, JFace, Eclipse RCP.

Notes:

The NVV/RMV/KVG/RKH on the left should behave according to the accordion pattern
The Tabs NVV, RMV, KVG are parent Tabs of Module, Manage Layouts Tabs.
The Tree Menu on the left opens Tabs on the right

Questions:

  • Which SWT/ JFace Classes should I use, to implement this mockup?
  • Do you see any problems in this mockup? (regarding different Implementation, usability etc.)

Mockup

  • 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-08T16:19:54+00:00Added an answer on June 8, 2026 at 4:19 pm

    Most of the widgets you specified are readily available in the Eclipse RCP framework.

    First of all you should check out some tutorials here: vogella tutorials

    In addition to that I strongly advise you to use WindowBuilder so you can design GUIs rather easily: WindowBuilder

    For the tab folders (NVV/RMV…) on the top you can use TabFolder and TabItem like this:

         tabFolder_1 = new TabFolder(this, SWT.NONE);
         tbtmNvv = new TabItem(tabFolder_1, SWT.NONE);
         tbtmNvv.setText("NVV");
         tbtmRmv = new TabItem(tabFolder_1, SWT.NONE);
         tbtmRmv.setText("RMV");
    

    this stands for the parent Composite in my code. TabFolders work by placing a Control inside them just don’t forget to call the setControl method to make its content visible. TabFolders can be nested into each other. Alternatively you can use RCP View-s for your top level tabs.

    For the table in the middle you can use JFace components namely the TableViewer like this:

        tableViewer = new TableViewer(tabFolder_1, SWT.BORDER | SWT.FULL_SELECTION);
        table = tableViewer.getTable();
        table.setLinesVisible(true);
        table.setHeaderVisible(true);
        tbtmRmv.setControl(table);
    
        tableViewerColumn = new TableViewerColumn(tableViewer, SWT.NONE);
        tblclmnMyCol = tableViewerColumn.getColumn();
        tblclmnMyCol.setWidth(100);
        tblclmnMyCol.setText("My col");
    

    If you want to know how to bind data to your tables you should check out the tutorials I mentioned above.

    For accordions you can use the ExpandBar like this:

        expandBar = new ExpandBar(this, SWT.NONE);
    
        xpndtmItem = new ExpandItem(expandBar, SWT.NONE);
        xpndtmItem.setText("Item 1");
    
        xpndtmItem_1 = new ExpandItem(expandBar, SWT.NONE);
        xpndtmItem_1.setText("Item2");
    

    or a TreeViewer:

        treeViewer = new TreeViewer(composite, SWT.BORDER);
        tree = treeViewer.getTree();
        tree.setHeaderVisible(true);
        tree.setLinesVisible(true);
    

    You can also place TreeViewers in your ExpandBar.

    As for the layout I usually stick with GridLayout which is a good all-rounder.

    Briefing you on how to use those components/layouts is out of the scope of an SO answer I’m afraid, but you can always check the tutorials I linked, they will help you in your endeavours in Eclipse RCP.

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

Sidebar

Related Questions

I created this program: #include <iostream> #include <fstream> using namespace std; int main ()
I have created this simple program to learn shared_ptr using namespace std; #define Yes
I'm working on an Android app that will look like this (Photoshop mockup): (source:
I created this report in iReport Professional 4.5.1 and deployed it to JasperReports Server
I created this layout of successive text input fields, 1- Enter data into empty
I created this regular expression to validate names: ^[a-zA-Z0-9\s\-\,]+.\*?$ Is there a way add
I created this regex to match all words that start with @ in my
I created this example The remove function doesn't work, and I can't figure out
I have just created this table: create table dbo.OrderTypes ( ID smallint primary key
Ever since I created this Rails 3.2.3 project to use MiniTest, I have been

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.