Examples of addDockable()


Examples of org.flexdock.docking.floating.frames.DockingFrame.addDockable()

        }
    }

    private DockingFrame createDockingFrame() {
        DockingFrame frame = new DockingFrame(this, "12345");
        frame.addDockable(createView("solution.explorer", "Solution Explorer"));
        frame.addDockable(createView("class.view", "Class View"));
        return frame;
    }

    private View createView(String id, String text) {
View Full Code Here

Examples of org.flexdock.docking.floating.frames.DockingFrame.addDockable()

    }

    private DockingFrame createDockingFrame() {
        DockingFrame frame = new DockingFrame(this, "12345");
        frame.addDockable(createView("solution.explorer", "Solution Explorer"));
        frame.addDockable(createView("class.view", "Class View"));
        return frame;
    }

    private View createView(String id, String text) {
        View view = new View(id, text);
View Full Code Here

Examples of org.flexdock.docking.floating.frames.DockingFrame.addDockable()

        // undock the current Dockable instance from it's current parent container
        DockingManager.undock(dockable);

        // add to the floating frame
        frame.addDockable(dockable);

        // display and return
        if(!frame.isVisible())
            frame.setVisible(true);
        return frame;
View Full Code Here

Examples of org.flexdock.docking.state.FloatingGroup.addDockable()

        for (int i=0; i<dockableNodeList.getLength(); i++) {
            Node dockableNode = dockableNodeList.item(i);
            if (dockableNode instanceof Element) {
                Element dockableElement = (Element) dockableNode;
                String dockableId = dockableElement.getAttribute(PersistenceConstants.DOCKABLE_ATTRIBUTE_ID);
                floatingGroup.addDockable(dockableId);
            }
        }

        return floatingGroup;
    }
View Full Code Here

Examples of org.flexdock.docking.state.FloatingGroup.addDockable()

        // floating groups are mutually exclusive
        removeFromGroup(dockable);

        FloatingGroup group = getGroup(groupId);
        if(dockable!=null && group!=null) {
            group.addDockable(dockable.getPersistentId());
            setFloatingGroup(dockable, group.getName());
        }
    }

    public void removeFromGroup(Dockable dockable) {
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ContentWindow.addDockable()

                                            if (contentWindow.containsDockable(constraint.getOnContent())) {
                                                // remove content
                                                removeContent(content);

                                                contentWindow.addDockable(content,
                                                        content.getComponent(),
                                                        null,
                                                        constraint.getOnPosition());
                                                break;
                                            }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ContentWindow.addDockable()

                                            if (contentWindow.containsDockable(constraint.getOnContent())) {
                                                // remove content
                                                removeContent(content);

                                                contentWindow.addDockable(content,
                                                        content.getComponent(),
                                                        constraint.getOnContent(),
                                                        constraint.getOnPosition());
                                                break;
                                            }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.multisplit.DockableLeaf.addDockable()

                    addToWrapper(componentWrapper, dockable, aggregationIndexLocation, content);

                    repaintMultiSplit(toolWindowManager.getClientProperty(MyDoggyKeySpace.PERSISTENCE_DELEGATE_PARSING) != null,
                            multiSplitPaneModelRoot);

                    rootLeaf.addDockable(dockable.getId());
                } else {
                    // Create a new leaf...

                    DockableLeaf firstLeaf = rootLeaf;
                    DockableLeaf secondLeaf;
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.multisplit.DockableLeaf.addDockable()

                    // Init two leafs
                    firstLeaf.setWeight(0.5);

                    secondLeaf = new DockableLeaf(getNextLeanName());
                    secondLeaf.setWeight(0.5);
                    secondLeaf.addDockable(dockable.getId());

                    List<Node> children = null;
                    switch (aggregationPosition) {
                        case LEFT:
                        case TOP:
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.multisplit.DockableLeaf.addDockable()

                                        addToWrapper(multiSplitPane.getMultiSplitLayout().getChildMap().get(leaf.getName()),
                                                dockable,
                                                aggregationIndexLocation,
                                                content);

                                        leaf.addDockable(dockable.getId());

                                        addCmp = false;
                                        resetB = false;
                                    } else {
                                        leafName = getNextLeanName();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.