1 11 12 package org.eclipse.ui.navigator; 13 14 import org.eclipse.jface.action.MenuManager; 15 import org.eclipse.jface.viewers.ISelectionProvider; 16 import org.eclipse.ui.IActionBars; 17 import org.eclipse.ui.IWorkbenchPage; 18 import org.eclipse.ui.IWorkbenchPart; 19 import org.eclipse.ui.IWorkbenchPartSite; 20 import org.eclipse.ui.IWorkbenchWindow; 21 22 34 public interface ICommonViewerWorkbenchSite extends ICommonViewerSite { 35 36 41 public IWorkbenchPage getPage(); 42 43 71 void registerContextMenu(String menuId, MenuManager menuManager, 72 ISelectionProvider selectionProvider); 73 74 80 IActionBars getActionBars(); 81 82 87 IWorkbenchWindow getWorkbenchWindow(); 88 89 92 IWorkbenchPart getPart(); 93 94 97 IWorkbenchPartSite getSite(); 98 } 99 | Popular Tags |