1 11 package org.eclipse.ui.internal.layout; 12 13 import java.util.List ; 14 15 import org.eclipse.swt.SWT; 16 17 28 public interface ITrimManager { 29 30 33 public static final int TOP = SWT.TOP; 34 35 38 public static final int BOTTOM = SWT.BOTTOM; 39 40 43 public static final int LEFT = SWT.LEFT; 44 45 48 public static final int RIGHT = SWT.RIGHT; 49 50 53 public static final int NONTRIM = SWT.DEFAULT; 54 55 66 public void addTrim(int areaId, IWindowTrim trim); 67 68 89 public void addTrim(int areaId, IWindowTrim trim, IWindowTrim beforeMe); 90 91 98 public void removeTrim(IWindowTrim toRemove); 99 100 107 public IWindowTrim getTrim(String id); 108 109 117 public int[] getAreaIds(); 118 119 130 public List getAreaTrim(int areaId); 131 132 149 public void updateAreaTrim(int id, List trim, boolean removeExtra); 150 151 158 public List getAllTrim(); 159 160 171 public void setTrimVisible(IWindowTrim trim, boolean visible); 172 173 178 public void forceLayout(); 179 } 180 | Popular Tags |