public void run(IAction action) {
        if (selectedFile == null
           || props == null
           || targetPart == null) {
            return;
        }
        VersionChooserDialog dialog =
            new VersionChooserDialog(targetPart.getSite().getShell(),
                                    selectedFile.getName(),
                                    getVersionEntries());
        if (dialog.open() == VersionChooserDialog.OK) {
            compareWithSelectedVersion(dialog.getSelectedEntry());
        }
    }
public void run(IAction action) {
        if (selectedFile == null
           || props == null
           || targetPart == null) {
            return;
        }
        VersionChooserDialog dialog =
            new VersionChooserDialog(targetPart.getSite().getShell(),
                                    selectedFile.getName(),
                                    getVersionEntries());
        if (dialog.open() == VersionChooserDialog.OK) {
            compareWithSelectedVersion(dialog.getSelectedEntry());
        }
    }
public void run ( IAction action ) { if ( selectedFile == null || props == null || targetPart == null ) { return ; } VersionChooserDialog dialog = new VersionChooserDialog ( targetPart . getSite ( ) . getShell ( ) , selectedFile . getName ( ) , getVersionEntries ( ) ) ; if ( dialog . open ( ) == VersionChooserDialog . OK ) { compareWithSelectedVersion ( dialog . getSelectedEntry ( ) ) ; } }
/*
(non-Javadoc)
@see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
/ * ( non - Javadoc )