Project: JDT
Bug 268950 [Commands] New APIs in IWorkbenchCommandConstants are missing '_' separators
Reported: 2009-03-17 07:33:17 | Status: verified fixed

3.5 M6. The new constants in IWorkbenchCommandConstants are missing '_' separators which make them hard to read and which make them differ from the action constant. Examples: - action is called CLOSE_ALL but constant is FILE_CLOSEALL instead of FILE_CLOSE_ALL - action is called CLOSE_PERSPECTIVE but constant is WINDOW_CLOSEPERSPECTIVE instead of WINDOW_CLOSE_PERSPECTIVE I'm sorry I did not notice before the API freeze. I suggest to ask the PMC to change that for final 3.5.

Files changed in fix:
org.eclipse.jdt.astview/src/org/eclipse/jdt/astview/views/ASTView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResultPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposalComputer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/BuildActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java