@Deprecated
public interface ConnectHandler
DragDropHandler
instead.Modifier and Type | Method and Description |
---|---|
ConnectMode |
getConnectMode()
Deprecated.
|
java.lang.String[] |
getSelects(boolean forDragObject)
Deprecated.
|
java.util.Collection<Connection> |
perform(java.lang.String dropOid,
java.lang.String dragOid,
TableBean<?> table)
Deprecated.
Implement this method to include custom connection logic
|
java.lang.String |
validate(SelectedData data,
boolean forDragObject)
Deprecated.
Validates if a connection could be made between the source and target
objects.
|
ConnectMode getConnectMode()
java.util.Collection<Connection> perform(java.lang.String dropOid, java.lang.String dragOid, TableBean<?> table) throws TVCException
dropOid
- Object id for the targetdragOid
- Object id for the sourcetable
- The TableBean
.TVCException
java.lang.String[] getSelects(boolean forDragObject)
forDragObject
- True if it is for the dragged object, false for the
dropped object.java.lang.String validate(SelectedData data, boolean forDragObject)
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 informationforDragObject
- True if it is for the dragged object, false
otherwise.Copyright ? Technia AB. All Rights Reserved.