1 11 package org.eclipse.update.core; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.IProgressMonitor; 15 16 43 public interface IFeatureContentConsumer { 44 45 46 60 public void store(ContentReference contentReference, IProgressMonitor monitor) 61 throws CoreException; 62 63 73 public IContentConsumer open(IPluginEntry pluginEntry) throws CoreException; 74 75 85 public IContentConsumer open(INonPluginEntry nonPluginEntry) 86 throws CoreException; 87 88 97 public IFeatureReference close() throws CoreException; 98 99 107 public void abort() throws CoreException; 108 109 117 public void setFeature(IFeature feature); 118 119 125 public IFeature getFeature(); 126 127 135 public void setParent(IFeatureContentConsumer parent); 136 137 146 public IFeatureContentConsumer getParent(); 147 148 156 public void addChild(IFeature feature) throws CoreException; 157 158 165 public IFeatureContentConsumer[] getChildren(); 166 } 167 | Popular Tags |