
Eclipse Papercut #7 – Adding the PDE Plugin creation wizard to the Eclipse toolbar
Its been a while since I wrote my last Eclipse papercut blog entry. Today I demonstrate how to add the PDE wizard for creating new plugins to the Eclipse toolbar. I personally create plugin projects on a regular basis therefore it is annoying to select the wizard via File-> New -> blablabla. I know that I can use Ctrl+3 to select the wizard but I want to be able to select this wizard from the main toolbar. This is really easily. First find the related Wizard via the Plugin Spy. We see that the wizard is called NewPluginProjectWizard. Then create a command with the following default handler. [source type="java"] package de.vogella.plugin.pdewizard.handlers; import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.pde.internal.ui.wizards.plugin.NewPluginProjectWizard;
import org.eclipse.swt.widgets.Shell;
import org.
More
Support this project and others with 1-click micro-donations