Search in sources :

Example 1 with TwitterPINWizard

use of de.janrufmonitor.ui.jface.wizards.TwitterPINWizard in project janrufmonitor by tbrandt77.

the class TwitterPINCommand method asyncExecute.

public void asyncExecute() {
    try {
        WizardDialog.setDefaultImage(SWTImageManager.getInstance(getRuntime()).get(IJAMConst.IMAGE_KEY_PIM_ICON));
        TwitterPINWizard tpw = new TwitterPINWizard();
        WizardDialog dlg = new WizardDialog(new Shell(DisplayManager.getDefaultDisplay()), tpw);
        dlg.open();
    } catch (Throwable t) {
        this.m_logger.log(Level.SEVERE, t.getMessage(), t);
        PropagationFactory.getInstance().fire(new Message(Message.ERROR, this.getNamespace(), t.toString().toLowerCase(), t));
    } finally {
        this.isExecuting = false;
    }
}
Also used : Shell(org.eclipse.swt.widgets.Shell) Message(de.janrufmonitor.exception.Message) TwitterPINWizard(de.janrufmonitor.ui.jface.wizards.TwitterPINWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

Message (de.janrufmonitor.exception.Message)1 TwitterPINWizard (de.janrufmonitor.ui.jface.wizards.TwitterPINWizard)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1