| java.lang.Object org.eclipse.ui.internal.themes.ColorDefinition
Constructor Summary | |
public | ColorDefinition(String label, String id, String defaultsTo, String value, String categoryId, boolean isEditable, String description, String pluginId) Create a new instance of the receiver.
Parameters: label - the label for this definition Parameters: id - the identifier for this definition Parameters: defaultsTo - the id of a definition that this definition will default to. Parameters: value - the default value of this definition, either in the form rrr,ggg,bbb or the name of an SWT color constant. | public | ColorDefinition(ColorDefinition original, RGB value) Create a new instance of the receiver.
Parameters: original - the original definition. |
isEditable | boolean isEditable(Code) | | |
ColorDefinition | public ColorDefinition(String label, String id, String defaultsTo, String value, String categoryId, boolean isEditable, String description, String pluginId)(Code) | | Create a new instance of the receiver.
Parameters: label - the label for this definition Parameters: id - the identifier for this definition Parameters: defaultsTo - the id of a definition that this definition will default to. Parameters: value - the default value of this definition, either in the form rrr,ggg,bbb or the name of an SWT color constant. Parameters: description - the description for this definition. Parameters: pluginId - the identifier of the plugin that contributed this definition. |
ColorDefinition | public ColorDefinition(ColorDefinition original, RGB value)(Code) | | Create a new instance of the receiver.
Parameters: original - the original definition. This will be used to populate all fields except defaultsTo and value. defaultsTo will always be null . Parameters: value - the RGB value |
getCategoryId | public String getCategoryId()(Code) | | the categoryId, or null if none was supplied. |
getDefaultsTo | public String getDefaultsTo()(Code) | | the defaultsTo value, or null if none was supplied. |
getDescription | public String getDescription()(Code) | | the description text, or null if none was supplied. |
getId | public String getId()(Code) | | the id of this definition. Should not be null . |
getName | public String getName()(Code) | | the label text. Should not be null . |
getValue | public RGB getValue()(Code) | | the value. Any SWT constants supplied to the constructor will be evaluated and converted into their RGB value. |
hashCode | public int hashCode()(Code) | | |
isEditable | public boolean isEditable()(Code) | | |
|
|