Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 1984
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/messages.properties (+1 lines)
Lines 256-261 Link Here
256
MaximizePartAction.text = Maximize Active View or Editor
256
MaximizePartAction.text = Maximize Active View or Editor
257
MaximizePartAction.toolTip = Toggles Maximize/Restore State of Active View or Editor
257
MaximizePartAction.toolTip = Toggles Maximize/Restore State of Active View or Editor
258
258
259
ViewRegistry.badCategory = Category {0} not found for view {1}.  This view added to \"{2}\" category.
259
260
260
# --- Help Menu ---
261
# --- Help Menu ---
261
Workbench.help = &Help
262
Workbench.help = &Help
(-)Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistry.java (+11 lines)
Lines 12-17 Link Here
12
12
13
import java.util.*;
13
import java.util.*;
14
14
15
import org.eclipse.ui.internal.WorkbenchMessages;
16
import org.eclipse.ui.internal.WorkbenchPlugin;
17
15
/**
18
/**
16
 * The central manager for view descriptors.
19
 * The central manager for view descriptors.
17
 */
20
 */
Lines 124-129 Link Here
124
			if (miscCategory == null) {
127
			if (miscCategory == null) {
125
				miscCategory = new Category();
128
				miscCategory = new Category();
126
				categories.add(miscCategory);
129
				categories.add(miscCategory);
130
			}
131
			if (catPath != null) {
132
				// If we get here, this view specified a category which
133
				// does not exist. Add this view to the 'Other' category
134
				// but give out a message (to the log only) indicating 
135
				// this has been done.
136
				String defaultCategory = WorkbenchMessages.getString("ICategory.other"); //$NON-NLS-1$
137
				WorkbenchPlugin.log(WorkbenchMessages.format("ViewRegistry.badCategory", new Object[]{catPath[0], desc.getID(), defaultCategory}));  //$NON-NLS-1$
127
			}
138
			}
128
			miscCategory.addElement(desc);
139
			miscCategory.addElement(desc);
129
		}
140
		}

Return to bug 1984