Lines 21-27
Link Here
|
21 |
|
21 |
|
22 |
import org.eclipse.jdt.internal.ui.JavaPlugin; |
22 |
import org.eclipse.jdt.internal.ui.JavaPlugin; |
23 |
import org.eclipse.jdt.internal.ui.JavaPluginImages; |
23 |
import org.eclipse.jdt.internal.ui.JavaPluginImages; |
24 |
import org.eclipse.jdt.internal.ui.packageview.PackageExplorerProblemsDecorator; |
|
|
25 |
|
24 |
|
26 |
/** |
25 |
/** |
27 |
* A {@link JavaElementImageDescriptor} consists of a base image and several adornments. The adornments |
26 |
* A {@link JavaElementImageDescriptor} consists of a base image and several adornments. The adornments |
Lines 88-97
Link Here
|
88 |
|
87 |
|
89 |
/** |
88 |
/** |
90 |
* Flag to render the build path error adornment. |
89 |
* Flag to render the build path error adornment. |
91 |
* @since 3.6 |
90 |
* @since 3.7 |
92 |
*/ |
91 |
*/ |
93 |
//TODO: make API in 3.7, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=308672 |
92 |
public final static int BUILDPATH_ERROR= 0x2000; |
94 |
final static int BUILDPATH_ERROR= PackageExplorerProblemsDecorator.BUILDPATH_ERROR; |
|
|
95 |
|
93 |
|
96 |
private ImageDescriptor fBaseImage; |
94 |
private ImageDescriptor fBaseImage; |
97 |
private int fFlags; |
95 |
private int fFlags; |
Lines 298-304
Link Here
|
298 |
if ((fFlags & ERROR) != 0) { |
296 |
if ((fFlags & ERROR) != 0) { |
299 |
addBottomLeftImage(JavaPluginImages.DESC_OVR_ERROR, pos); |
297 |
addBottomLeftImage(JavaPluginImages.DESC_OVR_ERROR, pos); |
300 |
} |
298 |
} |
301 |
if ((fFlags & PackageExplorerProblemsDecorator.BUILDPATH_ERROR) != 0) { |
299 |
if ((fFlags & BUILDPATH_ERROR) != 0) { |
302 |
addBottomLeftImage(JavaPluginImages.DESC_OVR_BUILDPATH_ERROR, pos); |
300 |
addBottomLeftImage(JavaPluginImages.DESC_OVR_BUILDPATH_ERROR, pos); |
303 |
} |
301 |
} |
304 |
if ((fFlags & WARNING) != 0) { |
302 |
if ((fFlags & WARNING) != 0) { |