drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java
public static ResourceHistoryView getResourceHistoryView() throws Exception {
        IWorkbenchWindow activeWindow = Activator.getDefault().
                                            getWorkbench().getActiveWorkbenchWindow();
        // If there is no active workbench window, then there can be no Repository History view
        if (activeWindow == null) {
            return null;
        }
        // If there is no active workbench page, then there can be no Repository History view
        IWorkbenchPage page = activeWindow.getActivePage();
        if (page == null) {
            return null;
        }
        return (ResourceHistoryView)page.showView(IGuvnorConstants.RESHISTORYVIEW_ID);
    }
public static ResourceHistoryView getResourceHistoryView() throws Exception {
        IWorkbenchWindow activeWindow = Activator.getDefault().
                                            getWorkbench().getActiveWorkbenchWindow();
        // If there is no active workbench window, then there can be no Repository History view
        if (activeWindow == null) {
            return null;
        }
        // If there is no active workbench page, then there can be no Repository History view
        IWorkbenchPage page = activeWindow.getActivePage();
        if (page == null) {
            return null;
        }
        return (ResourceHistoryView)page.showView(IGuvnorConstants.RESHISTORYVIEW_ID);
    }
Tries to find the Resource History view, attempting to open it if necessary.