@Deprecated public final class UiUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UiUtils.PrintPart
Deprecated.
Use constants from org.netbeans.api.java.source.ui.ElementHeaders
of the org.netbeans.modules.java.sourceui module
|
Modifier and Type | Method and Description |
---|---|
static Icon |
getDeclarationIcon(Element element)
|
static int |
getDistance(String s,
String t)
|
static Icon |
getElementIcon(ElementKind elementKind,
Collection<Modifier> modifiers)
|
static String |
getHeader(Element element,
org.netbeans.api.java.source.CompilationInfo info,
String formatString)
|
static String |
getHeader(TreePath treePath,
org.netbeans.api.java.source.CompilationInfo info,
String formatString)
|
static boolean |
open(org.netbeans.api.java.source.ClasspathInfo cpInfo,
Element el)
|
static boolean |
open(FileObject toSearch,
org.netbeans.api.java.source.ElementHandle<? extends Element> toOpen)
|
static boolean |
open(FileObject fo,
int offset)
Deprecated.
|
@Deprecated public static Icon getElementIcon(ElementKind elementKind, Collection<Modifier> modifiers)
modifiers
- Can be null for empty modifiers collection@Deprecated public static Icon getDeclarationIcon(Element element)
@Deprecated public static boolean open(org.netbeans.api.java.source.ClasspathInfo cpInfo, Element el)
Element
.cpInfo
- fileobject whose ClasspathInfo
will be usedel
- declaration to open@Deprecated public static boolean open(FileObject toSearch, org.netbeans.api.java.source.ElementHandle<? extends Element> toOpen)
@Deprecated public static String getHeader(TreePath treePath, org.netbeans.api.java.source.CompilationInfo info, String formatString)
@Deprecated public static String getHeader(Element element, org.netbeans.api.java.source.CompilationInfo info, String formatString)
@Deprecated public static boolean open(FileObject fo, int offset)
Element
.fo
- fileobject whose ClasspathInfo
will be usedoffset
- offset with fileobject@Deprecated public static int getDistance(String s, String t)