Community
Participate
Working Groups
MaximizePartAction.text = Maximize Active View or Editor
MaximizePartAction.toolTip = Toggles Maximize/Restore State of Active View or Editor
ViewRegistry.badCategory = Category {0} not found for view {1}. This view added to \"{2}\" category.
# --- Help Menu ---
Workbench.help = &Help
import java.util.*;
import org.eclipse.ui.internal.WorkbenchMessages;
import org.eclipse.ui.internal.WorkbenchPlugin;
/**
* The central manager for view descriptors.
*/
if (miscCategory == null) {
miscCategory = new Category();
categories.add(miscCategory);
}
if (catPath != null) {
// If we get here, this view specified a category which
// does not exist. Add this view to the 'Other' category
// but give out a message (to the log only) indicating
// this has been done.
String defaultCategory = WorkbenchMessages.getString("ICategory.other"); //$NON-NLS-1$
WorkbenchPlugin.log(WorkbenchMessages.format("ViewRegistry.badCategory", new Object[]{catPath[0], desc.getID(), defaultCategory})); //$NON-NLS-1$
miscCategory.addElement(desc);