Package org.flexdock.docking.adapter

Examples of org.flexdock.docking.adapter.DockingAdapter


        if (comp instanceof DockingStub) {
            tabText = ((DockingStub) comp).getTabText();
        } else {
            // if we can find an adapter mapping, then try to pull
            // the tab text from there
            DockingAdapter adapter = AdapterFactory.getAdapter(comp);
            if (adapter != null)
                tabText = adapter.getTabText();
        }

        // if 'comp' wasn't a DockingStub, or the stub returned a null tabText,
        // then try the component name
        if (tabText == null)
View Full Code Here


        Dockable dockable = getDockable(c);
        if (dockable != null)
            return dockable;

        // if we need to create a dockable, first try to do it with an adapter
        DockingAdapter adapter = AdapterFactory.getAdapter(c);
        if (adapter != null) {
            dockable = DockableComponentWrapper.create(adapter);
        }

        // if we weren't able to create from an adapter, then create the
View Full Code Here

TOP

Related Classes of org.flexdock.docking.adapter.DockingAdapter

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.