1 /*******************************************************************************
2  * Copyright (c) 2013, 2015 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.e4.ui.css.swt.helpers;
15 
16 public class ThemeElementDefinitionHelper {
escapeId(String id)17 	public static String escapeId(String id) {
18 		return id.replace('.', '-');
19 	}
20 
normalizeId(String id)21 	public static String normalizeId(String id) {
22 		return id.replace('-', '.');
23 	}
24 }
25