1 11 12 package org.eclipse.pde.internal.ui.wizards.feature; 13 14 import org.eclipse.jdt.ui.PreferenceConstants; 15 16 public class FeatureData { 17 18 public String id; 19 public String name; 20 public String version; 21 public String provider; 22 public String library; 23 public boolean isPatch; 24 public String featureToPatchId; 25 public String featureToPatchVersion; 26 27 public FeatureData() { 28 library = null; 29 isPatch = false; 30 } 31 32 public boolean hasCustomHandler() { 33 return library != null && library.length() > 0; 34 } 35 36 public String getSourceFolderName() { 37 return PreferenceConstants.getPreferenceStore().getString( 38 PreferenceConstants.SRCBIN_SRCNAME); 39 } 40 41 public String getJavaBuildFolderName() { 42 return PreferenceConstants.getPreferenceStore().getString( 43 PreferenceConstants.SRCBIN_BINNAME); 44 } 45 } 46 | Popular Tags |