Bug 110643 [API] NewClassCreationWizard needs to be API
We need a Java class creation wizard that we can a) launch programmatically and b) set and get the new class' name, package fragment, superclass, super interfaces, etc. (i.e., prime it before launch and retrieve values after finish). Unfortunately, in Eclipse 3.1 NewClassCreationWizard is not only internal (i.e., not API) but also does not provide the needed getters/setters. So, our current choices seem to be: a) subclass NewClassCreationWizard anyway and implement the needed getters/setters ourselves; or b) copy & paste the code from NewClassCreationWizard (and its superclass, NewElementWizard) to create our own class creation wizard (and implement the getters/setters we need). Neither of these choices are good. (We currently do the former.) In Eclipse 3.2 we'd like NewClassCreationWizard to be API and for it to support the getters/setters we need (i.e., give access to its "model").
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java
/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.actions;
import org.eclipse.osgi.util.NLS;
public final class ActionMessages extends NLS {
	private static final String BUNDLE_NAME= "org.eclipse.jdt.internal.ui.actions.ActionMessages";
	private ActionMessages() {
		
	}
	public static String OpenWithMenu_label;
	public static String RefactorMenu_label;
	public static String SourceMenu_label;
	public static String BuildPath_label;
	public static String BuildAction_label;
	public static String RebuildAction_label;
	public static String SelectionConverter_codeResolveOrInput_failed;
	public static String SelectionConverter_codeResolve_failed;
	public static String OpenAction_label;
	public static String OpenAction_tooltip;
	public static String OpenAction_description;
	public static String OpenAction_declaration_label;