javamodel-view-controllerswt

Java implementing MVC with SWT


Mvc in Java SWT

Hello, I'm very new to SWT and I interested in MVC pattern in Java with SWT. Ive tried to separate models, controllers and views, but my controllers ara called in views, and i dont have any mids how to make transition between views. I didnt find any simple solution in the Internet.

Please suggest any docs, or maybe some patters which will help to implement this.


Solution

  • If you are using SWT then you should check out the Eclipse RCP framework version 4. It makes it much easier to use MVC in it. You can read about RCP 4 here. For the MVC part you can start here.