1 14 package org.eclipse.jdt.internal.ui.callhierarchy; 15 16 import org.eclipse.jdt.core.search.IJavaSearchScope; 17 18 import org.eclipse.jface.action.Action; 19 20 21 abstract class SearchScopeAction extends Action { 22 private final SearchScopeActionGroup fGroup; 23 24 public SearchScopeAction(SearchScopeActionGroup group, String text) { 25 super(text, AS_RADIO_BUTTON); 26 this.fGroup = group; 27 } 28 29 public abstract IJavaSearchScope getSearchScope(); 30 31 public abstract int getSearchScopeType(); 32 33 public void run() { 34 this.fGroup.setSelected(this, true); 35 } 36 37 public abstract String getFullDescription(); 38 } 39 | Popular Tags |