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 RenameAutostartResolution extends AbstractManifestMarkerResolution { 18 19 public RenameAutostartResolution(int type) { 20 super(type); 21 } 22 23 public String getDescription() { 24 return PDEUIMessages.RenameAutostartResolution_desc; 25 } 26 27 public String getLabel() { 28 return PDEUIMessages.RenameAutostartResolution_label; 29 } 30 31 protected void createChange(BundleModel model) { 32 model.getBundle().renameHeader(ICoreConstants.ECLIPSE_AUTOSTART, ICoreConstants.ECLIPSE_LAZYSTART); 33 } 34 35 } 36 | Popular Tags |