private void makeActions() {
_newFolderAction = new Action(Messages.ScannedMapsView_NewFolder) {
@Override
public void run() {
final NewFolderWizard w = new NewFolderWizard();
w.init(ScannedMapsView.this.getSite().getWorkbenchWindow().getWorkbench(),
(IStructuredSelection) getViewer().getSelection());
final WizardDialog dialog = new WizardDialog(ScannedMapsView.this.getSite()
.getShell(), w);
dialog.create();
dialog.open();
}
};
_newFolderAction.setToolTipText(Messages.ScannedMapsView_NewFolderTooltip);
_newFolderAction.setImageDescriptor(Activator.getImageDescriptor("/icons/folder_add.png")); //$NON-NLS-1$
_newMapAction = new Action(Messages.ScannedMapsView_NewMap) {
@Override
public void run() {
final NewScannedMapWizard w = new NewScannedMapWizard();
w.init(ScannedMapsView.this.getSite().getWorkbenchWindow().getWorkbench(),
(IStructuredSelection) getViewer().getSelection());
final WizardDialog dialog = new WizardDialog(ScannedMapsView.this.getSite()
.getShell(), w);
dialog.create();
dialog.open();