|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.core.ui.WorkbenchHelper
public final class WorkbenchHelper
Utility classes for accessing parts of the workbench.
| Method Summary | |
|---|---|
static org.eclipse.ui.IViewPart |
findView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
Find a specific view |
static void |
launchBrowser(java.lang.String url)
Open a url in a browser |
static void |
launchBrowser(java.lang.String url,
java.lang.String browserId)
Open a url in a browser |
static org.eclipse.ui.IEditorPart |
openFile(java.io.File file,
org.eclipse.ui.IWorkbenchWindow window)
Open a file in the workbench |
static org.eclipse.ui.IEditorPart |
openFile(org.eclipse.core.resources.IFile file,
org.eclipse.ui.IWorkbenchWindow window)
Open a file in the workbench |
static org.eclipse.ui.IEditorPart |
openFile(java.lang.String editorID,
java.io.File file,
org.eclipse.ui.IWorkbenchWindow window)
Open a file in the workbench |
static org.eclipse.ui.IEditorPart |
openFile(java.lang.String editorID,
org.eclipse.core.resources.IFile file,
org.eclipse.ui.IWorkbenchWindow window)
Open a file in the workbench |
static org.eclipse.ui.IViewPart |
showView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
Show a specific view |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.eclipse.ui.IViewPart showView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
throws org.eclipse.ui.PartInitException
viewId - The ID of the view to showwindow - The active window
org.eclipse.ui.PartInitException
public static org.eclipse.ui.IViewPart findView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
throws org.eclipse.ui.PartInitException
viewId - The ID of the view to showwindow - The active window
org.eclipse.ui.PartInitException
public static org.eclipse.ui.IEditorPart openFile(java.io.File file,
org.eclipse.ui.IWorkbenchWindow window)
file - The file to openwindow - The active window
public static org.eclipse.ui.IEditorPart openFile(java.lang.String editorID,
java.io.File file,
org.eclipse.ui.IWorkbenchWindow window)
editorID - The editor to use in opening the filefile - The file to openwindow - The active window
public static org.eclipse.ui.IEditorPart openFile(org.eclipse.core.resources.IFile file,
org.eclipse.ui.IWorkbenchWindow window)
file - The file to openwindow - The active window
public static org.eclipse.ui.IEditorPart openFile(java.lang.String editorID,
org.eclipse.core.resources.IFile file,
org.eclipse.ui.IWorkbenchWindow window)
editorID - The editor to use in opening the filefile - The file to openwindow - The active window
public static void launchBrowser(java.lang.String url)
url - The URL to open
public static void launchBrowser(java.lang.String url,
java.lang.String browserId)
url - The URL to open
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||