|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.java.source.UiUtils
@Deprecated public final class UiUtils
This class contains various methods bound to visualization of Java model elements. It was formerly included under SourceUtils XXX - needs cleanup
Nested Class Summary | |
---|---|
static class |
UiUtils.PrintPart
Deprecated. Use constants from org.netbeans.api.java.source.ui.ElementHeaders
of the org.netbeans.modules.java.sourceui module |
Method Summary | |
---|---|
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,
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,
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(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,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@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 module
modifiers
- 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(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 module
Element
.
cpInfo
- fileobject whose ClasspathInfo
will be usedel
- declaration to open
@Deprecated public static boolean open(FileObject toSearch, 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, 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, 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
|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |