org.eclipse.jdt.ui.text
public interface IColorManager extends ISharedTextColors
RGB objects. Until the dispose
method is called, the same color object is returned for
equal keys and equal RGB values.
In order to provide backward compatibility for clients of IColorManager, extension
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IColorManagerExtension since version 2.0 introducing
the ability to bind and un-bind colors.This interface may be implemented by clients.
IColorManagerExtension,
IJavaColorConstants| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(String key)
Returns a color object for the given key.
|
dispose, getColorColor getColor(String key)
key - the color keyGuidelines for using Eclipse APIs. Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.