Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't know what programmers like to do, but you should listen to what MVC patterns tells.</p> <p>And it tells you that each view should have its controller. Your view has obviously subviews. So the design in this case would obviously be following:</p> <pre><code>MainView Label1 Text1 Tab1Subview Label1 Text1 Tab2Subview Label1 Text1 MainViewController Tab1SubviewController Tab2SubviewController </code></pre> <p>And controllers will define the binding for each particular view. You can also use one single controller for all subviews and bind it inside. Your main controller could have a link to main root model object e.g. Forms. And particular controller could bind subobjects. As I already said again - you can go with one big controller and bind it all in one place. </p> <p>This is for what MVC was created.</p> <p><strong>Tools</strong></p> <p>If you are looking for SWT graphical designer, then the Window Builder Pro (Eclipse Plugin) - is definitely is the choice (not perfect although, but the better of all available).</p> <p>Things like EMF is quite complicated. You can start with a mix of Window Builder Pro and coding and as mentioned above JFace Binding API will be an option - but it's not necessary - depend on model you can use either JFace Binding or do it yourself in the code.</p> <p>For saving simple form all you have to do is write something like save method, e.g.:</p> <pre><code>person.setName(view.getFullNameTextField().getText()); </code></pre> <p>this is not much worse than using advanced binding features, especially if you don't won't dependance on extra libraries like JFace.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload