public class LightweightDialog
extends java.lang.Object
Constructor and Description |
---|
LightweightDialog(org.eclipse.swt.widgets.Shell parentShell) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeShell(int returnCode) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Shell |
getBackgroundShell() |
protected org.eclipse.swt.widgets.Shell |
getForegoundShell() |
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
java.lang.Integer |
getReturnCode() |
protected void |
handleException(java.lang.Throwable t) |
protected boolean |
onCancel() |
int |
open() |
void |
pack() |
void |
setBlockOnOpen(boolean shouldBlock) |
void |
setTitle(java.lang.String title) |
public static final int OK
public static final int CANCEL
public LightweightDialog(org.eclipse.swt.widgets.Shell parentShell)
public int open()
protected void closeShell(int returnCode)
protected org.eclipse.swt.graphics.Point getInitialSize()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Shell getBackgroundShell()
protected org.eclipse.swt.widgets.Shell getForegoundShell()
public void setBlockOnOpen(boolean shouldBlock)
public void pack()
protected void handleException(java.lang.Throwable t)
protected boolean onCancel()
public void setTitle(java.lang.String title)
public java.lang.Integer getReturnCode()
Copyright © 2007–2020. All rights reserved.