1 11 package org.eclipse.search.ui; 12 13 import org.eclipse.jface.operation.IRunnableContext; 14 import org.eclipse.jface.viewers.ISelection; 15 16 import org.eclipse.ui.IWorkingSet; 17 18 27 public interface ISearchPageContainer { 28 29 34 public static final int WORKSPACE_SCOPE= 0; 35 36 41 public static final int SELECTION_SCOPE= 1; 42 43 48 public static final int WORKING_SET_SCOPE= 2; 49 50 55 public static final int SELECTED_PROJECTS_SCOPE= 3; 56 57 62 public ISelection getSelection(); 63 64 70 public IRunnableContext getRunnableContext(); 71 72 78 public void setPerformActionEnabled(boolean state); 79 80 87 public int getSelectedScope(); 88 89 96 public void setSelectedScope(int scope); 97 98 104 public boolean hasValidScope(); 105 106 112 public IWorkingSet[] getSelectedWorkingSets(); 113 114 120 public void setSelectedWorkingSets(IWorkingSet[] workingSets); 121 122 129 public String [] getSelectedProjectNames(); 130 131 } 132 | Popular Tags |