Package edu.wpi.cs.wpisuitetng.modules.defecttracker.tabs

Examples of edu.wpi.cs.wpisuitetng.modules.defecttracker.tabs.MainTabView


  private ArrayList<JanewayTabModel> tabs;
  public final MainTabController mainTabController;
  public ToolbarController toolbarController;

  public JanewayModule() {
    MainTabView mainTabView = new MainTabView();
    mainTabController = new MainTabController(mainTabView);

    ToolbarView toolbarView = new ToolbarView(mainTabController);
    toolbarController = new ToolbarController(toolbarView, mainTabController);
View Full Code Here


 
  @Override
  public void stateChanged(ChangeEvent e) {
    // TODO: there has to be a cleaner way to do this
    if(e.getSource() instanceof MainTabView) {
      MainTabView view = (MainTabView) e.getSource();
      Component selectedComponent = view.getSelectedComponent();
      if(selectedComponent instanceof IToolbarGroupProvider) {
        IToolbarGroupProvider provider = (IToolbarGroupProvider) selectedComponent;
        setRelevantTabGroup(provider.getGroup());
      } else {
        setRelevantTabGroup(null);
View Full Code Here

  @Before
  public void setUp() throws Exception {
    Network.initNetwork(new MockNetwork());
    Network.getInstance().setDefaultNetworkConfiguration(new NetworkConfiguration("http://wpisuitetng"));
    view = new ResultsPanel(new MainTabController(new MainTabView()));
    controller = new RetrieveDefectController(view);
  }
View Full Code Here

TOP

Related Classes of edu.wpi.cs.wpisuitetng.modules.defecttracker.tabs.MainTabView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.