private void passiveSelectionChanged() { PNotificationCenter.defaultCenter().postNotification(SELECTION_CHANGED_NOTIFICATION, this); if (isActiveSelectionHandler()) selectionChanged(getSelection()); }
private void activeSelectionChanged() { setActiveSelectionHandler(this); PNotificationCenter.defaultCenter().postNotification(SELECTION_CHANGED_NOTIFICATION, this); selectionChanged(getSelection()); }