Package | Description |
---|---|
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.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.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.hyperlink |
Provides support for detecting and displaying hyperlinks in ISourceViewers.
|
org.eclipse.jface.text.revisions |
Provides a revision model and a protocol to display revision information in a vertical ruler column.
|
org.eclipse.jface.text.source |
Provides a framework for connecting document regions
with annotations and for displaying those.
|
org.eclipse.jface.wizard |
Provides a framework for wizards.
|
org.eclipse.swt.custom |
SWT Custom widgets.
|
org.eclipse.swt.graphics |
SWT graphics classes.
|
org.eclipse.swt.widgets |
SWT widget public API classes.
|
org.eclipse.ui.forms |
Forms-based controls for use in views, editors, and wizards.
|
org.eclipse.ui.model |
Provides a workbench adapter for displaying workbench elements in the UI without
having to know the concrete type of the element, and various label providers for
workbench-specific objects like editors, views, and perspectives.
|
org.eclipse.ui.splash |
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.themes |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
Modifier and Type | Method and Description |
---|---|
void |
TextMergeViewer.setBackgroundColor(RGB background)
Sets the viewer's background color to the given RGB value.
|
void |
TextMergeViewer.setForegroundColor(RGB foreground)
Sets the viewer's foreground color to the given RGB value.
|
Modifier and Type | Method and Description |
---|---|
RGB |
DebugElementWorkbenchAdapter.getBackground(Object element)
Deprecated.
|
RGB |
DebugElementWorkbenchAdapter.getForeground(Object element)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TitleAreaDialog.setTitleAreaColor(RGB color)
Sets the title bar color for this dialog.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
static RGB |
PreferenceConverter.COLOR_DEFAULT_DEFAULT
The default-default value for color preferences
(black,
RGB(0,0,0) ). |
Modifier and Type | Method and Description |
---|---|
static RGB |
PreferenceConverter.getColor(IPreferenceStore store,
String name)
Returns the current value of the color-valued preference with the
given name in the given preference store.
|
RGB |
ColorSelector.getColorValue()
Return the currently displayed color.
|
static RGB |
PreferenceConverter.getDefaultColor(IPreferenceStore store,
String name)
Returns the default value for the color-valued preference
with the given name in the given preference store.
|
Modifier and Type | Method and Description |
---|---|
void |
ColorSelector.setColorValue(RGB rgb)
Set the current color value and update the control.
|
static void |
PreferenceConverter.setDefault(IPreferenceStore store,
String name,
RGB value)
Sets the default value of the preference with the given name
in the given preference store.
|
static void |
PreferenceConverter.setValue(IPreferenceStore store,
String name,
RGB value)
Sets the current value of the preference with the given name
in the given preference store.
|
Modifier and Type | Method and Description |
---|---|
static RGB |
StringConverter.asRGB(String value)
Converts the given value into an SWT RGB color value.
|
static RGB |
StringConverter.asRGB(String value,
RGB dflt)
Converts the given value into an SWT RGB color value.
|
RGB |
ColorRegistry.getRGB(String symbolicName)
Returns the color data associated with the given symbolic color name.
|
Modifier and Type | Method and Description |
---|---|
static RGB |
StringConverter.asRGB(String value,
RGB dflt)
Converts the given value into an SWT RGB color value.
|
static String |
StringConverter.asString(RGB value)
Converts the given SWT RGB color value object to a string.
|
Color |
ResourceManager.createColor(RGB descriptor)
Allocates a color, given its RGB value.
|
static ColorDescriptor |
ColorDescriptor.createFrom(RGB toCreate)
Returns a color descriptor for the given RGB values
|
void |
ResourceManager.destroyColor(RGB descriptor)
Undoes everything that was done by a call to
ResourceManager.createColor(RGB) . |
void |
ColorRegistry.put(String symbolicName,
RGB colorData)
Adds (or replaces) a color to this color registry under the given
symbolic name.
|
Constructor and Description |
---|
DefaultHyperlinkPresenter(RGB color)
Creates a new default hyperlink presenter.
|
MultipleHyperlinkPresenter(RGB color)
Creates a new multiple hyperlink presenter.
|
Modifier and Type | Method and Description |
---|---|
abstract RGB |
Revision.getColor()
Returns the author color for this revision.
|
Modifier and Type | Method and Description |
---|---|
Color |
ISharedTextColors.getColor(RGB rgb)
Returns the color object for the value represented by the given
RGB object. |
Modifier and Type | Method and Description |
---|---|
RGB |
IWizard.getTitleBarColor()
Returns the title bar color for this wizard.
|
RGB |
Wizard.getTitleBarColor() |
Modifier and Type | Method and Description |
---|---|
void |
Wizard.setTitleBarColor(RGB color)
Sets the title bar color for this wizard.
|
Modifier and Type | Field and Description |
---|---|
static RGB |
ViewForm.borderInsideRGB
Deprecated.
|
static RGB |
CTabFolder.borderInsideRGB
Deprecated.
drop shadow border is no longer drawn in 3.0
|
static RGB |
ViewForm.borderMiddleRGB
Deprecated.
|
static RGB |
CTabFolder.borderMiddleRGB
Deprecated.
drop shadow border is no longer drawn in 3.0
|
static RGB |
ViewForm.borderOutsideRGB
Deprecated.
|
static RGB |
CTabFolder.borderOutsideRGB
Deprecated.
drop shadow border is no longer drawn in 3.0
|
Modifier and Type | Field and Description |
---|---|
RGB[] |
PaletteData.colors
the RGB values for an indexed palette, where the
indices of the array correspond to pixel values
|
Modifier and Type | Method and Description |
---|---|
RGB |
Color.getRGB()
Returns an
RGB representing the receiver. |
RGB |
PaletteData.getRGB(int pixel)
Returns an
RGB corresponding to the given pixel value. |
RGB[] |
PaletteData.getRGBs()
Returns all the RGB values in the receiver if it is an
indexed palette, or null if it is a direct palette.
|
RGB[] |
ImageData.getRGBs()
Returns an array of
RGB s which comprise the
indexed color table of the receiver, or null if the receiver
has a direct color model. |
Modifier and Type | Method and Description |
---|---|
int |
PaletteData.getPixel(RGB rgb)
Returns the pixel value corresponding to the given
RGB . |
Constructor and Description |
---|
Color(Device device,
RGB rgb)
Constructs a new instance of this class given a device and an
RGB describing the desired red, green and blue values. |
PaletteData(RGB[] colors)
Constructs a new indexed palette given an array of RGB values.
|
Modifier and Type | Method and Description |
---|---|
RGB |
FontDialog.getRGB()
Returns an RGB describing the color that was selected
in the dialog, or null if none is available.
|
RGB |
ColorDialog.getRGB()
Returns the currently selected color in the receiver.
|
RGB[] |
ColorDialog.getRGBs()
Returns an array of
RGB s which are the list of
custom colors selected by the user in the receiver, or null
if no custom colors were selected. |
RGB |
ColorDialog.open()
Makes the receiver visible and brings it to the front
of the display.
|
Modifier and Type | Method and Description |
---|---|
void |
FontDialog.setRGB(RGB rgb)
Sets the RGB describing the color to be selected by default
in the dialog, or null to let the platform choose one.
|
void |
ColorDialog.setRGB(RGB rgb)
Sets the receiver's selected color to be the argument.
|
void |
ColorDialog.setRGBs(RGB[] rgbs)
Sets the receiver's list of custom colors to be the given array
of
RGB s, which may be null to let the platform select
a default when open() is called. |
Modifier and Type | Method and Description |
---|---|
static RGB |
FormColors.blend(RGB c1,
RGB c2,
int ratio)
Blends c1 and c2 based in the provided ratio.
|
RGB |
FormColors.getSystemColor(int code)
Returns the RGB value of the system color represented by the code
argument, as defined in
SWT class. |
Modifier and Type | Method and Description |
---|---|
static RGB |
FormColors.blend(RGB c1,
RGB c2,
int ratio)
Blends c1 and c2 based in the provided ratio.
|
Color |
FormColors.createColor(String key,
RGB rgb)
Creates the color for the specified key using the provided RGB object.
|
static boolean |
FormColors.testAnyPrimaryColor(RGB rgb,
int from,
int to)
Tests the source RGB for range.
|
static boolean |
FormColors.testTwoPrimaryColors(RGB rgb,
int from,
int to)
Tests the source RGB for range.
|
Modifier and Type | Method and Description |
---|---|
RGB |
WorkbenchAdapter.getBackground(Object element)
The default implementation of this
IWorkbenchAdapter2 method
returns null . |
RGB |
IWorkbenchAdapter2.getBackground(Object element)
Provides a background color for the given element.
|
RGB |
WorkbenchAdapter.getForeground(Object element)
The default implementation of this
IWorkbenchAdapter2 method
returns null . |
RGB |
IWorkbenchAdapter2.getForeground(Object element)
Provides a foreground color for the given element.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicSplashHandler.setForeground(RGB foregroundRGB)
Set the foreground text color.
|
Modifier and Type | Method and Description |
---|---|
RGB |
AnnotationPreference.getColorPreferenceValue()
Returns the default presentation color.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationPreference.setColorPreferenceValue(RGB colorValue)
Sets the default presentation color.
|
Modifier and Type | Method and Description |
---|---|
static RGB |
ColorUtil.blend(RGB val1,
RGB val2)
Blend the two color values returning a value that is halfway between
them.
|
static RGB |
ColorUtil.blend(RGB c1,
RGB c2,
int ratio)
Blends the two color values according to the provided ratio.
|
RGB |
RGBBlendColorFactory.createColor() |
RGB |
IColorFactory.createColor()
Create a new color.
|
static RGB |
ColorUtil.getColorValue(String rawValue)
Get the RGB value for a given color.
|
static RGB[] |
ColorUtil.getColorValues(String[] rawValues)
Get the RGB values for a given color array.
|
Modifier and Type | Method and Description |
---|---|
static RGB |
ColorUtil.blend(RGB val1,
RGB val2)
Blend the two color values returning a value that is halfway between
them.
|
static RGB |
ColorUtil.blend(RGB c1,
RGB c2,
int ratio)
Blends the two color values according to the provided ratio.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.