/*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
public void run(IAction action) {
ConfirmDialog dialog = new ConfirmDialog(fWindow.getShell(), Messages.UnsubscribeGoogleReaderAction_0, Messages.UnsubscribeGoogleReaderAction_1, Messages.UnsubscribeGoogleReaderAction_2, Messages.UnsubscribeGoogleReaderAction_3, null) {
@Override
protected String getTitleLabel() {
return Messages.UnsubscribeGoogleReaderAction_4;
}
@Override
protected String getTitleImage() {
return "/icons/wizban/reader_wiz.png"; //$NON-NLS-1$
}
};
if (dialog.open() == IDialogConstants.OK_ID) {
try {
// Stop all pending reloads first to ensure smooth action run
Controller.getDefault().stopUpdate();