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 theme element whose value may default to that of another theme element. 15 * 16 * @since 3.0 17 */ 18 public interface IHierarchalThemeElementDefinition extends 19 IThemeElementDefinition { 20 21 /** 22 * Return the id of the element this element defaults to. 23 * 24 * @return the id of the element this element defaults to, or 25 * <code>null</code> if it does not default to another element. 26 */ 27 String getDefaultsTo(); 28 } 29