public class MavenModuleWizardParentPage extends AbstractMavenWizardPage
| Modifier and Type | Field and Description |
|---|---|
protected Object |
parentObject
the parent object entity
|
protected org.eclipse.swt.widgets.Text |
parentProjectText
the parent project input field
|
dialogSettings, MAX_HISTORY, resolverConfigurationComponent| Constructor and Description |
|---|
MavenModuleWizardParentPage(ProjectImportConfiguration projectImportConfiguration,
List<org.eclipse.ui.IWorkingSet> workingSets)
Creates a new page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArchetypeSelectionListener(org.eclipse.swt.events.SelectionListener selectionListener)
Offers a listener hookup to the pages watching the archetype switch.
|
void |
addModuleNameListener(org.eclipse.swt.events.ModifyListener modifyListener)
Offers a listener hookup to the pages watching the module name field.
|
void |
addParentProjectListener(org.eclipse.swt.events.ModifyListener modifyListener)
Offers a listener hookup to the pages watching the parent name field.
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the page controls.
|
void |
dispose()
Cleans up.
|
String |
getModuleName()
Returns the module name.
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage()
Skips the archetype selection page if the user chooses a simple project.
|
org.eclipse.core.resources.IContainer |
getParentContainer()
Returns the parent container.
|
org.apache.maven.model.Model |
getParentModel()
Returns the parent model.
|
org.eclipse.core.resources.IFile |
getPom()
Returns the parent POM file handle.
|
boolean |
isSimpleProject()
Returns "true" if the user chose not to use archetypes.
|
protected void |
loadParent()
Loads the data from the parent object.
|
void |
removeArchetypeSelectionListener(org.eclipse.swt.events.SelectionListener selectionListener)
Removes the listener watching the project name field.
|
void |
removesModuleNameListener(org.eclipse.swt.events.ModifyListener modifyListener)
Unhooks the listener watching the module name field.
|
void |
removesParentProjectListener(org.eclipse.swt.events.ModifyListener modifyListener)
Unhooks the listener watching the parent name field.
|
void |
setParent(Object parent)
Assigns a parent object.
|
addFieldWithHistory, createAdvancedSettings, getImportConfiguration, setVisible, validateArtifactIdInput, validateGroupIdInputcanFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessageprotected org.eclipse.swt.widgets.Text parentProjectText
protected Object parentObject
public MavenModuleWizardParentPage(ProjectImportConfiguration projectImportConfiguration, List<org.eclipse.ui.IWorkingSet> workingSets)
public void createControl(org.eclipse.swt.widgets.Composite parent)
public void setParent(Object parent)
protected void loadParent()
public boolean isSimpleProject()
public org.eclipse.jface.wizard.IWizardPage getNextPage()
getNextPage in interface org.eclipse.jface.wizard.IWizardPagegetNextPage in class org.eclipse.jface.wizard.WizardPagepublic String getModuleName()
public org.apache.maven.model.Model getParentModel()
public org.eclipse.core.resources.IFile getPom()
public org.eclipse.core.resources.IContainer getParentContainer()
public void addModuleNameListener(org.eclipse.swt.events.ModifyListener modifyListener)
public void removesModuleNameListener(org.eclipse.swt.events.ModifyListener modifyListener)
public void addParentProjectListener(org.eclipse.swt.events.ModifyListener modifyListener)
public void removesParentProjectListener(org.eclipse.swt.events.ModifyListener modifyListener)
public void addArchetypeSelectionListener(org.eclipse.swt.events.SelectionListener selectionListener)
public void removeArchetypeSelectionListener(org.eclipse.swt.events.SelectionListener selectionListener)
public void dispose()
dispose in interface org.eclipse.jface.dialogs.IDialogPagedispose in class AbstractMavenWizardPageCopyright © 2005–2021 Eclipse Foundation. All rights reserved.