1 7 package com.bull.eclipse.jonas.actions; 8 9 15 16 import org.eclipse.jface.action.IAction; 17 import org.eclipse.jface.viewers.ISelection; 18 import org.eclipse.ui.IWorkbenchWindow; 19 import org.eclipse.ui.IWorkbenchWindowActionDelegate; 20 21 import com.bull.eclipse.jonas.JonasLauncherPlugin; 22 23 public class CreateJonasBaseActionDelegate implements IWorkbenchWindowActionDelegate { 24 25 private IWorkbenchWindow window; 26 27 30 public void dispose() { 31 } 32 33 36 public void init(IWorkbenchWindow window) { 37 this.window = window; 38 } 39 40 43 public void run(IAction action) { 44 try { 45 JonasBaseCreation.createJonasBase(); 46 } catch (Exception ex) { 47 JonasLauncherPlugin.log(ex); 48 } 49 } 50 51 54 public void selectionChanged(IAction action, ISelection selection) { 55 56 } 57 58 59 } 60 | Popular Tags |