public interface DragDropHandler
| Modifier and Type | Method and Description |
|---|---|
ConnectMode |
getConnectMode() |
java.lang.String[] |
getSelects(boolean dragged) |
java.util.Collection<Connection> |
perform(DragDropContext context)
Implement this method to include custom connection logic
|
java.lang.String |
validate(SelectedData data,
boolean dragged)
Validates if a connection could be made between the source and target
objects.
|
ConnectMode getConnectMode()
java.util.Collection<Connection> perform(DragDropContext context) throws TVCException
context - The DragDropContext.TVCExceptionjava.lang.String[] getSelects(boolean dragged)
dragged - True if it is for the dragged object, false for the
dropped object.java.lang.String validate(SelectedData data, boolean dragged)
The information required to determine if this should possible, is
available within the SelectedData instances provided.
NOTE: The information selected is controlled through the
getSelects method.
data - The selected data informationdragged - True if it is for the dragged object, false otherwise.Copyright ? Technia AB. All Rights Reserved.