Package edu.wpi.cs.wpisuitetng.janeway.gui.container.toolbar

Examples of edu.wpi.cs.wpisuitetng.janeway.gui.container.toolbar.IToolbarGroupProvider


    // 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

TOP

Related Classes of edu.wpi.cs.wpisuitetng.janeway.gui.container.toolbar.IToolbarGroupProvider

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.