| java.lang.Object org.netbeans.napi.gsfret.source.UiUtils
UiUtils | final public class UiUtils (Code) | | This file is originally from Retouche, the Java Support
infrastructure in NetBeans. I have modified the file as little
as possible to make merging Retouche fixes back as simple as
possible.
This class contains various methods bound to visualization of Java model
elements. It was formerly included under SourceUtils
XXX - needs cleanup
author: Jan Lahoda author: Tor Norbye |
getDocument | public static BaseDocument getDocument(FileObject fileObject, boolean openIfNecessary)(Code) | | |
getElementIcon | public static Icon getElementIcon(ElementKind elementKind, Collection<Modifier> modifiers)(Code) | | Gets correct icon for given ElementKind.
Parameters: modifiers - Can be null for empty modifiers collection |
open | public static boolean open(Source js, ElementHandle handle)(Code) | | Opens given
ComObject .
Parameters: cpInfo - fileobject whose ClasspathInfo will be used Parameters: el - declaration to open true if and only if the declaration was correctly opened,false otherwise |
open | public static boolean open(FileObject fo, int offset)(Code) | | |
|
|