Package org.erlide.ui.editors.erl.outline

Examples of org.erlide.ui.editors.erl.outline.ErlangOutlinePage$LinkingHelper


     * Creates the outline page used with this editor.
     *
     * @return the created Erlang outline page
     */
    protected ErlangOutlinePage createOutlinePage() {
        final ErlangOutlinePage page = new ErlangOutlinePage(this);
        page.setInput(getEditorInput());
        return page;
    }
View Full Code Here


        final FilterDescriptor desc = FilterDescriptor.getFilterDescriptor(filterId);
        final ViewerFilter filter = desc.getViewerFilter();
        if (filter == null) {
            return;
        }
        final ErlangOutlinePage erlangOutlinePage;
        if (activePart instanceof ErlangOutlinePage) {
            erlangOutlinePage = (ErlangOutlinePage) activePart;
        } else {
            final ContentOutline outline = (ContentOutline) activePart;
            erlangOutlinePage = (ErlangOutlinePage) outline
                    .getAdapter(ErlangOutlinePage.class);
        }
        final TreeViewer viewer = erlangOutlinePage.getTreeViewer();
        if (viewer == null) {
            return;
        }
        if (value) {
            viewer.addFilter(filter);
View Full Code Here

            if (filter == null) {
                continue;
            }
            filters.add(filter);
        }
        final ErlangOutlinePage erlangOutlinePage;
        if (activePart instanceof ErlangOutlinePage) {
            erlangOutlinePage = (ErlangOutlinePage) activePart;
        } else {
            final ContentOutline outline = (ContentOutline) activePart;
            erlangOutlinePage = (ErlangOutlinePage) outline
                    .getAdapter(ErlangOutlinePage.class);
        }
        final TreeViewer viewer = erlangOutlinePage.getTreeViewer();
        if (viewer == null) {
            return;
        }
        viewer.setFilters(filters.toArray(new ViewerFilter[filters.size()]));
    }
View Full Code Here

TOP

Related Classes of org.erlide.ui.editors.erl.outline.ErlangOutlinePage$LinkingHelper

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.