Community
Participate
Working Groups
Build Identifier: I20100419-1343 "OverrrideIndicator" annotation is duplicated at the preference page. "Override Indicators" already exists as the annotation types. It could be confusing for users. Reproducible: Always Steps to Reproduce: 1. Launch the Preference ("Window" -> "Preference...") 2. Go to "General" -> "Editors" -> "Text Editors" -> "Annotation" You can find that the "OverrideIndicator" annotation is duplicated.
Created attachment 165726 [details] screen capture
This is a common problem, not a globalization unique. Expected result: These annotations must be clearly distinguished.
OCL does not currently ship any editors (hoping to add an Editor example for M7). The string OverrideIndicator appears nowhere in OCL source. When I start an Eclipse with OCL plugins I do not see the duplicate.
Change the product to IMP.
I can't see how IMP could be causing this problem either - we only define two annotation types (parserAnnotation and occurrenceAnnotation), neither of which have anything to do with the override indicator. A case-insensitive search for the string "OverrideIndicator" in all of the IMP source turned up one commented-out instance in a line in OutlineInformationControl, as part of the JDT class name OverrideIndicatorLabelDecorator. That line has been commented out since at least Feb 2008. In an Eclipse w/ several IMP-based IDEs installed, in "Editors" -> "Text Editors" -> "Annotations", I see 3 annotation types whose labels mention "Override": - Override - Override indicators (org.eclipse.jdt.ui.overrideIndicator) - Override indicators (org.eclipse.php.ui.overrideIndicator) As you can see, the second of these is from the JDT, the third is from the PHP IDE (which I also have installed). I don't know where the "Override" annotation type is coming from, but again, IMP doesn't define any such annotation type. If I run a runtime workbench with all of IMP, but most of the additional extraneous plugins (like the PHP-related ones) that are not necessary for or related to IMP, I see only one instance of "Override indicators" in the Annotations prefs page, and I also don't see the "Override" annotation type. So, I conclude this isn't an IMP problem; I suggest you look elsewhere for the resolution. Changing product back to MDT.
This is clearly not OCL. This is clearly not IMP. Robert's analysis shows that it is JDT or PHP.
This preference page is from the Platform/Text component. Moving to PDT to fix the name of the annotation. If it's exactly "Override Indicators", the page should resolve the conflict and show the contributor of each annotation. Filed bug 315802 to improve the rendering of collisions.
fixed already
Looks OK to me (Pdt-2.2.0.v20100605) I also see only: - Override - Override indicators (org.eclipse.jdt.ui.overrideIndicator) - Override indicators (org.eclipse.php.ui.overrideIndicator) Closing