Uses of Class
org.eclipse.swt.widgets.Control
-
Packages that use Control Package Description org.eclipse.compare Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.org.eclipse.compare.contentmergeviewer Support for compare and merge viewers which show the content side-by-side.org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points.org.eclipse.debug.ui.actions Provides a set of actions related to running and debugging applications.org.eclipse.debug.ui.memory Provides classes and interfaces to render memory blocks in the memory view.org.eclipse.debug.ui.sourcelookup Provides a user interface for debug platform source lookup facilities.org.eclipse.equinox.p2.ui Provides provisioning user interface classes that can be used for assembling a provisioning UI.org.eclipse.help.ui Provides a framework for editing and contributing to the help search scope.org.eclipse.jface.action Provides support for shared UI resources such as menus, tool bars, and status lines.org.eclipse.jface.contentassist Provides a content assist add-on for implementors ofIContentAssistSubjectControl
.org.eclipse.jface.databinding.swt Provides classes that can be used to observe changes in SWT widgets.org.eclipse.jface.databinding.viewers Provides classes that can be used to observe the JFace Viewer framework.org.eclipse.jface.dialogs Provides support for dialogs.org.eclipse.jface.fieldassist Provides classes that help communicate proper content for fields in dialogs and wizards.org.eclipse.jface.layout Provides support for layout generation.org.eclipse.jface.notifications org.eclipse.jface.preference Provides a framework for preferences.org.eclipse.jface.resource Provides support for managing resources such as SWT fonts and images.org.eclipse.jface.text Provides a framework for creating and manipulating text documents.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.util Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions.org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.org.eclipse.jface.window Provides a general framework for creating and managing windows.org.eclipse.jface.wizard Provides a framework for wizards.org.eclipse.ltk.ui.refactoring Application programming interface to implement a wizard based user interface for refactorings.org.eclipse.ltk.ui.refactoring.history Application programming interface to display and preview refactoring history information.org.eclipse.search.ui.text Provides the base classes to implement a search result view part for searches with textual matches.org.eclipse.swt.accessibility SWT Accessibility.org.eclipse.swt.browser SWT Browser widget.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.dnd SWT Drag and Drop support.org.eclipse.swt.layout SWT layout classes.org.eclipse.swt.ole.win32 SWT Win32 OLE implementation classes.org.eclipse.swt.opengl SWT OpenGL support.org.eclipse.swt.widgets SWT widget public API classes.org.eclipse.team.ui Provides basic support for managing Team providers.org.eclipse.team.ui.history Application programming interfaces for working with history.org.eclipse.team.ui.synchronize Contains the team synchronization presentation framework and support for the Synchronize View.org.eclipse.ui Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.actions Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.org.eclipse.ui.activities Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.application Application-level APIs for configuring and controling the Eclipse Platform User Interface.org.eclipse.ui.cheatsheets Provides support for working with cheat sheets.org.eclipse.ui.console Application programming interfaces for interaction with the Eclipse console.org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.org.eclipse.ui.dnd Classes and Interface specifications for Drag and Drop in the Eclipse Platform User Interface.org.eclipse.ui.fieldassist Classes that provide workbench-level UI support for content assistance and common workbench field decorations.org.eclipse.ui.forms Forms-based controls for use in views, editors, and wizards.org.eclipse.ui.forms.editor Support for forms-based multi-page editors.org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.org.eclipse.ui.help Classes for integration with the help support system in the Eclipse Platform User Interface.org.eclipse.ui.ide.dialogs APIs for dialogs in the IDE-specific portion of the Eclipse Platform User Interface.org.eclipse.ui.intro.config Provides support for customizing welcome content and presentation.org.eclipse.ui.menus Provides the public API and default implementation for contributing menu and toolbars to the menu service.org.eclipse.ui.navigator Provides the Common Navigator framework.org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.org.eclipse.ui.preferences Classes for using the preferences support in org.eclipse.core.runtime.preferencesorg.eclipse.ui.statushandlers Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.swt Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.org.eclipse.ui.texteditor.spelling Partial infrastructure for spell checking in text editors.org.eclipse.ui.texteditor.templates Application programming interfaces for interaction with the Eclipse text editor template support.org.eclipse.ui.views.contentoutline Provides the standard Content Outline view which can show the active editor's custom outline for the document being edited.org.eclipse.ui.views.markers Utility classes for working with markers in views
org.eclipse.ui.views.properties Provides the standard Property Sheet view which displays custom properties of the active workbench part's current selection.org.eclipse.ui.views.properties.tabbed Provides the Tabbed Properties framework. -
-
Uses of Control in org.eclipse.compare
Subclasses of Control in org.eclipse.compare Modifier and Type Class Description class
CompareViewerPane
ACompareViewerPane
is a convenience class which installs aCLabel
and aToolbar
in aViewForm
.class
CompareViewerSwitchingPane
A customCompareViewerPane
that supports dynamic viewer switching.class
Splitter
The Splitter adds support for nesting to a SashForm.Methods in org.eclipse.compare that return Control Modifier and Type Method Description Control
CompareEditorInput. createContents(Composite parent)
Creates the SWT controls that are used to display the result of the compare operation.protected Control
EditionSelectionDialog. createDialogArea(Composite parent2)
Deprecated.Control
CompareEditorInput. createOutlineContents(Composite parent, int direction)
protected Control
CompareViewerPane. createTopLeft(Composite parent)
Methods in org.eclipse.compare with parameters of type Control Modifier and Type Method Description void
Splitter. setMaximizedControl(Control control)
void
Splitter. setVisible(Control child, boolean visible)
Sets the visibility of the given child in this Splitter. -
Uses of Control in org.eclipse.compare.contentmergeviewer
Methods in org.eclipse.compare.contentmergeviewer that return Control Modifier and Type Method Description protected Control
ContentMergeViewer. buildControl(Composite parent)
Builds the SWT controls for the three areas of a compare/merge viewer.protected Control
ContentMergeViewer. createCenterControl(Composite parent)
Create the control that divides the left and right sides of the merge viewer.protected Control
TextMergeViewer. createCenterControl(Composite parent)
protected Control
ContentMergeViewer. getCenterControl()
Return the center control that divides the left and right sides of the merge viewer.Control
ContentMergeViewer. getControl()
Methods in org.eclipse.compare.contentmergeviewer with parameters of type Control Modifier and Type Method Description protected void
ContentMergeViewer. hookControl(Control control)
-
Uses of Control in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return Control Modifier and Type Method Description protected Control
StringVariableSelectionDialog. createContents(Composite parent)
Control
IDetailPane. createControl(Composite parent)
Creates and returns the main control for this detail pane using the given composite as a parent.protected abstract Control
DebugPopup. createDialogArea(Composite parent)
protected Control
InspectPopupDialog. createDialogArea(Composite parent)
protected Control
StringVariableSelectionDialog. createDialogArea(Composite parent)
protected Control
AbstractDebugView. getControl()
Returns the control for this view, ornull
if none.Control
AbstractLaunchConfigurationTab. getControl()
Control
ILaunchConfigurationTab. getControl()
Returns the top level control for this tab.protected Control
AbstractDebugView. getDefaultControl()
Returns the default control for this view.Methods in org.eclipse.debug.ui that return types with arguments of type Control Modifier and Type Method Description protected List<Control>
InspectPopupDialog. getBackgroundColorExclusions()
Methods in org.eclipse.debug.ui with parameters of type Control Modifier and Type Method Description protected void
AbstractDebugView. createContextMenu(Control menuControl)
Creates a pop-up menu on the given control.protected void
AbstractLaunchConfigurationTab. setControl(Control control)
Sets the control to be displayed in this tab. -
Uses of Control in org.eclipse.debug.ui.actions
Methods in org.eclipse.debug.ui.actions with parameters of type Control Modifier and Type Method Description Menu
AbstractLaunchHistoryAction. getMenu(Control parent)
Menu
ContextualLaunchAction. getMenu(Control parent)
Menu
LaunchAsAction. getMenu(Control parent)
Deprecated.Menu
LaunchShortcutsAction. getMenu(Control parent)
Menu
RulerBreakpointTypesActionDelegate. getMenu(Control parent)
Deprecated. -
Uses of Control in org.eclipse.debug.ui.memory
Methods in org.eclipse.debug.ui.memory that return Control Modifier and Type Method Description Control
AbstractTableRendering. createControl(Composite parent)
Control
IMemoryRendering. createControl(Composite parent)
Creates the top level control for this rendering under the given parent composite.protected Control
AbstractTableRendering. createToolTipControl(Composite composite)
Creates the control used to display tool tips for cells in this table.Control
AbstractTableRendering. getControl()
Control
IMemoryRendering. getControl()
Returns the top level control for this rendering.Methods in org.eclipse.debug.ui.memory with parameters of type Control Modifier and Type Method Description protected void
AbstractMemoryRendering. createPopupMenu(Control control)
Helper method for creating a pop up menu in the rendering for a control.protected void
AbstractTableRendering. toolTipAboutToShow(Control toolTipControl, TableItem item, int col)
Called when the tool tip is about to show in this rendering. -
Uses of Control in org.eclipse.debug.ui.sourcelookup
Methods in org.eclipse.debug.ui.sourcelookup that return Control Modifier and Type Method Description protected Control
SourceLookupDialog. createDialogArea(Composite parent)
-
Uses of Control in org.eclipse.equinox.p2.ui
Methods in org.eclipse.equinox.p2.ui that return Control Modifier and Type Method Description protected Control
RepositoryManipulationPage. createContents(Composite parent)
Methods in org.eclipse.equinox.p2.ui with parameters of type Control Modifier and Type Method Description void
ICopyable. copyToClipboard(Control activeControl)
Copy text related to the active control to the clipboard.void
InstalledSoftwarePage. copyToClipboard(Control activeControl)
void
RepositoryManipulationPage. copyToClipboard(Control activeControl)
void
RevertProfilePage. copyToClipboard(Control activeControl)
-
Uses of Control in org.eclipse.help.ui
Methods in org.eclipse.help.ui that return Control Modifier and Type Method Description protected Control
RootScopePage. createContents(Composite parent)
Creates the initial contents of the page and allocates the area for the clients. -
Uses of Control in org.eclipse.jface.action
Methods in org.eclipse.jface.action that return Control Modifier and Type Method Description protected abstract Control
ControlContribution. createControl(Composite parent)
Creates and returns the control for this contribution item under the given parent composite.Control
StatusLineManager. createControl(Composite parent)
Creates and returns this manager's status line control.Control
StatusLineManager. createControl(Composite parent, int style)
Creates and returns this manager's status line control.Control
StatusLineManager. getControl()
Returns the control used by this StatusLineManager.Methods in org.eclipse.jface.action with parameters of type Control Modifier and Type Method Description protected int
ControlContribution. computeWidth(Control control)
Computes the width of the given control which is being added to a tool bar.Menu
MenuManager. createContextMenu(Control parent)
Creates and returns an SWT context menu control for this menu, and installs all registered contributions.Menu
IMenuCreator. getMenu(Control parent)
Returns the SWT menu, created as a pop up menu parented by the given control. -
Uses of Control in org.eclipse.jface.contentassist
Methods in org.eclipse.jface.contentassist that return Control Modifier and Type Method Description abstract Control
AbstractControlContentAssistSubjectAdapter. getControl()
Deprecated.Control
ComboContentAssistSubjectAdapter. getControl()
Deprecated.Control
IContentAssistSubjectControl. getControl()
Returns the control of this content assist subject control.Control
TextContentAssistSubjectAdapter. getControl()
Deprecated. -
Uses of Control in org.eclipse.jface.databinding.swt
Methods in org.eclipse.jface.databinding.swt with parameters of type Control Modifier and Type Method Description static ISWTObservableValue
SWTObservables. observeBackground(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeBounds(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeEditable(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeEnabled(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeFocus(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeFont(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeForeground(Control control)
Deprecated.useWidgetProperties
insteadstatic IObservableList
SWTObservables. observeItems(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeLocation(Control control)
Deprecated.Returns an observable value tracking the location of the given control.static ISWTObservableValue
SWTObservables. observeMax(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeMin(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeSelection(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeSingleSelectionIndex(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeSize(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeText(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeText(Control control, int event)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeText(Control control, int[] events)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeTooltipText(Control control)
Deprecated.useWidgetProperties
insteadstatic ISWTObservableValue
SWTObservables. observeVisible(Control control)
Deprecated.useWidgetProperties
instead -
Uses of Control in org.eclipse.jface.databinding.viewers
Methods in org.eclipse.jface.databinding.viewers that return types with arguments of type Control Modifier and Type Method Description static IValueProperty<CellEditor,Control>
CellEditorProperties. control()
Returns a value property for observing the control of aCellEditor
. -
Uses of Control in org.eclipse.jface.dialogs
Subclasses of Control in org.eclipse.jface.dialogs Modifier and Type Class Description class
MessageLine
A message line displaying a status.class
ProgressIndicator
A control for showing progress feedback for a long running operation.Fields in org.eclipse.jface.dialogs declared as Control Modifier and Type Field Description Control
Dialog. buttonBar
The button bar;null
until dialog is layed out.protected Control
ControlAnimator. control
the control that will be displayed or hiddenprotected Control
Dialog. dialogArea
The dialog area;null
until dialog is layed out.Methods in org.eclipse.jface.dialogs that return Control Modifier and Type Method Description protected Control
Dialog. createButtonBar(Composite parent)
Creates and returns the contents of this dialog's button bar.protected Control
IconAndMessageDialog. createButtonBar(Composite parent)
protected Control
StatusDialog. createButtonBar(Composite parent)
protected Control
TrayDialog. createButtonBar(Composite parent)
protected Control
Dialog. createContents(Composite parent)
TheDialog
implementation of thisWindow
method creates and lays out the top level composite for the dialog, and determines the appropriate horizontal and vertical dialog units based on the font size.protected abstract Control
DialogTray. createContents(Composite parent)
Creates the contents (widgets) that will be contained in the tray.protected Control
IconAndMessageDialog. createContents(Composite parent)
protected Control
PopupDialog. createContents(Composite parent)
ThePopupDialog
implementation of thisWindow
method creates and lays out the top level composite for the dialog.protected Control
TitleAreaDialog. createContents(Composite parent)
protected Control
MessageDialog. createCustomArea(Composite parent)
Creates and returns the contents of an area of the dialog which appears below the message and above the button bar.protected Control
Dialog. createDialogArea(Composite parent)
Creates and returns the contents of the upper part of this dialog (above the button bar).protected Control
ErrorDialog. createDialogArea(Composite parent)
This implementation of theDialog
framework method creates and lays out a composite.protected Control
InputDialog. createDialogArea(Composite parent)
protected Control
MessageDialog. createDialogArea(Composite parent)
This implementation of theDialog
framework method creates and lays out a composite and callscreateMessageArea
andcreateCustomArea
to populate it.protected Control
MessageDialogWithToggle. createDialogArea(Composite parent)
protected Control
PopupDialog. createDialogArea(Composite parent)
Creates and returns the contents of the dialog (the area below the title area and above the info text area.protected Control
ProgressMonitorDialog. createDialogArea(Composite parent)
protected Control
TitleAreaDialog. createDialogArea(Composite parent)
Creates and returns the contents of the upper part of this dialog (above the button bar).protected Control
TrayDialog. createHelpControl(Composite parent)
Creates a new help control that provides access to context help.protected Control
PopupDialog. createInfoTextArea(Composite parent)
Creates the optional info text area.protected Control
IconAndMessageDialog. createMessageArea(Composite composite)
Create the area the message will be shown in.abstract Control
ErrorSupportProvider. createSupportArea(Composite parent, IStatus status)
Create an area for adding support components as a child of parent.protected Control
PopupDialog. createTitleControl(Composite parent)
Creates the control to be used to represent the dialog's title text.protected Control
PopupDialog. createTitleMenuArea(Composite parent)
Creates the title and menu area.protected Control
Dialog. getButtonBar()
Returns the button bar control.Control
DialogPage. getControl()
Returns the top level control for this dialog page.Control
IDialogPage. getControl()
Returns the top level control for this dialog page.protected Control
Dialog. getDialogArea()
Returns the dialog area control.protected Control
PopupDialog. getFocusControl()
Returns the control that should get initial focus.Methods in org.eclipse.jface.dialogs that return types with arguments of type Control Modifier and Type Method Description protected List<Control>
PopupDialog. getBackgroundColorExclusions()
Return a list of controls which should never have their background color reset.protected List<Control>
PopupDialog. getForegroundColorExclusions()
Return a list of controls which should never have their foreground color reset.Methods in org.eclipse.jface.dialogs with parameters of type Control Modifier and Type Method Description protected void
PopupDialog. applyBackgroundColor(Color color, Control control)
Set the specified background color for the specified control and all of its children.static void
Dialog. applyDialogFont(Control control)
Applies the dialog font to all controls that currently have the default font.protected void
PopupDialog. applyForegroundColor(Color color, Control control)
Set the specified foreground color for the specified control and all of its children.ControlAnimator
AnimatorFactory. createAnimator(Control control)
Deprecated.Creates a new ControlAnimator for use by JFace in animating the display of an SWT Control.static ControlEnableState
ControlEnableState. disable(Control w)
Saves the current enable/disable state of the given control and its descendents in the returned object; the controls are all disabled.static ControlEnableState
ControlEnableState. disable(Control w, List<Control> exceptions)
Saves the current enable/disable state of the given control and its descendents in the returned object except for the given list of exception cases; the controls that are saved are also disabled.protected void
Dialog. initializeDialogUnits(Control control)
Initializes the computation of horizontal and vertical dialog units based on the size of current font.protected void
DialogPage. initializeDialogUnits(Control testControl)
Initializes the computation of horizontal and vertical dialog units based on the size of current font.protected void
DialogPage. setControl(Control newControl)
Set the control for the receiver.static String
Dialog. shortenText(String textValue, Control control)
Try to shorten the given texttextValue
so that its width in pixels does not exceed the width of the given control.Method parameters in org.eclipse.jface.dialogs with type arguments of type Control Modifier and Type Method Description static ControlEnableState
ControlEnableState. disable(Control w, List<Control> exceptions)
Saves the current enable/disable state of the given control and its descendents in the returned object except for the given list of exception cases; the controls that are saved are also disabled.Constructors in org.eclipse.jface.dialogs with parameters of type Control Constructor Description ControlAnimator(Control control)
Constructs a new ControlAnimator instance and passes along the control that will be displayed or hidden.ControlEnableState(Control w)
Creates a new object and saves in it the current enable/disable state of the given control and its descendents; the controls that are saved are also disabled.ControlEnableState(Control w, List<Control> exceptions)
Creates a new object and saves in it the current enable/disable state of the given control and its descendents except for the given list of exception cases; the controls that are saved are also disabled.Constructor parameters in org.eclipse.jface.dialogs with type arguments of type Control Constructor Description ControlEnableState(Control w, List<Control> exceptions)
Creates a new object and saves in it the current enable/disable state of the given control and its descendents except for the given list of exception cases; the controls that are saved are also disabled. -
Uses of Control in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return Control Modifier and Type Method Description Control
IControlCreator. createControl(Composite parent, int style)
Deprecated.Create a control with the specified parent and style bits.Control
TextControlCreator. createControl(Composite parent, int style)
Deprecated.Control
ContentProposalAdapter. getControl()
Get the control on which the content proposal adapter is installed.Control
ControlDecoration. getControl()
Get the control that is decorated by the receiver.Control
DecoratedField. getControl()
Deprecated.Get the control that is decorated by the receiver.Control
DecoratedField. getLayoutControl()
Deprecated.Get the control that represents the decorated field.Methods in org.eclipse.jface.fieldassist with parameters of type Control Modifier and Type Method Description static RGB
FieldAssistColors. computeErrorFieldBackgroundRGB(Control control)
Deprecated.Compute the RGB of the color that should be used for the background of a control to indicate that the control has an error.String
ComboContentAdapter. getControlContents(Control control)
String
IControlContentAdapter. getControlContents(Control control)
Get the text contents of the control.String
TextContentAdapter. getControlContents(Control control)
int
ComboContentAdapter. getCursorPosition(Control control)
int
IControlContentAdapter. getCursorPosition(Control control)
Get the current cursor position in the control.int
TextContentAdapter. getCursorPosition(Control control)
protected Rectangle
ControlDecoration. getDecorationRectangle(Control targetControl)
Return the rectangle in which the decoration should be rendered, in coordinates relative to the specified control.Rectangle
ComboContentAdapter. getInsertionBounds(Control control)
Rectangle
IControlContentAdapter. getInsertionBounds(Control control)
Get the bounds (in pixels) of the insertion point for the control content.Rectangle
TextContentAdapter. getInsertionBounds(Control control)
static Color
FieldAssistColors. getRequiredFieldBackgroundColor(Control control)
Deprecated.Return the color that should be used for the background of a control to indicate that the control is a required field and does not have content.Point
ComboContentAdapter. getSelection(Control control)
Point
IControlContentAdapter2. getSelection(Control control)
Get the current selection range in the control.Point
TextContentAdapter. getSelection(Control control)
void
ComboContentAdapter. insertControlContents(Control control, String text, int cursorPosition)
void
IControlContentAdapter. insertControlContents(Control control, String contents, int cursorPosition)
Insert the specified contents into the control's current contents.void
TextContentAdapter. insertControlContents(Control control, String text, int cursorPosition)
void
ComboContentAdapter. setControlContents(Control control, String text, int cursorPosition)
void
IControlContentAdapter. setControlContents(Control control, String contents, int cursorPosition)
Set the contents of the specified control to the specified text.void
TextContentAdapter. setControlContents(Control control, String text, int cursorPosition)
void
ComboContentAdapter. setCursorPosition(Control control, int index)
void
IControlContentAdapter. setCursorPosition(Control control, int index)
Set the current cursor position in the control.void
TextContentAdapter. setCursorPosition(Control control, int position)
void
ComboContentAdapter. setSelection(Control control, Point range)
void
IControlContentAdapter2. setSelection(Control control, Point range)
Set the current selection range in the control.void
TextContentAdapter. setSelection(Control control, Point range)
Constructors in org.eclipse.jface.fieldassist with parameters of type Control Constructor Description AutoCompleteField(Control control, IControlContentAdapter controlContentAdapter, String... proposals)
Construct an AutoComplete field on the specified control, whose completions are characterized by the specified array of Strings.ContentProposalAdapter(Control control, IControlContentAdapter controlContentAdapter, IContentProposalProvider proposalProvider, KeyStroke keyStroke, char[] autoActivationCharacters)
Construct a content proposal adapter that can assist the user with choosing content for the field.ControlDecoration(Control control, int position)
Construct a ControlDecoration for decorating the specified control at the specified position relative to the control.ControlDecoration(Control control, int position, Composite composite)
Construct a ControlDecoration for decorating the specified control at the specified position relative to the control. -
Uses of Control in org.eclipse.jface.layout
Methods in org.eclipse.jface.layout with parameters of type Control Modifier and Type Method Description void
GridDataFactory. applyTo(Control control)
Sets the layout data on the given control.void
RowDataFactory. applyTo(Control control)
Sets the layout data on the given control.static GridDataFactory
GridDataFactory. defaultsFor(Control theControl)
Returns a GridDataFactory initialized with heuristicly generated defaults for the given control.static void
GridDataFactory. generate(Control theControl, int hSpan, int vSpan)
Generates layout data to the given control, given the number of cells spanned by the control.static void
GridDataFactory. generate(Control theControl, Point span)
Generates layout data to the given control, given the number of cells spanned by the control.Constructors in org.eclipse.jface.layout with parameters of type Control Constructor Description PixelConverter(Control control)
Create a PixelConverter which will convert device-independent units to pixels using the font of the specified control. -
Uses of Control in org.eclipse.jface.notifications
Methods in org.eclipse.jface.notifications that return Control Modifier and Type Method Description protected Control
AbstractNotificationPopup. createContents(Composite parent)
-
Uses of Control in org.eclipse.jface.preference
Methods in org.eclipse.jface.preference that return Control Modifier and Type Method Description protected Control
FieldEditorPreferencePage. createContents(Composite parent)
protected Control
PreferenceDialog. createContents(Composite parent)
protected abstract Control
PreferencePage. createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page under the given parent composite.protected Control
PreferenceDialog. createDialogArea(Composite parent)
protected Control
PreferenceDialog. createTreeAreaContents(Composite parent)
Control
BooleanFieldEditor. getDescriptionControl(Composite parent)
Returns the control responsible for displaying this field editor's label.Control
FontFieldEditor. getPreviewControl()
Returns the preview control for this field editor.Methods in org.eclipse.jface.preference with parameters of type Control Modifier and Type Method Description protected void
FieldEditor. checkParent(Control control, Composite parent)
Checks if the given parent is the current parent of the supplied control; throws an (unchecked) exception if they are not correctly related.protected Point
ColorFieldEditor. computeImageSize(Control window)
Computes the size of the color image displayed on the button.protected int
FieldEditor. convertHorizontalDLUsToPixels(Control control, int dlus)
Returns the number of pixels corresponding to the given number of horizontal dialog units.protected int
FieldEditor. convertVerticalDLUsToPixels(Control control, int dlus)
Returns the number of pixels corresponding to the given number of vertical dialog units.protected Sash
PreferenceDialog. createSash(Composite composite, Control rightControl)
Create the sash with right control on the right.protected void
PreferenceDialog. layoutTreeAreaControl(Control control)
-
Uses of Control in org.eclipse.jface.resource
Methods in org.eclipse.jface.resource with parameters of type Control Modifier and Type Method Description static void
JFaceColors. setColors(Control control, Color foreground, Color background)
Set the foreground and background colors of the control to the specified values.Constructors in org.eclipse.jface.resource with parameters of type Control Constructor Description LocalResourceManager(ResourceManager parentRegistry, Control owner)
Creates a local registry that wraps the given global registry. -
Uses of Control in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return Control Modifier and Type Method Description Control
ITextViewerExtension. getControl()
Returns the control of this viewer.Control
TextViewer. getControl()
protected Control
AbstractInformationControlManager. getSubjectControl()
Returns the subject control of this manager/information control.Methods in org.eclipse.jface.text with parameters of type Control Modifier and Type Method Description protected Point
AbstractInformationControlManager. computeSizeConstraints(Control subjectControl, IInformationControl informationControl)
Computes the size constraints of the information control in points based on the default font of the given subject control as well as the size constraints in character width.protected Point
AbstractInformationControlManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)
Computes the size constraints of the information control in points.boolean
AbstractInformationControl. containsControl(Control control)
boolean
IInformationControlExtension5. containsControl(Control control)
Tests whether the given control is this information control or a child of this information control.static int
JFaceTextUtil. getAverageCharWidth(Control control)
Returns the average character width of the given control's font.void
AbstractHoverInformationControlManager. install(Control subjectControl)
void
AbstractHoverInformationControlManager. install(Control subjectControl, Control areaControl)
Installs this manager on the given subject control.void
AbstractInformationControlManager. install(Control subjectControl)
Installs this manager on the given control.void
AbstractInformationControlManager.IInformationControlCloser. setSubjectControl(Control subject)
Sets the closer's subject control. -
Uses of Control in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source that return Control Modifier and Type Method Description Control
AbstractRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Control
AnnotationRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Control
ChangeRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Control
CompositeRuler. createControl(Composite parent, ITextViewer textViewer)
Control
IVerticalRuler. createControl(Composite parent, ITextViewer textViewer)
Creates the ruler's SWT control.Control
IVerticalRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Creates the column's SWT control.Control
LineNumberChangeRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Control
LineNumberRulerColumn. createControl(CompositeRuler parentRuler, Composite parentControl)
Control
OverviewRuler. createControl(Composite parent, ITextViewer textViewer)
Control
VerticalRuler. createControl(Composite parent, ITextViewer textViewer)
Control
AbstractRulerColumn. getControl()
Control
AnnotationRulerColumn. getControl()
Control
ChangeRulerColumn. getControl()
Control
CompositeRuler. getControl()
Control
IVerticalRulerColumn. getControl()
Returns the column's SWT control.Control
IVerticalRulerInfo. getControl()
Returns the ruler's SWT control.Control
LineNumberRulerColumn. getControl()
Control
OverviewRuler. getControl()
Control
SourceViewer. getControl()
Control
VerticalRuler. getControl()
Control
IOverviewRuler. getHeaderControl()
Returns this rulers header control.Control
OverviewRuler. getHeaderControl()
Methods in org.eclipse.jface.text.source with parameters of type Control Modifier and Type Method Description protected Point
AnnotationBarHoverManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)
void
AnnotationBarHoverManager.Closer. setSubjectControl(Control control)
Deprecated. -
Uses of Control in org.eclipse.jface.util
Methods in org.eclipse.jface.util with parameters of type Control Modifier and Type Method Description static void
BidiUtils. applyTextDirection(Control control, String textDirection)
Applies a Base Text Direction to the given control (and its descendants, if it's aComposite
).static Rectangle
Geometry. toControl(Control coordinateSystem, Rectangle toConvert)
Converts the given rectangle from display coordinates to the local coordinate system of the given object into display coordinates.static Rectangle
Geometry. toDisplay(Control coordinateSystem, Rectangle toConvert)
Converts the given rectangle from the local coordinate system of the given object into display coordinates.Constructors in org.eclipse.jface.util with parameters of type Control Constructor Description OpenStrategy(Control control)
-
Uses of Control in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return Control Modifier and Type Method Description protected Control
ColorCellEditor. createContents(Composite cell)
protected Control
DialogCellEditor. createContents(Composite cell)
Creates the controls used to show the value of this cell editor.protected abstract Control
CellEditor. createControl(Composite parent)
Creates the control for this cell editor under the given parent control.protected Control
CheckboxCellEditor. createControl(Composite parent)
TheCheckboxCellEditor
implementation of thisCellEditor
framework method does nothing and returnsnull
.protected Control
ComboBoxCellEditor. createControl(Composite parent)
protected Control
ComboBoxViewerCellEditor. createControl(Composite parent)
protected Control
DialogCellEditor. createControl(Composite parent)
protected Control
TextCellEditor. createControl(Composite parent)
Control
CellEditor. getControl()
Returns the control used to implement this cell editor.Control
ComboViewer. getControl()
Control
ListViewer. getControl()
Control
TableViewer. getControl()
Control
TableViewerRow. getControl()
Control
TreeViewer. getControl()
Control
TreeViewerRow. getControl()
abstract Control
Viewer. getControl()
Returns the primary control associated with this viewer.Control
ViewerCell. getControl()
Get the control for this cell.abstract Control
ViewerRow. getControl()
Get the Control for the receiver.Methods in org.eclipse.jface.viewers with parameters of type Control Modifier and Type Method Description protected void
AbstractTreeViewer. addSelectionListener(Control control, SelectionListener listener)
Deprecated.protected abstract void
AbstractTreeViewer. addTreeListener(Control control, TreeListener listener)
Adds the given SWT tree listener to the given SWT control.protected void
TreeViewer. addTreeListener(Control c, TreeListener listener)
protected abstract int
AbstractTreeViewer. getItemCount(Control control)
Returns the number of child items of the given SWT control.protected int
TreeViewer. getItemCount(Control widget)
protected abstract Item[]
AbstractTreeViewer. getSelection(Control control)
Returns all selected items for the given SWT control.protected Item[]
TreeViewer. getSelection(Control widget)
protected void
AbstractTableViewer. hookControl(Control control)
protected void
AbstractTreeViewer. hookControl(Control control)
protected void
ColumnViewer. hookControl(Control control)
protected void
ContentViewer. hookControl(Control control)
Adds event listener hooks to the given control.protected void
StructuredViewer. hookControl(Control control)
protected void
TreeViewer. hookControl(Control control)
protected void
ColumnViewer. hookEditingSupport(Control control)
Hook up the editing support.protected void
AbstractTreeViewer. internalInitializeTree(Control tree)
Initializes the tree with root items, expanding to the appropriate level if necessary.protected void
TreeViewer. internalInitializeTree(Control widget)
protected Object
ColorCellEditor. openDialogBox(Control cellEditorWindow)
protected abstract Object
DialogCellEditor. openDialogBox(Control cellEditorWindow)
Opens a dialog box under the given parent control and returns the dialog's value when it closes, ornull
if the dialog was canceled or no selection was made in the dialog.protected abstract void
AbstractTreeViewer. removeAll(Control control)
Removes all items from the given control.protected void
TreeViewer. removeAll(Control widget)
protected abstract void
ColumnViewerEditor. setEditor(Control w, Item item, int fColumnNumber)
Position the editor inside the controlprotected void
TableViewerEditor. setEditor(Control w, Item item, int columnNumber)
protected void
TreeViewerEditor. setEditor(Control w, Item item, int fColumnNumber)
-
Uses of Control in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return Control Modifier and Type Method Description protected Control
Window. createContents(Composite parent)
Creates and returns this window's contents.protected Control
ApplicationWindow. createCoolBarControl(Composite composite)
Creates the control for the cool bar manager.protected Control
ApplicationWindow. createToolBarControl(Composite parent)
Creates the control for the tool bar manager.protected Control
Window. getContents()
Returns the top level control for this window.protected Control
ApplicationWindow. getCoolBarControl()
Returns the control for the window's cool bar.protected Control
ApplicationWindow. getToolBarControl()
Returns the control for the window's toolbar.Constructors in org.eclipse.jface.window with parameters of type Control Constructor Description DefaultToolTip(Control control)
Create new instance which add TooltipSupport to the widgetDefaultToolTip(Control control, int style, boolean manualActivation)
Create new instance which add TooltipSupport to the widgetSameShellProvider(Control targetControl)
Returns a shell provider that always returns the current shell for the given control.ToolTip(Control control)
Create new instance which add TooltipSupport to the widgetToolTip(Control control, int style, boolean manualActivation)
-
Uses of Control in org.eclipse.jface.wizard
Subclasses of Control in org.eclipse.jface.wizard Modifier and Type Class Description class
ProgressMonitorPart
A standard implementation of an IProgressMonitor.Fields in org.eclipse.jface.wizard declared as Control Modifier and Type Field Description protected Control
ProgressMonitorPart. fCancelComponent
the cancel componentMethods in org.eclipse.jface.wizard that return Control Modifier and Type Method Description protected Control
WizardDialog. createContents(Composite parent)
TheWizardDialog
implementation of thisWindow
method calls callIWizard.addPages
to allow the current wizard to add extra pages, thensuper.createContents
to create the controls.protected Control
WizardDialog. createDialogArea(Composite parent)
Methods in org.eclipse.jface.wizard with parameters of type Control Modifier and Type Method Description void
ProgressMonitorPart. attachToCancelComponent(Control cancelComponent)
Attaches the progress monitor part to the given cancel component.void
WizardDialog.PageContainerFillLayout. layoutPage(Control w)
Lays outs the page according to this layout.void
ProgressMonitorPart. removeFromCancelComponent(Control cancelComponent)
Detach the progress monitor part from the given cancel component.void
WizardDialog.PageContainerFillLayout. setPageLocation(Control w)
Sets the location of the page so that its origin is in the upper left corner. -
Uses of Control in org.eclipse.ltk.ui.refactoring
Methods in org.eclipse.ltk.ui.refactoring that return Control Modifier and Type Method Description Control
IChangePreviewViewer. getControl()
Returns the preview viewer's SWT control.Control
IStatusContextViewer. getControl()
Returns the status context viewer's SWT control.Control
TextStatusContextViewer. getControl()
-
Uses of Control in org.eclipse.ltk.ui.refactoring.history
Methods in org.eclipse.ltk.ui.refactoring.history that return Control Modifier and Type Method Description Control
IRefactoringHistoryControl. getControl()
Returns the SWT control of this refactoring history control. -
Uses of Control in org.eclipse.search.ui.text
Methods in org.eclipse.search.ui.text that return Control Modifier and Type Method Description Control
AbstractTextSearchViewPage. getControl()
-
Uses of Control in org.eclipse.swt.accessibility
Methods in org.eclipse.swt.accessibility that return Control Modifier and Type Method Description Control
Accessible. getControl()
Returns the control for this Accessible object.Methods in org.eclipse.swt.accessibility with parameters of type Control Modifier and Type Method Description static Accessible
Accessible. internal_new_Accessible(Control control)
Invokes platform specific functionality to allocate a new accessible object. -
Uses of Control in org.eclipse.swt.browser
Subclasses of Control in org.eclipse.swt.browser Modifier and Type Class Description class
Browser
Instances of this class implement the browser user interface metaphor. -
Uses of Control in org.eclipse.swt.custom
Subclasses of Control in org.eclipse.swt.custom Modifier and Type Class Description class
AnimatedProgress
Deprecated.As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE Styles:VERTICAL, HORIZONTAL, BORDERclass
CBanner
Instances of this class implement a Composite that lays out its children and allows programmatic control of the layout.class
CCombo
The CCombo class represents a selectable user interface object that combines a text field and a list and issues notification when an item is selected from the list.class
CLabel
A Label which supports aligned text and/or an image and different border styles.class
CTabFolder
Instances of this class implement the notebook user interface metaphor.class
SashForm
The SashForm is a composite control that lays out its children in a row or column arrangement (as specified by the orientation) and places a Sash between each child.class
ScrolledComposite
A ScrolledComposite provides scrollbars and will scroll its content when the user uses the scrollbars.class
StyledText
A StyledText is an editable user interface object that displays lines of text.class
TableCursor
A TableCursor provides a way for the user to navigate around a Table using the keyboard.class
TreeCursor
A TreeCursor provides a way for the user to navigate around a Tree with columns using the keyboard.class
ViewForm
Instances of this class implement a Composite that positions and sizes children and allows programmatic control of layout and border parameters.Fields in org.eclipse.swt.custom declared as Control Modifier and Type Field Description Control
StackLayout. topControl
topControl the Control that is displayed at the top of the stack.Methods in org.eclipse.swt.custom that return Control Modifier and Type Method Description Control
CBanner. getBottom()
Returns the Control that appears on the bottom side of the banner.Control[]
CCombo. getChildren()
Control
ScrolledComposite. getContent()
Get the content that is being scrolled.Control
ViewForm. getContent()
Returns the content area.Control
CTabItem. getControl()
Gets the control that is displayed in the content area of the tab item.Control
ControlEditor. getEditor()
Returns the Control that is displayed above the composite being edited.Control
CBanner. getLeft()
Returns the Control that appears on the left side of the banner.Control
SashForm. getMaximizedControl()
Answer the control that currently is maximized in the SashForm.Control
CBanner. getRight()
Returns the Control that appears on the right side of the banner.Control
ViewForm. getTopCenter()
Returns Control that appears in the top center of the pane.Control
ViewForm. getTopLeft()
Returns the Control that appears in the top left corner of the pane.Control
CTabFolder. getTopRight()
Returns the control in the top right corner of the tab folder.Control
ViewForm. getTopRight()
Returns the control in the top right corner of the pane.Methods in org.eclipse.swt.custom with parameters of type Control Modifier and Type Method Description protected boolean
StackLayout. flushCache(Control control)
void
CBanner. setBottom(Control control)
Set the control that appears on the bottom side of the banner.void
ScrolledComposite. setContent(Control content)
Set the content that will be scrolled.void
ViewForm. setContent(Control content)
Sets the content.void
CTabItem. setControl(Control control)
Sets the control that is used to fill the client area of the tab folder when the user selects the tab item.void
ControlEditor. setEditor(Control editor)
Specify the Control that is to be displayed.void
TableEditor. setEditor(Control editor)
void
TableEditor. setEditor(Control editor, TableItem item, int column)
Specify the Control that is to be displayed and the cell in the table that it is to be positioned above.void
TreeEditor. setEditor(Control editor)
void
TreeEditor. setEditor(Control editor, TreeItem item)
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.void
TreeEditor. setEditor(Control editor, TreeItem item, int column)
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.void
CBanner. setLeft(Control control)
Set the control that appears on the left side of the banner.void
SashForm. setMaximizedControl(Control control)
Specify the control that should take up the entire client area of the SashForm.void
CBanner. setRight(Control control)
Set the control that appears on the right side of the banner.void
ViewForm. setTopCenter(Control topCenter)
Set the control that appears in the top center of the pane.void
ViewForm. setTopLeft(Control c)
Set the control that appears in the top left corner of the pane.void
CTabFolder. setTopRight(Control control)
Set the control that appears in the top right corner of the tab folder.void
CTabFolder. setTopRight(Control control, int alignment)
Set the control that appears in the top right corner of the tab folder.void
ViewForm. setTopRight(Control c)
Set the control that appears in the top right corner of the pane.void
ScrolledComposite. showControl(Control control)
Scrolls the content of the receiver so that the control is visible. -
Uses of Control in org.eclipse.swt.dnd
Methods in org.eclipse.swt.dnd that return Control Modifier and Type Method Description Control
DragSource. getControl()
Returns the Control which is registered for this DragSource.Control
DragSourceEffect. getControl()
Returns the Control which is registered for this DragSourceEffect.Control
DropTarget. getControl()
Returns the Control which is registered for this DropTarget.Control
DropTargetEffect. getControl()
Returns the Control which is registered for this DropTargetEffect.Constructors in org.eclipse.swt.dnd with parameters of type Control Constructor Description DragSource(Control control, int style)
Creates a newDragSource
to handle dragging from the specifiedControl
.DragSourceEffect(Control control)
Creates a newDragSourceEffect
to handle drag effect from the specifiedControl
.DropTarget(Control control, int style)
Creates a newDropTarget
to allow data to be dropped on the specifiedControl
.DropTargetEffect(Control control)
Creates a newDropTargetEffect
to handle the drag under effect on the specifiedControl
. -
Uses of Control in org.eclipse.swt.layout
Fields in org.eclipse.swt.layout declared as Control Modifier and Type Field Description Control
FormAttachment. control
control specifies the control to which the control side is attached.Methods in org.eclipse.swt.layout with parameters of type Control Modifier and Type Method Description protected boolean
FillLayout. flushCache(Control control)
protected boolean
FormLayout. flushCache(Control control)
protected boolean
GridLayout. flushCache(Control control)
protected boolean
RowLayout. flushCache(Control control)
Constructors in org.eclipse.swt.layout with parameters of type Control Constructor Description FormAttachment(Control control)
Constructs a new instance of this class given a control.FormAttachment(Control control, int offset)
Constructs a new instance of this class given a control and an offset.FormAttachment(Control control, int offset, int alignment)
Constructs a new instance of this class given a control, an offset and an alignment. -
Uses of Control in org.eclipse.swt.ole.win32
Subclasses of Control in org.eclipse.swt.ole.win32 Modifier and Type Class Description class
OleClientSite
OleClientSite provides a site to manage an embedded OLE Document within a container.class
OleControlSite
OleControlSite provides a site to manage an embedded ActiveX Control within a container.class
OleFrame
OleFrame is an OLE Container's top level frame. -
Uses of Control in org.eclipse.swt.opengl
Subclasses of Control in org.eclipse.swt.opengl Modifier and Type Class Description class
GLCanvas
GLCanvas is a widget capable of displaying OpenGL content. -
Uses of Control in org.eclipse.swt.widgets
Subclasses of Control in org.eclipse.swt.widgets Modifier and Type Class Description class
Button
Instances of this class represent a selectable user interface object that issues notification when pressed and released.class
Canvas
Instances of this class provide a surface for drawing arbitrary graphics.class
Combo
Instances of this class are controls that allow the user to choose an item from a list of items, or optionally enter a new value by typing it into an editable text field.class
Composite
Instances of this class are controls which are capable of containing other controls.class
CoolBar
Instances of this class provide an area for dynamically positioning the items they contain.class
DateTime
Instances of this class are selectable user interface objects that allow the user to enter and modify date or time values.class
Decorations
Instances of this class provide the appearance and behavior ofShells
, but are not top level shells or dialogs.class
ExpandBar
Instances of this class support the layout of selectable expand bar items.class
Group
Instances of this class provide an etched border with an optional title.class
Label
Instances of this class represent a non-selectable user interface object that displays a string or image.class
Link
Instances of this class represent a selectable user interface object that displays a text with links.class
List
Instances of this class represent a selectable user interface object that displays a list of strings and issues notification when a string is selected.class
ProgressBar
Instances of the receiver represent an unselectable user interface object that is used to display progress, typically in the form of a bar.class
Sash
Instances of the receiver represent a selectable user interface object that allows the user to drag a rubber banded outline of the sash within the parent control.class
Scale
Instances of the receiver represent a selectable user interface object that present a range of continuous numeric values.class
Scrollable
This class is the abstract superclass of all classes which represent controls that have standard scroll bars.class
Shell
Instances of this class represent the "windows" which the desktop or "window manager" is managing.class
Slider
Instances of this class are selectable user interface objects that represent a range of positive, numeric values.class
Spinner
Instances of this class are selectable user interface objects that allow the user to enter and modify numeric values.class
TabFolder
Instances of this class implement the notebook user interface metaphor.class
Table
Instances of this class implement a selectable user interface object that displays a list of images and strings and issues notification when selected.class
Text
Instances of this class are selectable user interface objects that allow the user to enter and modify text.class
ToolBar
Instances of this class support the layout of selectable tool bar items.class
Tree
Instances of this class provide a selectable user interface object that displays a hierarchy of items and issues notification when an item in the hierarchy is selected.Methods in org.eclipse.swt.widgets that return Control Modifier and Type Method Description Control[]
Composite. getChildren()
Returns a (possibly empty) array containing the receiver's children.Control
CoolItem. getControl()
Returns the control that is associated with the receiver.Control
ExpandItem. getControl()
Returns the control that is shown when the item is expanded.Control
TabItem. getControl()
Returns the control that is used to fill the client area of the tab folder when the user selects the tab item.Control
ToolItem. getControl()
Returns the control that is used to fill the bounds of the item when the item is aSEPARATOR
.Control
Display. getCursorControl()
Returns the control which the on-screen pointer is currently over top of, or null if it is not currently over one of the controls built by the currently running application.Control
Display. getFocusControl()
Returns the control which currently has keyboard focus, or null if keyboard events are not currently going to any of the controls built by the currently running application.Control[]
Composite. getTabList()
Gets the (possibly empty) tabbing order for the control.Methods in org.eclipse.swt.widgets with parameters of type Control Modifier and Type Method Description void
Composite. changed(Control[] changed)
Deprecated.useComposite.layout(Control[], int)
insteadprotected boolean
Layout. flushCache(Control control)
Instruct the layout to flush any cached values associated with the control specified in the argumentcontrol
.void
Composite. layout(Control[] changed)
Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarchy of the changed control up to and including the receiver.void
Composite. layout(Control[] changed, int flags)
Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarchy of the changed control up to and including the receiver.Point
Display. map(Control from, Control to, int x, int y)
Maps a point from one coordinate system to another.Rectangle
Display. map(Control from, Control to, int x, int y, int width, int height)
Maps a point from one coordinate system to another.Point
Display. map(Control from, Control to, Point point)
Maps a point from one coordinate system to another.Rectangle
Display. map(Control from, Control to, Rectangle rectangle)
Maps a point from one coordinate system to another.void
Control. moveAbove(Control control)
Moves the receiver above the specified control in the drawing order.void
Control. moveBelow(Control control)
Moves the receiver below the specified control in the drawing order.void
CoolItem. setControl(Control control)
Sets the control that is associated with the receiver to the argument.void
ExpandItem. setControl(Control control)
Sets the control that is shown when the item is expanded.void
TabItem. setControl(Control control)
Sets the control that is used to fill the client area of the tab folder when the user selects the tab item.void
ToolItem. setControl(Control control)
Sets the control that is used to fill the bounds of the item when the item is aSEPARATOR
.void
Composite. setTabList(Control[] tabList)
Sets the tabbing order for the specified controls to match the order that they occur in the argument list.Constructors in org.eclipse.swt.widgets with parameters of type Control Constructor Description Menu(Control parent)
Constructs a new instance of this class given its parent, and sets the style for the instance so that the instance will be a popup menu on the given parent's shell. -
Uses of Control in org.eclipse.team.ui
Methods in org.eclipse.team.ui that return Control Modifier and Type Method Description protected Control
SaveablePartDialog. createDialogArea(Composite parent2)
Deprecated.protected abstract Control
PageSaveablePart. createPage(Composite parent, ToolBarManager toolBarManager)
Deprecated.Create the page for this part and return the top level control for the page.Control
PageSaveablePart. getControl()
Deprecated.Returns the primary control for this part. -
Uses of Control in org.eclipse.team.ui.history
Methods in org.eclipse.team.ui.history that return Control Modifier and Type Method Description protected Control
HistoryPageSaveablePart. createPage(Composite parent, ToolBarManager toolBarManager)
Deprecated. -
Uses of Control in org.eclipse.team.ui.synchronize
Methods in org.eclipse.team.ui.synchronize that return Control Modifier and Type Method Description Control
ParticipantPageCompareEditorInput. createContents(Composite parent)
protected Control
ParticipantPageDialog. createDialogArea(Composite parent2)
Deprecated.protected Control
ParticipantPageSaveablePart. createPage(Composite parent, ToolBarManager toolBarManager)
Deprecated.Control
ParticipantPagePane. createPartControl(Composite parent)
-
Uses of Control in org.eclipse.ui
Methods in org.eclipse.ui with parameters of type Control Modifier and Type Method Description Menu
IWorkbenchWindowPulldownDelegate. getMenu(Control parent)
Returns the menu for this pull down action. -
Uses of Control in org.eclipse.ui.actions
Methods in org.eclipse.ui.actions with parameters of type Control Modifier and Type Method Description protected Point
QuickMenuCreator. computeMenuLocation(Control focus)
Determine the optimal point for this menu to appear. -
Uses of Control in org.eclipse.ui.activities
Methods in org.eclipse.ui.activities that return Control Modifier and Type Method Description protected Control
ActivitiesPreferencePage. createContents(Composite parent)
protected Control
ActivityCategoryPreferencePage. createContents(Composite parent)
-
Uses of Control in org.eclipse.ui.application
Methods in org.eclipse.ui.application that return Control Modifier and Type Method Description Control
IWorkbenchWindowConfigurer. createCoolBarControl(Composite parent)
Deprecated.This method is no longer used.Control
WorkbenchWindowAdvisor. createEmptyWindowContents(Composite parent)
Deprecated.This method is no longer used.Control
IWorkbenchWindowConfigurer. createPageComposite(Composite parent)
Deprecated.This method is no longer used.Control
IWorkbenchWindowConfigurer. createStatusLineControl(Composite parent)
Deprecated.This method is no longer used. -
Uses of Control in org.eclipse.ui.cheatsheets
Methods in org.eclipse.ui.cheatsheets that return Control Modifier and Type Method Description Control
ICheatSheetViewer. getControl()
Returns the primary control associated with this viewer. -
Uses of Control in org.eclipse.ui.console
Methods in org.eclipse.ui.console that return Control Modifier and Type Method Description Control
TextConsolePage. getControl()
-
Uses of Control in org.eclipse.ui.dialogs
Subclasses of Control in org.eclipse.ui.dialogs Modifier and Type Class Description class
FilteredList
A composite widget which holds a list of elements for user selection.class
FilteredTree
A simple control that provides a text widget and a tree viewer.Fields in org.eclipse.ui.dialogs declared as Control Modifier and Type Field Description protected Control
FilteredTree. clearButtonControl
Note: As of 4.13 not used anymoreMethods in org.eclipse.ui.dialogs that return Control Modifier and Type Method Description protected Control
SelectionStatusDialog. createButtonBar(Composite parent)
protected Control
ProjectLocationMoveDialog. createContents(Composite parent)
protected Control
SaveAsDialog. createContents(Composite parent)
protected Control
CheckedTreeSelectionDialog. createDialogArea(Composite parent)
protected Control
ContainerSelectionDialog. createDialogArea(Composite parent)
protected Control
EditorSelectionDialog. createDialogArea(Composite parent)
Creates and returns the contents of the upper part of the dialog (above the button bar).protected Control
ElementListSelectionDialog. createDialogArea(Composite parent)
protected Control
ElementTreeSelectionDialog. createDialogArea(Composite parent)
protected Control
FileSelectionDialog. createDialogArea(Composite parent)
Deprecated.protected Control
FilteredItemsSelectionDialog. createDialogArea(Composite parent)
protected Control
ListDialog. createDialogArea(Composite container)
protected Control
ListSelectionDialog. createDialogArea(Composite parent)
protected Control
MarkerResolutionSelectionDialog. createDialogArea(Composite parent)
protected Control
NewFolderDialog. createDialogArea(Composite parent)
protected Control
ProjectLocationMoveDialog. createDialogArea(Composite parent)
protected Control
ProjectLocationSelectionDialog. createDialogArea(Composite parent)
protected Control
ResourceListSelectionDialog. createDialogArea(Composite parent)
Creates the contents of this dialog, initializes the listener and the update thread.protected Control
ResourceSelectionDialog. createDialogArea(Composite parent)
protected Control
SaveAsDialog. createDialogArea(Composite parent)
Control
TwoPaneElementSelector. createDialogArea(Composite parent)
protected Control
TypeFilteringDialog. createDialogArea(Composite parent)
protected abstract Control
FilteredItemsSelectionDialog. createExtendedContentArea(Composite parent)
Creates an extra content area, which will be located above the details.protected Control
FilteredResourcesSelectionDialog. createExtendedContentArea(Composite parent)
protected Control
FilteredTree. createTreeControl(Composite parent, int style)
Creates and set up the tree and tree viewer.Control
PreferenceLinkArea. getControl()
Return the control for the receiver.Control
FilteredItemsSelectionDialog. getPatternControl()
Get the control where the search pattern is entered. -
Uses of Control in org.eclipse.ui.dnd
Methods in org.eclipse.ui.dnd with parameters of type Control Modifier and Type Method Description void
IDragAndDropService. addMergedDropTarget(Control control, int ops, Transfer[] transfers, DropTargetListener listener)
Causes a drop target to be added to the given control that respects the existing site's drop behaviour in addition to the behaviour being specified for the given control.void
IDragAndDropService. removeMergedDropTarget(Control control)
Remove any previously 'merged' drop target for this Control -
Uses of Control in org.eclipse.ui.fieldassist
Constructors in org.eclipse.ui.fieldassist with parameters of type Control Constructor Description ContentAssistCommandAdapter(Control control, IControlContentAdapter controlContentAdapter, IContentProposalProvider proposalProvider, String commandId, char[] autoActivationCharacters)
Construct a content proposal adapter that can assist the user with choosing content for the field.ContentAssistCommandAdapter(Control control, IControlContentAdapter controlContentAdapter, IContentProposalProvider proposalProvider, String commandId, char[] autoActivationCharacters, boolean installDecoration)
Construct a content proposal adapter that can assist the user with choosing content for the field. -
Uses of Control in org.eclipse.ui.forms
Methods in org.eclipse.ui.forms that return Control Modifier and Type Method Description protected Control
FormDialog. createButtonBar(Composite parent)
protected Control
FormDialog. createDialogArea(Composite parent)
Control
IMessage. getControl()
Returns the control this message is associated with.Methods in org.eclipse.ui.forms with parameters of type Control Modifier and Type Method Description void
IMessageManager. addMessage(Object key, String messageText, Object data, int type, Control control)
Adds a message that should be associated with the provided control.String
IMessagePrefixProvider. getPrefix(Control control)
Returns the computed prefix for the provided control.void
IMessageManager. removeMessage(Object key, Control control)
Removes a keyed message associated with the provided control.void
IMessageManager. removeMessages(Control control)
Removes all the messages associated with the provided control. -
Uses of Control in org.eclipse.ui.forms.editor
Methods in org.eclipse.ui.forms.editor that return Control Modifier and Type Method Description Control
FormPage. getPartControl()
Returns the form page control.Control
IFormPage. getPartControl()
Returns the control associated with this page.Methods in org.eclipse.ui.forms.editor with parameters of type Control Modifier and Type Method Description void
FormEditor. addPage(int index, Control control)
Adds a simple SWT control as a page.int
FormEditor. addPage(Control control)
Adds a simple SWT control as a page. -
Uses of Control in org.eclipse.ui.forms.widgets
Subclasses of Control in org.eclipse.ui.forms.widgets Modifier and Type Class Description class
AbstractHyperlink
This is the base class for custom hyperlink widget.class
ExpandableComposite
This composite is capable of expanding or collapsing a single client that is its direct child.class
Form
Form is a custom control that renders a title and an optional background image above the body composite.class
FormText
This class is a read-only text control that is capable of rendering wrapped text.class
Hyperlink
Hyperlink is a concrete implementation of the abstract base class that draws text in the client area.class
ImageHyperlink
This class extends hyperlink widget by adding the capability to render an image relative to the text.class
ScrolledForm
ScrolledForm is a control that is capable of scrolling an instance of the Form class.class
ScrolledFormText
ScrolledFormText is a control that is capable of scrolling an instance of the FormText class.class
ScrolledPageBook
ScrolledPageBook is a class that is capable of stacking several composites (pages), while showing one at a time.class
Section
A variation of the expandable composite that adds optional description below the title.class
SharedScrolledComposite
This class is used to provide common scrolling services to a number of controls in the toolkit.class
ToggleHyperlink
A custom selectable control that can be used to control areas that can be expanded or collapsed.class
TreeNode
A custom selectable control that can be used to control areas that can be expanded or collapsed.class
Twistie
A custom selectable control that can be used to control areas that can be expanded or collapsed.Fields in org.eclipse.ui.forms.widgets declared as Control Modifier and Type Field Description protected Control
ExpandableComposite. textLabel
The text label for the title.Methods in org.eclipse.ui.forms.widgets that return Control Modifier and Type Method Description Control
ExpandableComposite. getClient()
Returns the current expandable client.Control
SizeCache. getControl()
Returns the control whose size is being cachedControl
ScrolledPageBook. getCurrentPage()
Returns the page currently showing.protected Control
ExpandableComposite. getDescriptionControl()
Returns description control that will be placed under the title if present.Control
Section. getDescriptionControl()
Returns the control used to render the description.Control
Form. getHeadClient()
Returns the optional head client if set.protected Control
ExpandableComposite. getSeparatorControl()
Returns the separator control that will be placed between the title and the description if present.Control
Section. getSeparatorControl()
Returns the control that is used as a separator between the title and the client, or null if not set.Control
ExpandableComposite. getTextClient()
Returns the text client control.Methods in org.eclipse.ui.forms.widgets with parameters of type Control Modifier and Type Method Description void
FormToolkit. adapt(Control control, boolean trackFocus, boolean trackKeyboard)
Adapts a control to be used in a form that is associated with this toolkit.static void
FormToolkit. ensureVisible(Control c)
A helper method that ensures the provided control is visible when ScrolledComposite is somewhere in the parent chain.void
ScrolledPageBook. registerPage(Object key, Control page)
Registers a page under the privided key to be managed by the page book.void
ExpandableComposite. setClient(Control client)
Sets the client of this expandable composite.void
ScrolledForm. setContent(Control c)
The form sets the content widget.void
ScrolledFormText. setContent(Control c)
The class sets the content widget.void
SharedScrolledComposite. setContent(Control content)
Overrides 'super' to pass the proper colors and fontvoid
FormText. setControl(String key, Control control)
Registers the control referenced by the provided key.void
SizeCache. setControl(Control newControl)
Sets the control whose size is being cached.void
LayoutCache. setControls(Control[] controls)
Sets the controls that are being cached here.static void
FormToolkit. setControlVisible(Control c, boolean verticalOnly)
A utility method that ensures that the control is visible in the scrolled composite.void
Section. setDescriptionControl(Control descriptionControl)
Sets the description control of this section.void
Form. setHeadClient(Control headClient)
Sets the optional head client.void
ScrolledForm. setHeadClient(Control headClient)
Sets the optional head client.void
Section. setSeparatorControl(Control separator)
Sets the separator control of this section.void
ExpandableComposite. setTextClient(Control textClient)
Sets the text client control.Method parameters in org.eclipse.ui.forms.widgets with type arguments of type Control Modifier and Type Method Description SectionFactory
SectionFactory. description(Function<Section,Control> controlFunction)
Sets a function which must provide a description control for the given Section.Constructors in org.eclipse.ui.forms.widgets with parameters of type Control Constructor Description LayoutCache(Control[] controls)
Creates a cache for the given array of controlsSizeCache(Control control)
Creates a cache for size computations on the given control -
Uses of Control in org.eclipse.ui.help
Methods in org.eclipse.ui.help with parameters of type Control Modifier and Type Method Description void
IWorkbenchHelpSystem. setHelp(Control control, String helpContextId)
Sets the given help id on the given control. -
Uses of Control in org.eclipse.ui.ide.dialogs
Methods in org.eclipse.ui.ide.dialogs that return Control Modifier and Type Method Description protected Control
ImportTypeDialog. createDialogArea(Composite parent)
protected Control
PathVariableSelectionDialog. createDialogArea(Composite parent)
protected Control
ImportTypeDialog. createMessageArea(Composite parent)
-
Uses of Control in org.eclipse.ui.intro.config
Methods in org.eclipse.ui.intro.config that return Control Modifier and Type Method Description Control
CustomizableIntroPart. getControl()
Returns the primary control associated with this Intro part.Control
IStandbyContentPart. getControl()
Returns the primary control associated with this standby part. -
Uses of Control in org.eclipse.ui.menus
Methods in org.eclipse.ui.menus that return Control Modifier and Type Method Description Control
WorkbenchWindowControlContribution. delegateCreateControl(Composite parent)
Important: This method is *NOT* to be used/extended by clients. -
Uses of Control in org.eclipse.ui.navigator
Methods in org.eclipse.ui.navigator with parameters of type Control Modifier and Type Method Description protected void
CommonViewer. hookControl(Control control)
-
Uses of Control in org.eclipse.ui.part
Subclasses of Control in org.eclipse.ui.part Modifier and Type Class Description class
DrillDownComposite
ClassDrillDownComposite
implements a simple web style navigation metaphor.class
PageBook
A pagebook is a composite control where only a single control is visible at a time.Methods in org.eclipse.ui.part that return Control Modifier and Type Method Description Control
IPage. getControl()
Returns the SWT control for this page.Control
MessagePage. getControl()
protected Control
MultiPageEditorPart. getControl(int pageIndex)
Returns the control for the given page index, ornull
if no control has been set for the page.abstract Control
Page. getControl()
ThePage
implementation of thisIPage
method returnsnull
.Methods in org.eclipse.ui.part with parameters of type Control Modifier and Type Method Description void
MultiPageEditorPart. addPage(int index, Control control)
Creates and adds a new page containing the given control to this multi-page editor.int
MultiPageEditorPart. addPage(Control control)
Creates and adds a new page containing the given control to this multi-page editor.protected CTabItem
MultiPageEditorPart. createItem(int index, Control control)
Creates a tab item at the given index and places the given control in the new item.protected void
MultiPageEditorPart. setControl(int pageIndex, Control control)
Sets the control for the given page index.void
PageBook. showPage(Control page)
Shows the given page. -
Uses of Control in org.eclipse.ui.preferences
Methods in org.eclipse.ui.preferences that return Control Modifier and Type Method Description protected Control
WizardPropertyPage. createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page under the given parent composite. -
Uses of Control in org.eclipse.ui.statushandlers
Methods in org.eclipse.ui.statushandlers that return Control Modifier and Type Method Description Control
AbstractStatusAreaProvider. createSupportArea(Composite parent, IStatus status)
abstract Control
AbstractStatusAreaProvider. createSupportArea(Composite parent, StatusAdapter statusAdapter)
Create an area for detailed support area as a child of the given parent. -
Uses of Control in org.eclipse.ui.swt
Methods in org.eclipse.ui.swt with parameters of type Control Modifier and Type Method Description void
IFocusService. addFocusTracker(Control control, String id)
A Control for which the service will track focus.void
IFocusService. removeFocusTracker(Control control)
No longer track focus events for this control. -
Uses of Control in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor that return Control Modifier and Type Method Description protected Control
AbstractDecoratedTextEditor. createStatusControl(Composite parent, IStatus status)
protected Control
StatusTextEditor. createStatusControl(Composite parent, IStatus status)
Creates the status control for the given status.Control
InfoForm. getControl()
Deprecated.Returns the control of this form. -
Uses of Control in org.eclipse.ui.texteditor.spelling
Methods in org.eclipse.ui.texteditor.spelling that return Control Modifier and Type Method Description Control
ISpellingPreferenceBlock. createControl(Composite parent)
Creates the control that will be displayed on the preference page. -
Uses of Control in org.eclipse.ui.texteditor.templates
Methods in org.eclipse.ui.texteditor.templates that return Control Modifier and Type Method Description protected Control
TemplatePreferencePage. createContents(Composite ancestor)
protected Control
TemplatePreferencePage.EditTemplateDialog. createDialogArea(Composite ancestor)
Control
AbstractTemplatesPage. getControl()
-
Uses of Control in org.eclipse.ui.views.contentoutline
Methods in org.eclipse.ui.views.contentoutline that return Control Modifier and Type Method Description Control
ContentOutlinePage. getControl()
-
Uses of Control in org.eclipse.ui.views.markers
Methods in org.eclipse.ui.views.markers with parameters of type Control Modifier and Type Method Description int
MarkerField. getDefaultColumnWidth(Control control)
Get the number of characters that should be reserved for the receiver.protected void
FilterConfigurationArea. initializeFontMetrics(Control control)
InitialiseFontMetrics
for the receiver. -
Uses of Control in org.eclipse.ui.views.properties
Methods in org.eclipse.ui.views.properties that return Control Modifier and Type Method Description Control
PropertySheetPage. getControl()
-
Uses of Control in org.eclipse.ui.views.properties.tabbed
Methods in org.eclipse.ui.views.properties.tabbed that return Control Modifier and Type Method Description Control
TabbedPropertySheetPage. getControl()
-