use of org.netbeans.api.project.Project in project netbeans-mmd-plugin by raydac.
the class MovePanel method getTarget.
public FileObject getTarget() {
final Project project = (Project) this.comboProjects.getSelectedItem();
final String folder = (String) this.comboFolders.getSelectedItem();
if (project == null || folder == null) {
return null;
} else {
return project.getProjectDirectory().getFileObject(folder);
}
}
Aggregations