1 11 package org.eclipse.pde.internal.ui.correction; 12 13 import org.eclipse.pde.internal.core.ICoreConstants; 14 import org.eclipse.pde.internal.core.text.bundle.BundleModel; 15 import org.eclipse.pde.internal.ui.PDEUIMessages; 16 17 public class CreateJREBundleHeaderResolution extends AbstractManifestMarkerResolution { 18 19 public CreateJREBundleHeaderResolution(int type) { 20 super(type); 21 } 22 23 public String getDescription() { 24 return PDEUIMessages.CreateJREBundleHeaderResolution_desc; 25 } 26 27 public String getLabel() { 28 return PDEUIMessages.CreateJREBundleHeaderResolution_label; 29 } 30 31 protected void createChange(BundleModel model) { 32 model.getBundle().setHeader(ICoreConstants.ECLIPSE_JREBUNDLE, Boolean.toString(true)); 33 } 34 } 35 | Popular Tags |