|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.viewsupport.EditorOpener
public class EditorOpener
An utility to open editors for references or elements.
Constructor Summary | |
---|---|
EditorOpener()
|
Method Summary | |
---|---|
static void |
open(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.cdt.core.model.ICElement element)
Opens the editor for an ICElement, selecting the id. |
static void |
open(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.core.resources.IFile file,
org.eclipse.jface.text.IRegion region,
long timestamp)
Opens the editor selecting the given region. |
static void |
open(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.cdt.core.model.ITranslationUnit tu,
org.eclipse.jface.text.Region region,
long timestamp)
Opens the editor for an ICElement, selecting the given region. |
static void |
openExternalFile(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.core.runtime.IPath location,
org.eclipse.jface.text.IRegion region,
long timestamp)
Opens the editor for an external location, selecting the given region. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorOpener()
Method Detail |
---|
public static void open(org.eclipse.ui.IWorkbenchPage page, org.eclipse.core.resources.IFile file, org.eclipse.jface.text.IRegion region, long timestamp)
public static void openExternalFile(org.eclipse.ui.IWorkbenchPage page, org.eclipse.core.runtime.IPath location, org.eclipse.jface.text.IRegion region, long timestamp)
public static void open(org.eclipse.ui.IWorkbenchPage page, org.eclipse.cdt.core.model.ICElement element) throws org.eclipse.cdt.core.model.CModelException
org.eclipse.cdt.core.model.CModelException
public static void open(org.eclipse.ui.IWorkbenchPage page, org.eclipse.cdt.core.model.ITranslationUnit tu, org.eclipse.jface.text.Region region, long timestamp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |