1 /******************************************************************************* 2 * Copyright (c) 2004, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ui.internal.themes; 12 13 /** 14 * A basic element (color, font) of a theme must implement this 15 * interface. 16 * 17 * @since 3.0 18 */ 19 public interface IThemeElementDefinition { 20 21 /** 22 * Returns the name for this element. 23 * 24 * @return the name for this element 25 */ 26 public String getName(); 27 28 /** 29 * Returns the id for this element. 30 * 31 * @return the id for this element. This will never be <code>null</code>. 32 */ 33 public String getId(); 34 35 /** 36 * Returns the description for this element. 37 * 38 * @return the description for this element. This may be <code>null</code>. 39 */ 40 public String getDescription(); 41 42 } 43