| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.ui.api.themes; |
| |
| /** |
| * CSS Style Class Names for OSBP html components |
| */ |
| public enum EnumCssClass { |
| /** combobox with icon */ |
| COMBOBOX_WITH_ICON, |
| VIEW_HEADER_H2, |
| BOX, |
| CHART, |
| TABLE, |
| HAS_FOCUS, |
| SELECT_LANGUAGE, |
| SELECTION_AREA, |
| MULTI_SELECTION, |
| MULTI_SELECTION_AREA, |
| SINGLE_SELECTION, |
| SINGLE_SELECTION_AREA, |
| DATA_COMPONENT, |
| DATA_AREA, |
| MULTI_AREA, |
| WORK_AREA, |
| LOWER_AREA, |
| TOP_AREA, |
| SIDE_AREA, |
| VIEW, |
| CHART_VIEW, |
| DIALOG_VIEW, |
| ORGANIZATION_VIEW, |
| REPORT_VIEW, |
| TABLE_VIEW, |
| TOPOLOGY_VIEW, |
| MPARTTOOLBARAREA, |
| MPARTTOOLBAR; |
| |
| public String styleName() { |
| return toString(); |
| } |
| public String toString() { |
| return "os-"+super.toString().toLowerCase().replaceAll("_", "-"); |
| } |
| } |