1 11 12 package org.eclipse.ui.menus; 13 14 import org.eclipse.jface.menus.AbstractTrimWidget; 15 import org.eclipse.swt.graphics.Point; 16 import org.eclipse.ui.IWorkbenchWindow; 17 18 27 public abstract class AbstractWorkbenchTrimWidget extends AbstractTrimWidget implements IWorkbenchWidget { 28 29 private IWorkbenchWindow wbWindow; 30 31 34 public AbstractWorkbenchTrimWidget() { 35 super(); 36 } 37 38 39 47 public void init(IWorkbenchWindow workbenchWindow) { 48 wbWindow = workbenchWindow; 49 } 50 51 57 public IWorkbenchWindow getWorkbenchWindow() { 58 return wbWindow; 59 } 60 61 65 public Point getPreferredSize() { 66 return null; 67 } 68 } 69 | Popular Tags |