title: Managing multiple composites with one window in SWT
body: <p>I just started using SWT in eclipse. Right now I'm using Hibernate to connect to a database and retrieve the required information on to a composite. The views includes one SWT application window and several composites. How would I place these composites based on what button a user clicks on? Since the composite needs to be put on the main window, should I have a reference to the main window in each composite?</p>
  
  <p>Also the main window is completely empty. What the user would click on would be one of the buttons in one of the composites. Should I have just one controller? But then each of the composites have buttons which needs to open up other composites on the main window. Should I have controllers for each of these composites? 
  Am I going in the wrong direction? Any help would be great. </p>
  
  <p>Thanks</p>
  
  <p><strong>EDIT :</strong> An example of what I am trying to do.
  I have a main window and 3 composites : A, B, C;
  Each of these composites has buttons which can take the user to the other 2 composites by replacing the current composite on the main window.</p>
  
  <p>So, should I have a controller for each composite or just the main window?
  Also to add a composite to the main window, do I need to have a reference to the main window in each of these composites? </p>
  
  <p><img src="https://i.stack.imgur.com/zA5C7.png" alt="enter image description here"></p>