g-Eclipse
Release 1.0.0

eu.geclipse.ui.wizards.wizardselection
Class ExtPointWizardSelectionListPage

java.lang.Object
  extended by WizardSelectionPage
      extended by eu.geclipse.ui.wizards.wizardselection.WizardSelectionListPage
          extended by eu.geclipse.ui.wizards.wizardselection.ExtPointWizardSelectionListPage

public class ExtPointWizardSelectionListPage
extends WizardSelectionListPage

Wizard page for providing a list of other wizards which can be used for the next steps in the wizard. The wizard list is built querying an extension point.


Constructor Summary
ExtPointWizardSelectionListPage(java.lang.String pageName, java.lang.String extensionPointId, java.util.List<java.lang.String> filterList, boolean forceWizardIds, java.lang.String title, java.lang.String desc, java.lang.String emptyListErrMsg)
          Creates a wizard page which allows to select a wizard for the next steps.
ExtPointWizardSelectionListPage(java.lang.String pageName, java.lang.String extensionPointId, java.lang.String title, java.lang.String desc, java.lang.String emptyListErrMsg)
          Creates a wizard page which allows to select a wizard for the next steps.
ExtPointWizardSelectionListPage(java.lang.String pageName, java.lang.String extensionPointId, java.lang.String title, java.lang.String desc, java.lang.String emptyListErrMsg, boolean quickSelection)
          Creates a wizard page which allows to select a wizard for the next steps.
 
Method Summary
 void setPreselectedId(java.lang.String id, boolean hidePrevPage)
          Sets the Id of the wizard which should be preselected.
 
Methods inherited from class eu.geclipse.ui.wizards.wizardselection.WizardSelectionListPage
createControl, dispose, getDescription, getNextPage, getNodes, getTitle, pageChanged, removeSelectionNode, resetNodesVisibility, setCheatSheetManager, setInitData, setPreselectedNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtPointWizardSelectionListPage

public ExtPointWizardSelectionListPage(java.lang.String pageName,
                                       java.lang.String extensionPointId,
                                       java.lang.String title,
                                       java.lang.String desc,
                                       java.lang.String emptyListErrMsg)
Creates a wizard page which allows to select a wizard for the next steps. The wizard list is queried from an extension point.

Parameters:
pageName - Name of the wizard page.
extensionPointId - Id of the extension point to query the wizard list from.
title - Title of the page.
desc - Description text of the page.
emptyListErrMsg - error message that should be displayed if the list is empty

ExtPointWizardSelectionListPage

public ExtPointWizardSelectionListPage(java.lang.String pageName,
                                       java.lang.String extensionPointId,
                                       java.lang.String title,
                                       java.lang.String desc,
                                       java.lang.String emptyListErrMsg,
                                       boolean quickSelection)
Creates a wizard page which allows to select a wizard for the next steps. The wizard list is queried from an extension point.

Parameters:
pageName - Name of the wizard page.
extensionPointId - Id of the extension point to query the wizard list from.
title - Title of the page.
desc - Description text of the page.
emptyListErrMsg - error message that should be displayed if the list is empty
quickSelection - flag to define wizard behavior in case there is only one wizard to select. If true wizard should skip this (wizard selection) page. If false wizard should stop on this page (the normal wizard behavior).

ExtPointWizardSelectionListPage

public ExtPointWizardSelectionListPage(java.lang.String pageName,
                                       java.lang.String extensionPointId,
                                       java.util.List<java.lang.String> filterList,
                                       boolean forceWizardIds,
                                       java.lang.String title,
                                       java.lang.String desc,
                                       java.lang.String emptyListErrMsg)
Creates a wizard page which allows to select a wizard for the next steps. The wizard list is queried from an extension point.

Parameters:
pageName - Name of the wizard page.
extensionPointId - Id of the extension point to query the wizard list from.
filterList - List of wizard Ids of wizards which are allowed to be displayed in the wizard list, if the Id of a wizard is not in the list and is not compatible to one in the list it won't be displayed in the list.
forceWizardIds - specifies that only the wizards with the Ids in the filterList are allowed (and no compatible ones).
title - Title of the page.
desc - Description text of the page.
emptyListErrMsg - error message that should be displayed if the filtered list is empty
Method Detail

setPreselectedId

public void setPreselectedId(java.lang.String id,
                             boolean hidePrevPage)
Sets the Id of the wizard which should be preselected. If set the WizardSelectionListPage will be skiped and the first page of the preselected wizard will be displayed.

Parameters:
id - Id representing the wizard to be preselected.
hidePrevPage - true if it should not be possible to go back to the WizardSelectionListPage to select another wizard, false otherwise.

g-Eclipse
Release 1.0.0