|
org.netbeans.modules.java.sourceui/1 1.23.1 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.java.source.ui.ElementOpen
public final class ElementOpen
Utility class for opening elements in editor.
| Method Summary | |
|---|---|
static boolean |
open(ClasspathInfo cpInfo,
Element el)
Opens given Element. |
static boolean |
open(ClasspathInfo cpInfo,
ElementHandle<? extends Element> el)
Opens Element corresponding to the given ElementHandle. |
static boolean |
open(FileObject toSearch,
ElementHandle<? extends Element> toOpen)
Opens given Element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean open(ClasspathInfo cpInfo,
ElementHandle<? extends Element> el)
Element corresponding to the given ElementHandle.
cpInfo - ClasspathInfo which should be used for the searchel - declaration to open
public static boolean open(ClasspathInfo cpInfo,
Element el)
Element.
cpInfo - ClasspathInfo which should be used for the searchel - declaration to open
public static boolean open(FileObject toSearch,
ElementHandle<? extends Element> toOpen)
Element.
toSearch - fileobject whose ClasspathInfo will be usedtoOpen - ElementHandle of the element which should be opened.
|
org.netbeans.modules.java.sourceui/1 1.23.1 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||