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