Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.intellij.editor.colorstorage.ColorManager Class Reference

List of all members.

Static Public Member Functions

static ColorModel getColorModel (int userID)

Static Public Attributes

static final Color DEFAULT_COLOR = new Color(128, 128, 128)

Static Package Attributes

static final Color[] CONTRIBUTION_COLORS
static final Color[] SELECTION_COLORS

Detailed Description

IntelliJ color manager


Member Function Documentation

static ColorModel de.fu_berlin.inf.dpp.intellij.editor.colorstorage.ColorManager.getColorModel ( int  userID) [static]

Returns the color for the given userID. Returns the DEFAULT_COLOR when there is no color for the userID.

Parameters:
userID
Returns:
the color for the given userID.

Member Data Documentation

Initial value:
 { new Color(141, 206, 231),
        new Color(191, 187, 130), new Color(186, 220, 81),
        new Color(237, 237, 169), new Color(137, 180, 178) }
Initial value:
 { new Color(183, 224, 240),
        new Color(208, 205, 164), new Color(220, 237, 166),
        new Color(246, 246, 211), new Color(184, 210, 209) }
 All Classes Namespaces Files Functions Variables Enumerations