mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-03-28 14:56:28 +01:00
Bug 569479 - Fix ClassCastException with NewLaunchTargetWizard
NewLaunchTargetWizard implements INewWizard so that File > New > Other... > Launch Targets > Launch Target works without exception. Change-Id: I6ffb0a8d601d54fe4d3f781fdbaa342167fff2f0 Signed-off-by: Jonathan Williams <jonwilliams@blackberry.com>
This commit is contained in:
parent
a7546a575f
commit
7d64391baf
2 changed files with 10 additions and 2 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.launchbar.ui;singleton:=true
|
||||
Bundle-Version: 2.4.0.qualifier
|
||||
Bundle-Version: 2.4.100.qualifier
|
||||
Bundle-Activator: org.eclipse.launchbar.ui.internal.Activator
|
||||
Bundle-Vendor: %providerName
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
|
|
|
@ -13,15 +13,18 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.launchbar.ui.internal.target;
|
||||
|
||||
import org.eclipse.jface.viewers.IStructuredSelection;
|
||||
import org.eclipse.jface.wizard.Wizard;
|
||||
import org.eclipse.launchbar.ui.internal.Messages;
|
||||
import org.eclipse.ui.INewWizard;
|
||||
import org.eclipse.ui.IWorkbench;
|
||||
|
||||
/**
|
||||
* The new wizard is responsible for allowing the user to choose which new
|
||||
* (nested) wizard to run. The set of available new wizards comes from the new
|
||||
* extension point.
|
||||
*/
|
||||
public class NewLaunchTargetWizard extends Wizard {
|
||||
public class NewLaunchTargetWizard extends Wizard implements INewWizard {
|
||||
|
||||
public NewLaunchTargetWizard() {
|
||||
setForcePreviousAndNextButtons(true);
|
||||
|
@ -42,4 +45,9 @@ public class NewLaunchTargetWizard extends Wizard {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(IWorkbench workbench, IStructuredSelection selection) {
|
||||
// Nothing to do
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue