1 package org.argeo.cms.ui.eclipse.forms; 2 3 import org.eclipse.jface.viewers.ISelection; 4 5 /** 6 * Form parts can implement this interface if they want to be 7 * notified when another part on the same form changes selection 8 * state. 9 * 10 * @see IFormPart 11 * @since 1.0 12 */ 13 public interface IPartSelectionListener { 14 /** 15 * Called when the provided part has changed selection state. 16 * 17 * @param part 18 * the selection source 19 * @param selection 20 * the new selection 21 */ 22 public void selectionChanged(IFormPart part, ISelection selection); 23 }