|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.PopupDialog
com.ibm.btt.rcp.xui.proposal.ProposalDialog
public class ProposalDialog
Proposal dialog which offers proposal items.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
org.eclipse.jface.window.Window.IExceptionHandler |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.dialogs.PopupDialog |
---|
HOVER_SHELLSTYLE, INFOPOPUP_SHELLSTYLE, INFOPOPUPRESIZE_SHELLSTYLE, POPUP_HORIZONTALSPACING, POPUP_IMG_MENU, POPUP_IMG_MENU_DISABLED, POPUP_MARGINHEIGHT, POPUP_MARGINWIDTH, POPUP_VERTICALSPACING |
Fields inherited from class org.eclipse.jface.window.Window |
---|
CANCEL, OK |
Constructor Summary | |
---|---|
ProposalDialog(org.eclipse.swt.widgets.Control control)
Constructor for Proposal Dialog |
Method Summary | |
---|---|
void |
acceptSelection()
Accept current selection |
protected void |
adjustBounds()
|
void |
adjustSelection(int index)
Adjust proposal selection |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
|
int |
getItemCount()
Get proposal item number |
org.eclipse.swt.widgets.Table |
getProposalControl()
Get proposal control (Table) |
IProposalProvider |
getProposalProvider()
Get proposal provider |
int |
getSelectionIndex()
Get index of selection proposal |
boolean |
hasFocus()
Check if proposal control has focus or not |
void |
setProposalProvider(IProposalProvider provider)
Set proposal provider |
Methods inherited from class org.eclipse.jface.dialogs.PopupDialog |
---|
applyBackgroundColor, applyForegroundColor, close, configureShell, createContents, createInfoTextArea, createTitleControl, createTitleMenuArea, fillDialogMenu, getBackground, getBackgroundColorExclusions, getDefaultLocation, getDefaultSize, getDialogSettings, getFocusControl, getForeground, getForegroundColorExclusions, getInitialLocation, getInitialSize, getPersistBounds, getPersistLocation, getPersistSize, hasInfoArea, hasTitleArea, open, saveDialogBounds, setInfoText, setTabOrder, setTitleText, showDialogMenu |
Methods inherited from class org.eclipse.jface.window.Window |
---|
canHandleShellCloseEvent, constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProposalDialog(org.eclipse.swt.widgets.Control control)
control
- the control to wrapped by proposal dialogMethod Detail |
---|
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.PopupDialog
public org.eclipse.swt.widgets.Table getProposalControl()
public void adjustSelection(int index)
index
- the selection indexpublic void acceptSelection()
protected void adjustBounds()
adjustBounds
in class org.eclipse.jface.dialogs.PopupDialog
public void setProposalProvider(IProposalProvider provider)
provider
- proposal providerpublic IProposalProvider getProposalProvider()
public int getItemCount()
public int getSelectionIndex()
public boolean hasFocus()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |