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