1 11 12 package org.eclipse.jdt.internal.corext.buildpath; 13 14 import java.util.List ; 15 16 import org.eclipse.core.runtime.CoreException; 17 import org.eclipse.core.runtime.IPath; 18 19 import org.eclipse.swt.widgets.Shell; 20 21 import org.eclipse.jface.viewers.IStructuredSelection; 22 23 import org.eclipse.jdt.core.IJavaProject; 24 import org.eclipse.jdt.core.JavaModelException; 25 26 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries; 27 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IAddArchivesQuery; 28 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IAddLibrariesQuery; 29 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.ICreateFolderQuery; 30 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IInclusionExclusionQuery; 31 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.ILinkToQuery; 32 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IOutputLocationQuery; 33 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IRemoveLinkedFolderQuery; 34 import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.OutputFolderQuery; 35 36 37 54 public interface IClasspathInformationProvider { 55 public static final int ADD_SEL_SF_TO_BP= 0x00; 56 public static final int REMOVE_FROM_BP= 0x01; 57 public static final int EXCLUDE= 0x02; 58 public static final int UNEXCLUDE= 0x03; 59 public static final int EDIT_FILTERS= 0x04; 60 public static final int CREATE_LINK= 0x05; 61 public static final int RESET_ALL= 0x06; 62 public static final int EDIT_OUTPUT= 0x07; 63 public static final int CREATE_OUTPUT= 0x08; 64 public static final int RESET= 0x09; 65 public static final int INCLUDE= 0xA; 66 public static final int UNINCLUDE= 0xB; 67 public static final int CREATE_FOLDER= 0xC; 68 public static final int ADD_JAR_TO_BP= 0xD; 69 public static final int ADD_LIB_TO_BP= 0xE; 70 public static final int ADD_SEL_LIB_TO_BP= 0xF; 71 72 96 public void handleResult(List resultElements, CoreException exception, int operationType); 97 98 109 public IStructuredSelection getSelection(); 110 111 116 public IJavaProject getJavaProject(); 117 118 128 public OutputFolderQuery getOutputFolderQuery() throws JavaModelException; 129 130 140 public IInclusionExclusionQuery getInclusionExclusionQuery() throws JavaModelException; 141 142 152 public IOutputLocationQuery getOutputLocationQuery() throws JavaModelException; 153 154 164 public ILinkToQuery getLinkFolderQuery() throws JavaModelException; 165 166 176 public IRemoveLinkedFolderQuery getRemoveLinkedFolderQuery() throws JavaModelException; 177 178 188 public IAddArchivesQuery getExternalArchivesQuery() throws JavaModelException; 189 190 200 public IAddLibrariesQuery getLibrariesQuery() throws JavaModelException; 201 202 212 public ICreateFolderQuery getCreateFolderQuery() throws JavaModelException; 213 214 222 public void deleteCreatedResources(); 223 } 224 | Popular Tags |