Interface EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E,W,R>
- All Known Implementing Classes:
EMFMultiToolListDialogEditingSupport.Builder
- Enclosing class:
EMFMultiToolListDialogEditingSupport
public static interface EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E,W,R>
-
Method Summary
Modifier and TypeMethodDescriptionadapter(org.eclipse.emf.ecore.util.ECrossReferenceAdapter adapter) Set adapter for for correct remove elementsadditionalRemoveCommand(BiFunction<T, W, org.eclipse.emf.common.command.Command> additionalRemoveCommand) Set additionalRemoveCommand for additional commands for removebuild()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 editedcopyAction(Function<W, W> copyAction) Set copyAction for copy objectdialogSize(int width, int height) Set size dialogdialogSubTitle(String subTitle) Set sub title for the dialogdialogTitle(String title) Set title for the dialogicon(org.eclipse.swt.graphics.Image image) Set image for button, if the image is set, the text is not shownupdateFeatures(org.eclipse.emf.ecore.EStructuralFeature... updateFeatures) Set updateFeatures for update table in dialog
-
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
EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E, iconW, R> (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
-
updateFeatures
EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E, updateFeaturesW, R> (org.eclipse.emf.ecore.EStructuralFeature... updateFeatures) Set updateFeatures for update table in dialog- Parameters:
updateFeatures- features for update table- Returns:
- builder object
-
copyAction
Set copyAction for copy object- Parameters:
copyAction- action for copy object- Returns:
- builder object
-
additionalRemoveCommand
EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E, additionalRemoveCommandW, R> (BiFunction<T, W, org.eclipse.emf.common.command.Command> additionalRemoveCommand) Set additionalRemoveCommand for additional commands for remove- Parameters:
additionalRemoveCommand- for additional commands for remove- Returns:
- builder object
-
adapter
EMFMultiToolListDialogEditingSupport.FinalBuilder<T,E, adapterW, R> (org.eclipse.emf.ecore.util.ECrossReferenceAdapter adapter) Set adapter for for correct remove elements- Parameters:
adapter- for correct remove elements- Returns:
- builder object
-
dialogSize
Set size dialog- Parameters:
width- width dialogheight- height dialog- Returns:
- builder object
-