1 11 package org.eclipse.ui; 12 13 import org.eclipse.jface.viewers.ISelection; 14 15 28 public interface ISelectionService { 29 35 public void addSelectionListener(ISelectionListener listener); 36 37 55 public void addSelectionListener(String partId, ISelectionListener listener); 56 57 67 public void addPostSelectionListener(ISelectionListener listener); 68 69 87 public void addPostSelectionListener(String partId, 88 ISelectionListener listener); 89 90 97 public ISelection getSelection(); 98 99 108 public ISelection getSelection(String partId); 109 110 116 public void removeSelectionListener(ISelectionListener listener); 117 118 126 public void removeSelectionListener(String partId, 127 ISelectionListener listener); 128 129 135 public void removePostSelectionListener(ISelectionListener listener); 136 137 145 public void removePostSelectionListener(String partId, 146 ISelectionListener listener); 147 } 148 | Popular Tags |