1 11 package org.eclipse.jdt.ui.wizards; 12 13 import org.eclipse.swt.widgets.Shell; 14 15 import org.eclipse.jface.resource.ImageDescriptor; 16 17 import org.eclipse.jdt.core.IClasspathAttribute; 18 import org.eclipse.jdt.core.IClasspathEntry; 19 import org.eclipse.jdt.core.IJavaProject; 20 21 33 public abstract class ClasspathAttributeConfiguration { 34 35 38 public static abstract class ClasspathAttributeAccess { 39 40 44 public abstract IClasspathAttribute getClasspathAttribute(); 45 46 50 public abstract IClasspathEntry getParentClasspassEntry(); 51 52 56 public abstract IJavaProject getJavaProject(); 57 58 } 59 60 66 public abstract ImageDescriptor getImageDescriptor(ClasspathAttributeAccess attribute); 67 68 69 75 public abstract String getNameLabel(ClasspathAttributeAccess attribute); 76 77 78 84 public abstract String getValueLabel(ClasspathAttributeAccess attribute); 85 86 93 public abstract boolean canEdit(ClasspathAttributeAccess attribute); 94 95 102 public abstract boolean canRemove(ClasspathAttributeAccess attribute); 103 104 111 public abstract IClasspathAttribute performEdit(Shell shell, ClasspathAttributeAccess attribute); 112 113 119 public abstract IClasspathAttribute performRemove(ClasspathAttributeAccess attribute); 120 121 122 } 123 | Popular Tags |