public class EditingDomainCellDropAdapter extends java.lang.Object implements AdapterFactoryCellFactory.ICellCreationListener
AdapterFactoryCellFactory
using a
LocalTransfer
.Modifier and Type | Class and Description |
---|---|
static class |
EditingDomainCellDropAdapter.DefaultFeedbackHandler
This default implementation of
EditingDomainCellDropAdapter.IDnDFeedbackHandler adds a red line where the dragged
Cell can be dropped. |
static interface |
EditingDomainCellDropAdapter.IDnDFeedbackHandler
Handles the feedback to Drag & Drop events by styling or otherwise modifying the affected
Cell |
Constructor and Description |
---|
EditingDomainCellDropAdapter(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Create a new drop adapter
|
Modifier and Type | Method and Description |
---|---|
void |
cellCreated(javafx.scene.control.Cell<?> cell) |
@NonNull EditingDomainCellDropAdapter.IDnDFeedbackHandler |
getFeedbackHandler() |
void |
setFeedbackHandler(EditingDomainCellDropAdapter.IDnDFeedbackHandler feedbackHandler)
Setting a new feedback handler
|
public EditingDomainCellDropAdapter(org.eclipse.emf.edit.domain.EditingDomain editingDomain)
editingDomain
- the editing domainpublic @NonNull EditingDomainCellDropAdapter.IDnDFeedbackHandler getFeedbackHandler()
public void setFeedbackHandler(EditingDomainCellDropAdapter.IDnDFeedbackHandler feedbackHandler)
feedbackHandler
- the handlerpublic void cellCreated(javafx.scene.control.Cell<?> cell)
cellCreated
in interface AdapterFactoryCellFactory.ICellCreationListener
cell
- the newly created Cell