Package civquest.swing.panes.managers

Examples of civquest.swing.panes.managers.ScenarioEditorInfoPaneManager


       }

      JPanel infoPaneComponent = new JPanel();

       Registry paneRegistry = guiRegistry.getSubRegistry("panes");
       ScenarioEditorInfoPaneManager infoPaneManager = new
           ScenarioEditorInfoPaneManager(civQuest, infoPaneComponent,
                        Game.getGame(), map, registry, paneRegistry);
     
       GlobalFunctionComponent globFC = civQuest.getGlobalFunctionComponent();
      ScenarioEditorFunctionComponent comp
        = new ScenarioEditorFunctionComponent(map, civQuest,
                            registry, infoPaneManager);
      globFC.switchedToEditor(comp);

      JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                          infoPaneComponent, scrollPane);
       Integer prefWidth = infoPaneManager.getPreferredWidth();
       if (prefWidth != null) {
         splitPane.setDividerLocation(prefWidth);
       }
      splitPane.setOneTouchExpandable(true);
View Full Code Here

TOP

Related Classes of civquest.swing.panes.managers.ScenarioEditorInfoPaneManager

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.