| java.lang.Object org.netbeans.api.java.source.ui.ElementOpen
ElementOpen | final public class ElementOpen (Code) | | Utility class for opening elements in editor.
author: Jan Lahoda |
open | public static boolean open(ClasspathInfo cpInfo, ElementHandle<? extends Element> el)(Code) | | Opens
Element corresponding to the given
ElementHandle .
Parameters: cpInfo - ClasspathInfo which should be used for the search Parameters: el - declaration to open true if and only if the declaration was correctly opened,false otherwise since: 1.5 |
open | public static boolean open(ClasspathInfo cpInfo, Element el)(Code) | | Opens given
Element .
Parameters: cpInfo - ClasspathInfo which should be used for the search Parameters: el - declaration to open true if and only if the declaration was correctly opened,false otherwise |
open | public static boolean open(FileObject toSearch, ElementHandle<? extends Element> toOpen)(Code) | | Opens given
Element .
Parameters: toSearch - fileobject whose ClasspathInfo will be used Parameters: toOpen - ElementHandle of the element which should be opened. true if and only if the declaration was correctly opened,false otherwise |
|
|