public abstract class WorkbenchWindowControlContribution
extends org.eclipse.ui.internal.menus.InternalControlContribution
The extends the ControlContribution by adding accessor
methods that provide extra state information about the placement
of the control:
ControlContribution| Constructor and Description |
|---|
WorkbenchWindowControlContribution()
Default contstructor that allows the use of this class as
the basis for XML contributions and will be used by the
workbench implementation.
|
WorkbenchWindowControlContribution(String id)
Constructor for use by clients programmatically creating
control contributions in the workbench.
|
| Modifier and Type | Method and Description |
|---|---|
Control |
delegateCreateControl(Composite parent)
Important: This method is *NOT* to be used/extended by clients.
|
int |
getCurSide() |
int |
getOrientation() |
IWorkbenchWindow |
getWorkbenchWindow() |
setCurSide, setWorkbenchWindowcomputeWidth, createControl, fill, fill, filldispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, updatepublic WorkbenchWindowControlContribution()
public WorkbenchWindowControlContribution(String id)
id - The id of this contributionpublic final IWorkbenchWindow getWorkbenchWindow()
getWorkbenchWindow in class org.eclipse.ui.internal.menus.InternalControlContributionpublic final int getCurSide()
getCurSide in class org.eclipse.ui.internal.menus.InternalControlContributionpublic final int getOrientation()
getOrientation in class org.eclipse.ui.internal.menus.InternalControlContributionpublic Control delegateCreateControl(Composite parent)
parent - the parent composite
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.