public class NodeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ICON_DEPENDENCY_JAR
Deprecated.
since 2.93, please use the version from
IconResources |
| Modifier and Type | Method and Description |
|---|---|
static Image |
getTreeFolderIcon(boolean opened)
Returns default folder icon as
Image. |
static void |
openPomFile(FileObject fo)
open pom file for given FileObject, for items from local repository creates a read-only FO.
|
static FileObject |
readOnlyLocalRepositoryFile(FileObject file)
Produces a variant of a file in the local repository that the IDE will consider read-only.
|
@Deprecated public static final String ICON_DEPENDENCY_JAR
IconResourcespublic static Image getTreeFolderIcon(boolean opened)
Image. Never returns
null.opened - wheter closed or opened icon should be returned.public static FileObject readOnlyLocalRepositoryFile(FileObject file)
OpenCookie or EditCookie to open in a read-only text editor window.file - a file possibly in the local repositorypublic static void openPomFile(FileObject fo)
fo -