| org.eclipse.ui.internal.WorkbenchLayout
WorkbenchLayout | public class WorkbenchLayout extends Layout (Code) | | This layout implements the handling necessary to support the positioning of
all of the 'trim' elements defined for the workbench.
NOTE: This class is a part of a 'work in progress' and should not be used
without consulting the Platform UI group. No guarantees are made as to the
stability of the API.
since: 3.2 |
Method Summary | |
protected Point | computeSize(Composite composite, int wHint, int hHint, boolean flushCache) | public void | createCBanner(Composite workbenchComposite) Create the CBanner control used to control the horizontal span of the
primary and secondary command areas. | public static int | getOrientation(String areaId) | protected void | layout(Composite composite, boolean flushCache) |
TRIMID_CMD_PRIMARY | final public static String TRIMID_CMD_PRIMARY(Code) | | |
TRIMID_CMD_SECONDARY | final public static String TRIMID_CMD_SECONDARY(Code) | | |
TRIMID_VERTICAL1 | final public static String TRIMID_VERTICAL1(Code) | | |
TRIMID_VERTICAL2 | final public static String TRIMID_VERTICAL2(Code) | | |
banner | public CBanner banner(Code) | | |
centerComposite | public Composite centerComposite(Code) | | |
WorkbenchLayout | public WorkbenchLayout()(Code) | | Construct a new layout. This defines the trim areas that trim can be
placed into.
|
computeSize | protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache)(Code) | | |
createCBanner | public void createCBanner(Composite workbenchComposite)(Code) | | Create the CBanner control used to control the horizontal span of the
primary and secondary command areas.
Parameters: workbenchComposite - The workbench acting as the parent of the CBanner |
getOrientation | public static int getOrientation(String areaId)(Code) | | Return the SWT side that the trim area is on
Parameters: areaId - The id of the area to get the orientation of The SWT side corresponding that the given area |
layout | protected void layout(Composite composite, boolean flushCache)(Code) | | |
|
|