|
org.netbeans.modules.projectapi/1 1.9.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Project | |
---|---|
org.netbeans.api.project | General API for finding and manipulating all kinds of projects. |
org.netbeans.spi.project | Support for defining project types. |
org.netbeans.spi.project.support |
Uses of Project in org.netbeans.api.project |
---|
Methods in org.netbeans.api.project that return Project | |
---|---|
Project |
ProjectManager.findProject(FileObject projectDirectory)
Find an open project corresponding to a given project directory. |
static Project |
FileOwnerQuery.getOwner(FileObject file)
Find the project, if any, which "owns" the given file. |
static Project |
FileOwnerQuery.getOwner(URI uri)
Find the project, if any, which "owns" the given URI. |
Project |
ProjectInformation.getProject()
Get the associated project. |
Methods in org.netbeans.api.project with parameters of type Project | |
---|---|
static ProjectInformation |
ProjectUtils.getInformation(Project p)
Get basic information about a project. |
static Sources |
ProjectUtils.getSources(Project p)
Get a list of sources for a project. |
static boolean |
ProjectUtils.hasSubprojectCycles(Project master,
Project candidate)
Check whether a project has, or might have, cycles in its subproject graph. |
boolean |
ProjectManager.isModified(Project p)
Check whether a given project is current modified. |
boolean |
ProjectManager.isValid(Project p)
Check whether a given project is still valid (ie. |
static void |
FileOwnerQuery.markExternalOwner(FileObject root,
Project owner,
int algorithm)
Mark an external folder or file as being owned by a particular project. |
static void |
FileOwnerQuery.markExternalOwner(URI root,
Project owner,
int algorithm)
Mark an external URI (folder or file) as being owned by a particular project. |
void |
ProjectManager.saveProject(Project p)
Save one project (if it was in fact modified). |
Uses of Project in org.netbeans.spi.project |
---|
Methods in org.netbeans.spi.project that return Project | |
---|---|
Project |
FileOwnerQueryImplementation.getOwner(FileObject file)
Decide which project, if any, "owns" a given file. |
Project |
FileOwnerQueryImplementation.getOwner(URI file)
Decide which project, if any, "owns" a given file. |
Project |
ProjectFactory.loadProject(FileObject projectDirectory,
ProjectState state)
Create a project that resides on disk. |
Methods in org.netbeans.spi.project with parameters of type Project | |
---|---|
void |
CopyOperationImplementation.notifyCopied(Project original,
File originalPath,
String nueName)
Notification that the copy operation has finished. |
void |
MoveOperationImplementation.notifyMoved(Project original,
File originalPath,
String nueName)
Notification that the move operation has finished. |
void |
ProjectFactory.saveProject(Project project)
Save a project to disk. |
Uses of Project in org.netbeans.spi.project.support |
---|
Methods in org.netbeans.spi.project.support with parameters of type Project | |
---|---|
static Sources |
GenericSources.genericOnly(Project p)
Lists only one source folder group, of Sources.TYPE_GENERIC ,
containing the project directory, as by GenericSources.group(org.netbeans.api.project.Project, org.openide.filesystems.FileObject, java.lang.String, java.lang.String, javax.swing.Icon, javax.swing.Icon) . |
static List |
ProjectOperations.getDataFiles(Project prj)
Return list of files that are considered source files and folders for the given project. |
static List |
ProjectOperations.getMetadataFiles(Project prj)
Return list of files that are considered metadata files and folders for the given project. |
static SourceGroup |
GenericSources.group(Project p,
FileObject rootFolder,
String name,
String displayName,
Icon icon,
Icon openedIcon)
Default kind of source folder group. |
static boolean |
ProjectOperations.isCopyOperationSupported(Project prj)
Test whether the copy operation is supported on the given project. |
static boolean |
ProjectOperations.isDeleteOperationSupported(Project prj)
Test whether the delete operation is supported on the given project. |
static boolean |
ProjectOperations.isMoveOperationSupported(Project prj)
Test whether the move operation is supported on the given project. |
static void |
ProjectOperations.notifyCopied(Project original,
Project nue,
File originalPath,
String name)
Notification that the project has been copied. |
static void |
ProjectOperations.notifyCopying(Project prj)
Notification that the project is about to be copyied. |
static void |
ProjectOperations.notifyDeleted(Project prj)
Notification that the project has been deleted. |
static void |
ProjectOperations.notifyDeleting(Project prj)
Notification that the project is about to be deleted. |
static void |
ProjectOperations.notifyMoved(Project original,
Project nue,
File originalPath,
String name)
Notification that the project has been moved. |
static void |
ProjectOperations.notifyMoving(Project prj)
Notification that the project is about to be moved. |
|
org.netbeans.modules.projectapi/1 1.9.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |