Interface EMFObjectSelectionDialogEditingSupport.FinalBuilder<T,E,R>
- All Known Implementing Classes:
EMFObjectSelectionDialogEditingSupport.Builder
- Enclosing class:
EMFObjectSelectionDialogEditingSupport
public static interface EMFObjectSelectionDialogEditingSupport.FinalBuilder<T,E,R>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()This is the finalization method.buttonText(String text) Set text for button, if the image is set, the text is not shownSet function that returns a value that indicates whether the cell can be editeddialogSubTitle(String subTitle) Set sub title for the dialogdialogTitle(String title) Set title for the dialoghandler(BiConsumer<T, E> handler) Set function that will be executed after losing focus on the combo box editor or after pressing the Enter buttonicon(org.eclipse.swt.graphics.Image image) Set image for button, if the image is set, the text is not shown
-
Method Details
-
build
R build()This is the finalization method. Call this method to install the auto-complete combobox editing support on a table column. -
canEdit
Set function that returns a value that indicates whether the cell can be edited- Parameters:
canEdit-- Returns:
- builder object
-
icon
EMFObjectSelectionDialogEditingSupport.FinalBuilder<T,E, iconR> (org.eclipse.swt.graphics.Image image) Set image for button, if the image is set, the text is not shown- Parameters:
image-- Returns:
- builder object
-
buttonText
Set text for button, if the image is set, the text is not shown- Parameters:
text-- Returns:
- builder object
-
dialogTitle
Set title for the dialog- Parameters:
title- dialog title- Returns:
- builder object
-
dialogSubTitle
Set sub title for the dialog- Parameters:
subTitle- dialog sub title- Returns:
- builder object
-
handler
Set function that will be executed after losing focus on the combo box editor or after pressing the Enter button- Parameters:
handler- function to be executed- Returns:
- builder object
-