1 19 20 package org.netbeans.modules.projectimport.jbuilder.ui; 21 22 import java.io.File ; 23 import java.util.Collection ; 24 import org.netbeans.modules.projectimport.j2seimport.ui.BasicWizardIterator; 25 import org.openide.filesystems.FileUtil; 26 27 31 public class JBWizardData extends BasicWizardIterator.BasicDataModel { 32 public JBWizardData() { 33 super(); 34 } 35 36 private File projectFile = null; 37 private File destinationDir = null; 38 private Collection projectDefinition = null; 39 private boolean includeDependencies; 40 41 42 public File getDestinationDir() { 43 return (destinationDir != null) ? FileUtil.normalizeFile(destinationDir) : null; 44 } 45 46 void setDestinationDir(File destination) { 47 this.destinationDir = destination; 48 } 49 50 public File getProjectFile() { 51 return (projectFile != null) ? FileUtil.normalizeFile(projectFile) : null; 52 } 53 54 void setProjectFile(File projectFile) { 55 this.projectFile = projectFile; 56 } 57 58 public Collection getProjectDefinition() { 59 return projectDefinition; 60 } 61 62 void setProjectDefinition(Collection projectDefinition) { 63 this.projectDefinition = projectDefinition; 64 } 65 66 public boolean isIncludeDependencies() { 67 return includeDependencies; 68 } 69 70 void setIncludeDependencies(boolean includeDependencies) { 71 this.includeDependencies = includeDependencies; 72 } 73 } 74 | Popular Tags |