Class NewEASyProjectWizardPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- net.ssehub.easy.producer.ui.internal.NewEASyProjectWizardPage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
public class NewEASyProjectWizardPage extends org.eclipse.jface.wizard.WizardPageWizardPage for the creation of a new product line project.- Author:
- El-Sharkawy, Nowatzki
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdefaultPrefixprivate java.lang.StringlblTextprivate org.eclipse.swt.widgets.ComboprojectTypeSelectionprivate org.eclipse.swt.widgets.TexttxtProjectName
-
Constructor Summary
Constructors Constructor Description NewEASyProjectWizardPage()Sole constructor for creating a newNewEASyProjectWizardPage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(org.eclipse.swt.widgets.Composite parent)private voiddialogChanged()Ensures that the text field is set correctly.(package private) IEASyProjectConfiguratorgetProjectConfigurator()Returns the selectedIEASyProjectConfigurator.java.lang.StringgetProjectName()Returns the name of the specified project.private voidupdateStatus(java.lang.String message)Updates the status message in the top of the dialog.-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
-
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
-
-
-
-
Constructor Detail
-
NewEASyProjectWizardPage
NewEASyProjectWizardPage()
Sole constructor for creating a newNewEASyProjectWizardPage.
-
-
Method Detail
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
-
getProjectConfigurator
IEASyProjectConfigurator getProjectConfigurator()
Returns the selectedIEASyProjectConfigurator.- Returns:
- The selected
IEASyProjectConfigurator, maybe null only in case of errors.
-
dialogChanged
private void dialogChanged()
Ensures that the text field is set correctly.
-
updateStatus
private void updateStatus(java.lang.String message)
Updates the status message in the top of the dialog.- Parameters:
message- Message which should be displayed.
-
getProjectName
public java.lang.String getProjectName()
Returns the name of the specified project.- Returns:
- The name of the specified project
-
-