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.)
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
andTabItem
like this:this
stands for the parentComposite
in my code.TabFolder
s work by placing aControl
inside them just don't forget to call thesetControl
method to make its content visible.TabFolder
s 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: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:or a TreeViewer:
You can also place
TreeViewer
s in yourExpandBar
.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.