public class LocalArchetypeCatalogDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
| Modifier and Type | Field and Description |
|---|---|
private ArchetypeCatalogFactory |
archetypeCatalogFactory |
private org.eclipse.swt.widgets.Text |
catalogDescriptionText |
(package private) org.eclipse.swt.widgets.Combo |
catalogLocationCombo |
private static java.lang.String |
DIALOG_SETTINGS |
private org.eclipse.jface.dialogs.IDialogSettings |
dialogSettings |
private static java.lang.String |
KEY_LOCATIONS |
private static int |
MAX_HISTORY |
private java.lang.String |
message |
private java.lang.String |
title |
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEblockedHandler, 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 |
LocalArchetypeCatalogDialog(org.eclipse.swt.widgets.Shell shell,
ArchetypeCatalogFactory factory) |
| 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) |
ArchetypeCatalogFactory |
getArchetypeCatalogFactory() |
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, setTitleImagecloseTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, 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, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerprivate static final java.lang.String DIALOG_SETTINGS
private static final java.lang.String KEY_LOCATIONS
private static final int MAX_HISTORY
private java.lang.String title
private java.lang.String message
org.eclipse.swt.widgets.Combo catalogLocationCombo
private org.eclipse.swt.widgets.Text catalogDescriptionText
private org.eclipse.jface.dialogs.IDialogSettings dialogSettings
private ArchetypeCatalogFactory archetypeCatalogFactory
protected LocalArchetypeCatalogDialog(org.eclipse.swt.widgets.Shell shell,
ArchetypeCatalogFactory factory)
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.dialogs.TitleAreaDialogprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.TitleAreaDialogprivate java.lang.String[] getSavedValues(java.lang.String key)
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class org.eclipse.jface.window.Windowpublic void create()
create in class org.eclipse.jface.dialogs.Dialogprotected void okPressed()
okPressed in class org.eclipse.jface.dialogs.Dialogpublic ArchetypeCatalogFactory getArchetypeCatalogFactory()
private void saveValue(java.lang.String key,
java.lang.String value)
void update()
private boolean isValid()