1 11 package org.eclipse.pde.internal.core.isite; 12 13 import org.eclipse.core.resources.IFile; 14 import org.eclipse.core.runtime.CoreException; 15 import org.eclipse.pde.internal.core.ifeature.IVersionable; 16 17 public interface ISiteFeature extends IVersionable, ISiteObject { 18 String P_TYPE = "type"; String P_URL = "url"; String P_OS = "os"; String P_WS = "ws"; String P_NL = "nl"; String P_ARCH = "arch"; String P_PATCH = "patch"; void addCategories(ISiteCategory[] categories) throws CoreException; 26 void removeCategories(ISiteCategory[] categories) throws CoreException; 27 ISiteCategory [] getCategories(); 28 String getType(); 29 String getURL(); 30 String getOS(); 31 String getNL(); 32 String getArch(); 33 String getWS(); 34 boolean isPatch(); 35 void setType(String type) throws CoreException; 36 void setURL(String url) throws CoreException; 37 void setOS(String os) throws CoreException; 38 void setWS(String ws) throws CoreException; 39 void setArch(String arch) throws CoreException; 40 void setNL(String nl) throws CoreException; 41 void setIsPatch(boolean patch) throws CoreException; 42 IFile getArchiveFile(); 43 } 44 | Popular Tags |