@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)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection)
of the org.netbeans.modules.java.sourceui module |
static int |
getDistance(String s,
String t)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementHeaders#getDistance(java.lang.String, java.lang.String)
of the org.netbeans.modules.java.sourceui module |
static Icon |
getElementIcon(ElementKind elementKind,
Collection<Modifier> modifiers)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection)
of the org.netbeans.modules.java.sourceui module |
static String |
getHeader(Element element,
org.netbeans.api.java.source.CompilationInfo info,
String formatString)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(javax.lang.model.element.Element, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
of the org.netbeans.modules.java.sourceui module |
static String |
getHeader(TreePath treePath,
org.netbeans.api.java.source.CompilationInfo info,
String formatString)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(com.sun.source.util.TreePath, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
of the org.netbeans.modules.java.sourceui module |
static boolean |
open(org.netbeans.api.java.source.ClasspathInfo cpInfo,
Element el)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementOpen#open(org.netbeans.api.java.source.ClasspathInfo, org.netbeans.api.java.source.ElementHandle)
of the org.netbeans.modules.java.sourceui module |
static boolean |
open(FileObject toSearch,
org.netbeans.api.java.source.ElementHandle<? extends Element> toOpen)
Deprecated.
Use
org.netbeans.api.java.source.ui.ElementOpen#open(org.openide.filesystems.FileObject, org.netbeans.api.java.source.ElementHandle)
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)
org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection)
of the org.netbeans.modules.java.sourceui modulemodifiers
- Can be null for empty modifiers collection@Deprecated public static Icon getDeclarationIcon(Element element)
org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection)
of the org.netbeans.modules.java.sourceui module@Deprecated public static boolean open(org.netbeans.api.java.source.ClasspathInfo cpInfo, Element el)
org.netbeans.api.java.source.ui.ElementOpen#open(org.netbeans.api.java.source.ClasspathInfo, org.netbeans.api.java.source.ElementHandle)
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, org.netbeans.api.java.source.ElementHandle<? extends Element> toOpen)
org.netbeans.api.java.source.ui.ElementOpen#open(org.openide.filesystems.FileObject, org.netbeans.api.java.source.ElementHandle)
of the org.netbeans.modules.java.sourceui module@Deprecated public static String getHeader(TreePath treePath, org.netbeans.api.java.source.CompilationInfo info, String formatString)
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(com.sun.source.util.TreePath, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
of the org.netbeans.modules.java.sourceui module@Deprecated public static String getHeader(Element element, org.netbeans.api.java.source.CompilationInfo info, String formatString)
org.netbeans.api.java.source.ui.ElementHeaders#getHeader(javax.lang.model.element.Element, org.netbeans.api.java.source.CompilationInfo, java.lang.String)
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)
org.netbeans.api.java.source.ui.ElementHeaders#getDistance(java.lang.String, java.lang.String)
of the org.netbeans.modules.java.sourceui module