Package org.eclipse.jface.dialogs

Examples of org.eclipse.jface.dialogs.Dialog.open()


    else
      return null;

    Dialog dlg = SimpleConfigureFetchDialog.getDialog(getShell(event),
        selectedNode.getRepository(), configName);
    dlg.open();
    return null;
  }
}
View Full Code Here


    else
      return null;

    Dialog dlg = SimpleConfigurePushDialog.getDialog(getShell(event),
        selectedNode.getRepository(), configName);
    dlg.open();
    return null;
  }
}
View Full Code Here

                    Security security = (Security) prices.getData(Security.class.toString());
                    if (security == null)
                        return;

                    Dialog dialog = new WizardDialog(getActiveShell(), new ImportQuotesWizard(security));
                    if (dialog.open() != Dialog.OK)
                        return;

                    markDirty();
                    securities.refresh(security);
                    onSecurityChanged(security);
View Full Code Here

                public void run()
                {
                    SearchYahooWizard wizard = new SearchYahooWizard(getClient());
                    Dialog dialog = new WizardDialog(getToolBar().getShell(), wizard);

                    if (dialog.open() == Dialog.OK)
                    {
                        Security newSecurity = wizard.getSecurity();
                        openEditDialog(newSecurity);
                    }
                }
View Full Code Here

        private void openEditDialog(Security newSecurity)
        {
            Dialog dialog = new EditSecurityDialog(getToolBar().getShell(), getClient(), newSecurity);

            if (dialog.open() == Dialog.OK)
            {
                markDirty();
                getClient().addSecurity(newSecurity);

                if (watchlist != null)
View Full Code Here

            if (security == null)
                return;

            Dialog dialog = createDialog(security);
            if (dialog.open() == Dialog.OK)
                performFinish(security);
        }

        protected void performFinish(Security security)
        {
View Full Code Here

        }

        Client client = ((PortfolioPart) part.getObject()).getClient();

        Dialog dialog = new WizardDialog(shell, new ExportWizard(client));
        dialog.open();
    }

}
View Full Code Here

        if (fileName == null)
            return;

        Dialog wizwardDialog = new WizardDialog(shell, new ImportWizard(client, new File(fileName)));
        if (wizwardDialog.open() == Dialog.OK)
            portfolioPart.notifyModelUpdated();
    }
}
View Full Code Here

        @Override
        public final void run()
        {
            Dialog dialog = createDialog();
            if (dialog.open() == TransferDialog.OK)
            {
                owner.markDirty();
                owner.notifyModelUpdated();
            }
        }
View Full Code Here

                    Dialog dialog = new ExtendedMessageDialog(Display.getDefault().getActiveShell(),
                                    Messages.LabelUpdatesAvailable, //
                                    MessageFormat.format(Messages.MsgConfirmInstall, newVersion.getVersion()), //
                                    newVersion);

                    doUpdate[0] = dialog.open() == 0;
                }
            });

            if (doUpdate[0])
            {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.