public abstract class BaseDialog
extends org.eclipse.swt.widgets.Dialog
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.eclipse.swt.widgets.Listener> |
buttons |
static int |
ELEMENT_SPACING |
static int |
LABEL_SPACING |
static int |
MARGIN_SIZE |
static int |
MEDIUM_FIELD |
static int |
MEDIUM_SMALL_FIELD |
protected PropsUI |
props |
protected org.eclipse.swt.widgets.Shell |
shell |
static int |
SHELL_WIDTH_OFFSET |
static int |
SMALL_FIELD |
protected String |
title |
static int |
VAR_ICON_HEIGHT |
static int |
VAR_ICON_WIDTH |
protected int |
width |
Constructor and Description |
---|
BaseDialog(org.eclipse.swt.widgets.Shell shell) |
BaseDialog(org.eclipse.swt.widgets.Shell shell,
String title,
int width) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.eclipse.swt.widgets.Control |
buildBody()
Returns the last element in the body - the one to which the buttons should be attached.
|
protected void |
buildFooter(org.eclipse.swt.widgets.Control anchorElement) |
void |
dispose() |
int |
open() |
void |
setButtons(Map<String,org.eclipse.swt.widgets.Listener> buttons) |
void |
setFooterTopPadding(int footerTopPadding) |
public static final int MARGIN_SIZE
public static final int LABEL_SPACING
public static final int ELEMENT_SPACING
public static final int MEDIUM_FIELD
public static final int MEDIUM_SMALL_FIELD
public static final int SMALL_FIELD
public static final int SHELL_WIDTH_OFFSET
public static final int VAR_ICON_WIDTH
public static final int VAR_ICON_HEIGHT
protected org.eclipse.swt.widgets.Shell shell
protected PropsUI props
protected int width
protected String title
public BaseDialog(org.eclipse.swt.widgets.Shell shell)
public BaseDialog(org.eclipse.swt.widgets.Shell shell, String title, int width)
protected abstract org.eclipse.swt.widgets.Control buildBody()
public int open()
protected void buildFooter(org.eclipse.swt.widgets.Control anchorElement)
public void setFooterTopPadding(int footerTopPadding)
public void dispose()
Copyright © 2019 Hitachi Vantara. All rights reserved.