Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.ui.util.WizardUtils Class Reference

List of all members.

Static Public Member Functions

static Integer openWizard (final Shell parentShell, final Wizard wizard)
static< WextendsWizard > W openWizardSuccessfully (final Shell parentShell, final W wizard)
static< WextendsWizard > W openWizardSuccessfully (final W wizard)
static void openNewProjectWizard ()
static ConfigurationWizard openSarosConfigurationWizard ()
static AddXMPPAccountWizard openAddXMPPAccountWizard ()
static CreateXMPPAccountWizard openCreateXMPPAccountWizard (boolean showUseNowButton)
static EditXMPPAccountWizard openEditXMPPAccountWizard (XMPPAccount account)
static AddContactWizard openAddContactWizard ()
static StartSessionWizard openStartSessionWizard (final Collection< IResource > preselectedResources)
static AddResourcesToSessionWizard openAddResourcesToSessionWizard (final Collection< IResource > preselectedResources)
static AddContactsToSessionWizard openAddContactsToSessionWizard ()

Detailed Description

Utility class for IWizards


Member Function Documentation

static AddContactsToSessionWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openAddContactsToSessionWizard ( ) [static]

Opens a AddContactsToSessionWizard in the SWT thread and returns the displayed instance in case of success.

static AddContactWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openAddContactWizard ( ) [static]

Opens a AddContactWizard in the SWT thread and returns the displayed instance in case of success.

static AddResourcesToSessionWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openAddResourcesToSessionWizard ( final Collection< IResource >  preselectedResources) [static]

Opens a AddResourcesToSessionWizard in the SWT thread and returns the displayed instance in case of success.

Parameters:
preselectedResourcesresources that should be preselected or null
static AddXMPPAccountWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openAddXMPPAccountWizard ( ) [static]

Opens a AddXMPPAccountWizard in the SWT thread and returns the displayed instance in case of success.

Returns:
the wizard if it was successfully finished; null otherwise
static CreateXMPPAccountWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openCreateXMPPAccountWizard ( boolean  showUseNowButton) [static]

Opens a CreateXMPPAccountWizard in the SWT thread and returns the displayed instance in case of success.

Parameters:
showUseNowButton
Returns:
the wizard if it was successfully finished; null otherwise
static EditXMPPAccountWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openEditXMPPAccountWizard ( XMPPAccount  account) [static]

Opens a EditXMPPAccountWizard in the SWT thread and returns the displayed instance in case of success.

Parameters:
accountto be edited; null if the current account should be edited (creates one if no active account is set)
Returns:
the wizard if it was successfully finished; null otherwise
static void de.fu_berlin.inf.dpp.ui.util.WizardUtils.openNewProjectWizard ( ) [static]

Runs the NewProjectAction in the SWT thread in order to create a new project wizard.

static ConfigurationWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openSarosConfigurationWizard ( ) [static]

Opens a ConfigurationWizard in the SWT thread and returns the displayed instance in case of success.

Returns:
the wizard if it was successfully finished; null otherwise
static StartSessionWizard de.fu_berlin.inf.dpp.ui.util.WizardUtils.openStartSessionWizard ( final Collection< IResource >  preselectedResources) [static]

Opens a StartSessionWizard in the SWT thread and returns the displayed instance in case of success.

Parameters:
preselectedResourcesresources that should be preselected or null
static Integer de.fu_berlin.inf.dpp.ui.util.WizardUtils.openWizard ( final Shell  parentShell,
final Wizard  wizard 
) [static]

Open a wizard in the SWT thread and returns the WizardDialog's return code.

Parameters:
parentShell
wizard
Returns:
static <WextendsWizard> W de.fu_berlin.inf.dpp.ui.util.WizardUtils.openWizardSuccessfully ( final Shell  parentShell,
final W  wizard 
) [static]

Open a wizard in the SWT thread and returns the WizardDialog's reference to the Wizard in case of success.

Parameters:
wizard
Returns:
the wizard if it was successfully finished; null otherwise
static <WextendsWizard> W de.fu_berlin.inf.dpp.ui.util.WizardUtils.openWizardSuccessfully ( final W  wizard) [static]

Open a wizard in the SWT thread and returns the WizardDialog's reference to the Wizard in case of success.

Parameters:
wizard
Returns:
the wizard if it was successfully finished; null otherwise
 All Classes Namespaces Files Functions Variables Enumerations