@Override public void run(IAction action) { JavadocWizard wizard= new JavadocWizard(); IStructuredSelection selection= null; if (fSelection instanceof IStructuredSelection) { selection= (IStructuredSelection)fSelection; } else { selection= new StructuredSelection(); } JavadocWizard.openJavadocWizard(wizard, fCurrentShell, selection); }
@Override public void run(IAction action) { if (fCurrentSelection instanceof IStructuredSelection) { IStructuredSelection structuredSelection= (IStructuredSelection) fCurrentSelection; Object first= structuredSelection.getFirstElement(); if (first instanceof IFile) { JavadocWizard wizard= new JavadocWizard((IFile) first); JavadocWizard.openJavadocWizard(wizard, fCurrentShell, structuredSelection); } } }
@Override public void run(IAction action) { JavadocWizard wizard= new JavadocWizard(); IStructuredSelection selection= null; if (fSelection instanceof IStructuredSelection) { selection= (IStructuredSelection)fSelection; } else { selection= new StructuredSelection(); } JavadocWizard.openJavadocWizard(wizard, fCurrentShell, selection); }
public void run(IAction action) { if (fCurrentSelection instanceof IStructuredSelection) { IStructuredSelection structuredSelection= (IStructuredSelection) fCurrentSelection; Object first= structuredSelection.getFirstElement(); if (first instanceof IFile) { JavadocWizard wizard= new JavadocWizard((IFile) first); JavadocWizard.openJavadocWizard(wizard, fCurrentShell, structuredSelection); } } }
public void run(IAction action) { JavadocWizard wizard= new JavadocWizard(); IStructuredSelection selection= null; if (fSelection instanceof IStructuredSelection) { selection= (IStructuredSelection)fSelection; } else { selection= new StructuredSelection(); } JavadocWizard.openJavadocWizard(wizard, fCurrentShell, selection); }
@Override public void run(IAction action) { if (fCurrentSelection instanceof IStructuredSelection) { IStructuredSelection structuredSelection= (IStructuredSelection) fCurrentSelection; Object first= structuredSelection.getFirstElement(); if (first instanceof IFile) { JavadocWizard wizard= new JavadocWizard((IFile) first); JavadocWizard.openJavadocWizard(wizard, fCurrentShell, structuredSelection); } } }