1 11 12 package org.eclipse.pde.internal.core.plugin; 13 14 import java.io.InputStream ; 15 16 import org.eclipse.core.resources.IFile; 17 import org.eclipse.core.runtime.CoreException; 18 19 23 public class AbbreviatedPluginModel extends WorkspacePluginModel { 24 25 28 private static final long serialVersionUID = 1L; 29 30 private String [] fExtensionPointIDs; 31 32 36 public AbbreviatedPluginModel(IFile file, String [] extensionPointIDs) { 37 super(file, true); 38 39 fExtensionPointIDs = extensionPointIDs; 40 } 41 42 46 public AbbreviatedPluginModel(IFile file, String extensionPointID) { 47 super(file, true); 48 49 fExtensionPointIDs = new String [] {extensionPointID}; 50 } 51 52 55 public void load(InputStream stream, boolean outOfSync) 56 throws CoreException { 57 load(stream, outOfSync, new AbbreviatedPluginHandler(fExtensionPointIDs)); 58 } 59 60 } 61 | Popular Tags |