Icon (JsonSchemaInfo value) { if (value == ADD_MAPPING) { return AllIcons.General.Add; } if (value == EDIT_MAPPINGS) { return AllIcons.Actions.Edit; } if (value == LOAD_REMOTE) { return AllIcons.Actions.Refresh; } if (value == IGNORE_FILE) { return AllIcons.Vcs.Ignore_file; } if (value == STOP_IGNORE_FILE) { return AllIcons.Actions.AddFile; } return AllIcons.FileTypes.JsonSchema; }