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_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 |
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, 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_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.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 ArchetypeCatalogFactory getArchetypeCatalogFactory()
private void saveValue(java.lang.String key, java.lang.String value)
void update()
private boolean isValid()