1 11 package org.eclipse.pde.core.plugin; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.pde.core.IIdentifiable; 15 20 public interface IPluginBase extends IExtensions, IIdentifiable { 21 25 String P_PROVIDER = "provider-name"; 30 String P_VERSION = "version"; 32 36 String P_LIBRARY_ORDER = "library_order"; 38 42 String P_IMPORT_ORDER = "import_order"; 44 48 String P_SCHEMA_VERSION = "schema-version"; 56 void add(IPluginLibrary library) throws CoreException; 57 58 65 void add(IPluginImport pluginImport) throws CoreException; 66 73 void remove(IPluginImport pluginImport) throws CoreException; 74 79 IPluginLibrary[] getLibraries(); 80 85 IPluginImport[] getImports(); 86 91 String getProviderName(); 92 96 String getVersion(); 97 104 void remove(IPluginLibrary library) throws CoreException; 105 112 void setProviderName(String providerName) throws CoreException; 113 120 void setVersion(String version) throws CoreException; 121 132 void swap(IPluginLibrary l1, IPluginLibrary l2) throws CoreException; 133 134 142 void swap(IPluginImport import1, IPluginImport import2) throws CoreException; 143 144 148 String getSchemaVersion(); 149 153 void setSchemaVersion(String schemaVersion) throws CoreException; 154 155 } 156 | Popular Tags |