Package org.noos.xing.mydoggy.plaf

Examples of org.noos.xing.mydoggy.plaf.MyDoggyToolWindowManager$ToolDockableDropPanel


    private Map<String, Entry<Content, PageComponent>> contentAndPageComponentById;

    MyDoggyApplicationPage(ApplicationWindow window, PageDescriptor pageDescriptor) {
        super(window, pageDescriptor);
        contentAndPageComponentById = new FastMap<String, Entry<Content, PageComponent>>();
        toolWindowManager = new MyDoggyToolWindowManager();
        contentManager = toolWindowManager.getContentManager();
        contentManagerUI = new MyDoggyMultiSplitContentManagerUI();
        contentManager.setContentManagerUI(contentManagerUI);

        assert SwingUtilities.isEventDispatchThread();
View Full Code Here


        });
    }

    protected void initToolWindowManager() {
        // Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager(frame);
        this.toolWindowManager = myDoggyToolWindowManager;

        // Register a Tool.
        toolWindowManager.registerToolWindow("Debug",                      // Id
                                             "Debug Tool",                 // Title
View Full Code Here

        this.frame.setJMenuBar(menuBar);
    }

    protected void initToolWindowManager() {
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager(frame);
        this.toolWindowManager = myDoggyToolWindowManager;

        FloatingTypeDescriptor typeDescriptor = (FloatingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.FLOATING);
        typeDescriptor.setTransparentDelay(0);
View Full Code Here

        this.frame.getContentPane().setLayout(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
    }

    protected void initToolWindowManager() {
        // Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        this.toolWindowManager = myDoggyToolWindowManager;

        initContentManager();

        // Add myDoggyToolWindowManager to the frame. MyDoggyToolWindowManager is an extension of a JPanel
View Full Code Here

        this.frame.getContentPane().setLayout(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
    }

    protected void initToolWindowManager() {
        // Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        this.toolWindowManager = myDoggyToolWindowManager;

        JButton button = new JButton("Unregister Tool");
        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
View Full Code Here

        this.frame.getContentPane().setLayout(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
    }

    protected void initToolWindowManager() {
        // Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        this.toolWindowManager = myDoggyToolWindowManager;

        initContentManager();

        // Add myDoggyToolWindowManager to the frame. MyDoggyToolWindowManager is an extension of a JPanel
View Full Code Here

        panel.setOpaque(false);
    }

    protected void initToolWindowManager() {
// Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        this.toolWindowManager = myDoggyToolWindowManager;

        toolWindowManager.registerToolWindow(
                "Tool_1",
                "Tool_1",
View Full Code Here

        this.frame.getContentPane().setLayout(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
    }

    protected void initToolWindowManager() {
        // Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
        this.toolWindowManager = myDoggyToolWindowManager;

        initContentManager();

View Full Code Here

        this.setSize(800, 600);
    }

    protected JPanel createToolWindowManager() {
// Create a new instance of MyDoggyToolWindowManager passing the frame.
        MyDoggyToolWindowManager vDockingToolWindow = new MyDoggyToolWindowManager();

// Register a Tool.
        vDockingToolWindow.registerToolWindow("Docking-Demo", // Id
                                              "Docking-Demo", // Title
                                              null, // Icon
                                              createDockablePanel(), ToolWindowAnchor.LEFT); // Anchor

        ToolWindow vToolWindow = vDockingToolWindow.getToolWindow(1);
        vToolWindow.getTypeDescriptor(DockedTypeDescriptor.class).setDockLength(250);
        vToolWindow.setVisible(true);

        vDockingToolWindow.getContentManager().addContent("Hello World", "Hello World", null,
                                                          new JLabel("Hello World!"));

// Make all tools available
        for (ToolWindow window : vDockingToolWindow.getToolWindows()) {
            window.setAvailable(true);
        }

        return vDockingToolWindow;
    }
View Full Code Here

        this.frame.setJMenuBar(menuBar);
    }

    protected void initToolWindowManager() {
        MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager(frame);
        this.toolWindowManager = myDoggyToolWindowManager;

        FloatingTypeDescriptor typeDescriptor = (FloatingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.FLOATING);
        typeDescriptor.setTransparentDelay(0);
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.plaf.MyDoggyToolWindowManager$ToolDockableDropPanel

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.