Interface EditorSelectionModelListener
public interface EditorSelectionModelListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidrequestSwitchToRecord(EditorSelectionModel model, int recordIndex) Called when a request to switch record occurs.voidselectionAdded(EditorSelectionModel model, SessionEditorSelection selection) Called when a new selection has been added to the model.voidselectionRemoved(EditorSelectionModel model, SessionEditorSelection selection) Called when a selection has been removed from the model.voidCalled when all selections have been cleared.voidselectionSet(EditorSelectionModel model, SessionEditorSelection selection) Called when a new selection has been set (clearing other selections)
-
Method Details
-
selectionAdded
Called when a new selection has been added to the model.- Parameters:
model-selection-
-
selectionRemoved
Called when a selection has been removed from the model.- Parameters:
model-selection-
-
selectionSet
Called when a new selection has been set (clearing other selections)- Parameters:
model-selection-
-
selectionsCleared
Called when all selections have been cleared.- Parameters:
model-
-
requestSwitchToRecord
Called when a request to switch record occurs.- Parameters:
model-recordIndex-
-