1 11 package org.eclipse.pde.ui.templates; 12 import java.net.URL ; 13 14 import org.eclipse.core.resources.IProject; 15 import org.eclipse.core.runtime.CoreException; 16 import org.eclipse.core.runtime.IProgressMonitor; 17 import org.eclipse.jface.wizard.Wizard; 18 import org.eclipse.jface.wizard.WizardPage; 19 import org.eclipse.pde.core.plugin.IPluginModelBase; 20 import org.eclipse.pde.core.plugin.IPluginReference; 21 22 36 37 public interface ITemplateSection { 38 48 public URL getTemplateLocation(); 49 54 public String getLabel(); 55 56 63 public String getDescription(); 64 65 80 public String getReplacementString(String fileName, String key); 81 89 public void addPages(Wizard wizard); 90 91 96 public WizardPage getPage(int pageIndex); 97 98 101 public int getPageCount(); 102 103 110 111 public boolean getPagesAdded(); 112 113 120 public int getNumberOfWorkUnits(); 121 122 136 public IPluginReference[] getDependencies(String schemaVersion); 137 138 144 public String getUsedExtensionPoint(); 145 146 157 public void execute(IProject project, IPluginModelBase model, 158 IProgressMonitor monitor) throws CoreException; 159 160 181 public String [] getNewFiles(); 182 } 183 | Popular Tags |