|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.actions.OpenActionUtil
public class OpenActionUtil
Method Summary | |
---|---|
static java.util.List |
filterResolveResults(org.eclipse.cdt.core.model.ICElement[] codeResolveResults)
Filters out source references from the given code resolve results. |
static void |
open(java.lang.Object element)
Opens the editor on the given element and subsequently selects it. |
static void |
open(java.lang.Object element,
boolean activate)
Opens the editor on the given element and subsequently selects it. |
static org.eclipse.cdt.core.model.ICElement |
selectCElement(org.eclipse.cdt.core.model.ICElement[] elements,
org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message)
Shows a dialog for resolving an ambigous C element. |
static org.eclipse.cdt.core.model.ICElement |
selectCElement(org.eclipse.cdt.core.model.ICElement[] elements,
org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
int textFlags,
int imageFlags)
Shows a dialog for resolving an ambigous C element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void open(java.lang.Object element) throws org.eclipse.cdt.core.model.CModelException, org.eclipse.ui.PartInitException
org.eclipse.cdt.core.model.CModelException
org.eclipse.ui.PartInitException
public static void open(java.lang.Object element, boolean activate) throws org.eclipse.cdt.core.model.CModelException, org.eclipse.ui.PartInitException
org.eclipse.cdt.core.model.CModelException
org.eclipse.ui.PartInitException
public static java.util.List filterResolveResults(org.eclipse.cdt.core.model.ICElement[] codeResolveResults)
public static org.eclipse.cdt.core.model.ICElement selectCElement(org.eclipse.cdt.core.model.ICElement[] elements, org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String message)
public static org.eclipse.cdt.core.model.ICElement selectCElement(org.eclipse.cdt.core.model.ICElement[] elements, org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String message, int textFlags, int imageFlags)
elements
- an array of ambigous elements.shell
- parent shell for showing the dialogtitle
- title of the dialogmessage
- message to be shown in the dialogtextFlags
- text flags to change the label providerimageFlags
- image flags to change the label provider
null
CElementBaseLabels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |