Examples of BaseMultiPageEditorPart


Examples of com.salesforce.ide.ui.internal.editor.BaseMultiPageEditorPart

     */
    public static IProject getCurrentProjectFromActiveEditor() {
        IProject project = null;
        IWorkbenchWindow workbenchWindow = ForceIdeEditorsPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow();
        if (workbenchWindow.getActivePage().getActiveEditor() instanceof BaseMultiPageEditorPart) {
            BaseMultiPageEditorPart bpe = (BaseMultiPageEditorPart)workbenchWindow.getActivePage().getActiveEditor();
            project = bpe.getProject();
        }
        return project;
    }
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.