Eclipse JDT
Release 3.1

org.eclipse.jdt.ui.text
Interface IColorManagerExtension


public interface IColorManagerExtension

Extends IColorManager with the ability to bind and un-bind colors.

Since:
2.0

Method Summary
 void bindColor(String key, RGB rgb)
          Remembers the given color specification under the given key.
 void unbindColor(String key)
          Forgets the color specification remembered under the given key.
 

Method Detail

bindColor

public void bindColor(String key,
                      RGB rgb)
Remembers the given color specification under the given key.

Parameters:
key - the color key
rgb - the color specification
Throws:
UnsupportedOperationException - if there is already a color specification remembered under the given key

unbindColor

public void unbindColor(String key)
Forgets the color specification remembered under the given key.

Parameters:
key - the color key

Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.