Package org.eclipse.ui.part

Examples of org.eclipse.ui.part.ViewPart


        if( active instanceof MapEditorPart){
            MapEditorPart editor = (MapEditorPart) active;
            return (SubActionBars2) editor.getMapEditorSite().getActionBars();
        }
        else if( active instanceof ViewPart){
            ViewPart view = (ViewPart) active;
            return (SubActionBars2) view.getViewSite().getActionBars();
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.part.ViewPart

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.