public class CustomArchetypeDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
archetypeArtifactId |
private org.eclipse.swt.widgets.Combo |
archetypeArtifactIdCombo |
private java.lang.String |
archetypeGroupId |
private org.eclipse.swt.widgets.Combo |
archetypeGroupIdCombo |
private java.lang.String |
archetypeVersion |
private org.eclipse.swt.widgets.Combo |
archetypeVersionCombo |
private static java.lang.String |
DIALOG_SETTINGS |
private org.eclipse.jface.dialogs.IDialogSettings |
dialogSettings |
private static java.lang.String |
KEY_ARCHETYPE_ARTIFACT_ID |
private static java.lang.String |
KEY_ARCHETYPE_GROUP_ID |
private static java.lang.String |
KEY_ARCHETYPE_VERSION |
private static java.lang.String |
KEY_REPOSITORY_URL |
private static int |
MAX_HISTORY |
private java.lang.String |
message |
private org.eclipse.swt.widgets.Combo |
repositoryCombo |
private java.lang.String |
repositoryUrl |
private java.lang.String |
title |
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Modifier | Constructor and Description |
---|---|
protected |
CustomArchetypeDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
void |
create() |
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
java.lang.String |
getArchetypeArtifactId() |
java.lang.String |
getArchetypeGroupId() |
java.lang.String |
getArchetypeVersion() |
java.lang.String |
getRepositoryUrl() |
private java.lang.String[] |
getSavedValues(java.lang.String key) |
private boolean |
isValid() |
protected void |
okPressed() |
private void |
saveValue(java.lang.String key,
java.lang.String value) |
(package private) void |
update() |
getErrorMessage, getInitialSize, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
private static final java.lang.String DIALOG_SETTINGS
private static final java.lang.String KEY_ARCHETYPE_GROUP_ID
private static final java.lang.String KEY_ARCHETYPE_ARTIFACT_ID
private static final java.lang.String KEY_ARCHETYPE_VERSION
private static final java.lang.String KEY_REPOSITORY_URL
private static final int MAX_HISTORY
private java.lang.String title
private java.lang.String message
private org.eclipse.swt.widgets.Combo archetypeGroupIdCombo
private org.eclipse.swt.widgets.Combo archetypeArtifactIdCombo
private org.eclipse.swt.widgets.Combo archetypeVersionCombo
private org.eclipse.swt.widgets.Combo repositoryCombo
private org.eclipse.jface.dialogs.IDialogSettings dialogSettings
private java.lang.String archetypeArtifactId
private java.lang.String archetypeGroupId
private java.lang.String archetypeVersion
private java.lang.String repositoryUrl
protected CustomArchetypeDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String title)
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.dialogs.TitleAreaDialog
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.TitleAreaDialog
private java.lang.String[] getSavedValues(java.lang.String key)
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell
in class org.eclipse.jface.window.Window
public void create()
create
in class org.eclipse.jface.dialogs.Dialog
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
public java.lang.String getArchetypeGroupId()
public java.lang.String getArchetypeArtifactId()
public java.lang.String getArchetypeVersion()
public java.lang.String getRepositoryUrl()
private void saveValue(java.lang.String key, java.lang.String value)
void update()
private boolean isValid()