1 11 package org.eclipse.pde.internal.ui.wizards.plugin; 12 13 import org.eclipse.pde.ui.IFieldData; 14 15 public abstract class AbstractFieldData implements IFieldData { 16 17 private String fId; 18 private String fVersion; 19 private String fName; 20 private String fProvider; 21 private boolean fLegacy; 22 private String fLibraryName; 23 private String fSourceFolderName; 24 private String fOutputFolderName; 25 private boolean fHasBundleStructure; 26 private boolean fSimple; 27 private String fTargetVersion = "3.1"; private String fFramework; 29 30 33 public String getId() { 34 return fId; 35 } 36 39 public String getVersion() { 40 return fVersion; 41 } 42 45 public String getName() { 46 return fName; 47 } 48 51 public String getProvider() { 52 return fProvider; 53 } 54 55 public boolean isLegacy() { 56 return fLegacy; 57 } 58 59 62 public String getLibraryName() { 63 return fLibraryName; 64 } 65 66 69 public String getSourceFolderName() { 70 return fSourceFolderName; 71 } 72 73 76 public String getOutputFolderName() { 77 return fOutputFolderName; 78 } 79 80 83 public boolean hasBundleStructure() { 84 return fHasBundleStructure; 85 } 86 87 90 public boolean isSimple() { 91 return fSimple; 92 } 93 94 public void setId(String id) { 95 fId = id; 96 } 97 98 public void setName(String name) { 99 fName = name; 100 } 101 102 public void setProvider(String provider) { 103 fProvider = provider; 104 } 105 106 public void setVersion(String version) { 107 fVersion = version; 108 } 109 110 public void setLegacy(boolean isLegacy) { 111 fLegacy = isLegacy; 112 } 113 114 public void setLibraryName(String name) { 115 fLibraryName = name; 116 } 117 118 public void setSourceFolderName(String name) { 119 fSourceFolderName = name; 120 } 121 122 public void setOutputFolderName(String name) { 123 fOutputFolderName = name; 124 } 125 126 public void setHasBundleStructure(boolean isBundle) { 127 fHasBundleStructure = isBundle; 128 } 129 130 public void setSimple(boolean simple) { 131 fSimple = simple; 132 } 133 134 137 public String getTargetVersion() { 138 return fTargetVersion; 139 } 140 141 public void setTargetVersion(String version) { 142 fTargetVersion = version; 143 } 144 145 public String getOSGiFramework() { 146 return fFramework; 147 } 148 149 public void setOSGiFramework(String framework) { 150 fFramework = framework; 151 } 152 153 } 154 | Popular Tags |