1 11 12 package org.eclipse.jface.menus; 13 14 import org.eclipse.swt.SWT; 15 import org.eclipse.swt.widgets.Composite; 16 import org.eclipse.swt.widgets.CoolBar; 17 import org.eclipse.swt.widgets.Menu; 18 import org.eclipse.swt.widgets.ToolBar; 19 20 30 public abstract class AbstractTrimWidget implements IWidget { 31 61 public abstract void fill(Composite parent, int oldSide, int newSide); 62 63 66 public abstract void dispose(); 67 68 71 public void fill(Composite parent) { 72 } 73 74 77 public void fill(Menu parent, int index) { 78 } 79 80 83 public void fill(ToolBar parent, int index) { 84 } 85 86 89 public void fill(CoolBar parent, int index) { 90 } 91 } 92 | Popular Tags |