Package org.noos.xing.mydoggy

Examples of org.noos.xing.mydoggy.MultiSplitContentManagerUI


        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        toolWindowManager = myDoggyToolWindowManager;
        ContentManager contentManager = toolWindowManager.getContentManager();
        MultiSplitContentManagerUI contentManagerUI = new MyDoggyMultiSplitContentManagerUI();
        contentManager.setContentManagerUI(contentManagerUI);

        contentManagerUI.setShowAlwaysTab(true);
        contentManagerUI.setTabPlacement(TabPlacement.TOP);

        getContentPane().add(myDoggyToolWindowManager, BorderLayout.CENTER);

        JPopupMenu popupMenu = new JPopupMenu("CPM");
        popupMenu.add("1");
View Full Code Here


        if (ContentManagerUI.class.equals(evt.getProperty())) {
            if (evt.getNewValue().equals(MultiSplitContentManagerUI.class)) {
                toolWindowManager.getContentManager().setContentManagerUI(this.multiSplitContentManagerUI);
                viewContext.put(ContentManagerUI.class, this);

                MultiSplitContentManagerUI multiSplitContentManagerUI = ((MultiSplitContentManagerUI) toolWindowManager.getContentManager().getContentManagerUI());
                tabPlaces.setSelectedIndex(multiSplitContentManagerUI.getTabPlacement().ordinal());
                tabLayouts.setSelectedIndex(multiSplitContentManagerUI.getTabLayout().ordinal());
                isShowAlwaysTab.setSelected(multiSplitContentManagerUI.isShowAlwaysTab());
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.MultiSplitContentManagerUI

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.