Class ProjectManager.Result
java.lang.Object
org.netbeans.api.project.ProjectManager.Result
- Enclosing class:
ProjectManager
A result (immutable) object returned from
ProjectManager.isProject2(org.openide.filesystems.FileObject)
method.
To be created by ProjectFactory2
project factories.- Since:
- org.netbeans.modules.projectapi 1.22
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a human-readable display name for the project.getIcon()
Get the project icon.Get the project type e.g.
-
Constructor Details
-
Result
-
Result
-
-
Method Details
-
getDisplayName
Get a human-readable display name for the project. May contain spaces, international characters, etc.- Returns:
- a display name for the project or null if the display name cannot be found this way.
- Since:
- org.netbeans.modules.projectapi 1.60
-
getProjectType
Get the project type e.g."org-netbeans-modules-java-j2seproject"
- Returns:
- the project type or null if the project type cannot be found this way.
- Since:
- org.netbeans.modules.projectapi 1.60
-
getIcon
Get the project icon.- Returns:
- project type icon for the result or null if the icon cannot be found this way.
-