Class WorkbenchHelper
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.utils.WorkbenchHelper
-
public class WorkbenchHelper extends java.lang.ObjectProvides a set of useful method to perform actions on the Eclipse workbench.
-
-
Constructor Summary
Constructors Constructor Description WorkbenchHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.ui.IWorkbenchPagegetActivePage()Convenience method returning the active workbench page.static voidshowFile(org.eclipse.core.resources.IFile pFile, org.eclipse.ui.IWorkbenchPage pPage)Simply shows the file in the IDE.
-
-
-
Method Detail
-
showFile
public static void showFile(org.eclipse.core.resources.IFile pFile, org.eclipse.ui.IWorkbenchPage pPage)Simply shows the file in the IDE.- Parameters:
pFile- the file to showpPage- the active workbench page
-
getActivePage
public static org.eclipse.ui.IWorkbenchPage getActivePage()
Convenience method returning the active workbench page.- Returns:
- the active page
-
-