blob: 3768ae30cd4b1aa43b7e28fa54948de1b1aa2f25 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2008 Innoopract Informationssysteme GmbH.
* 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:
* Innoopract Informationssysteme GmbH - initial API and implementation
******************************************************************************/
package org.eclipse.rwt.internal.theme;
/**
* Holds all data read from a single property of a theme definition
* (*.theme.xml) file.
*/
// TODO [rst] Make immutable?
// TODO [rst] implements equals and hashcode
public class ThemeProperty {
private static final String[] EMPTY = new String[ 0 ];
public final String name;
public final String inherit;
public final QxType defValue;
public final String description;
public String targetPath;
public boolean transparentAllowed;
public String cssProperty;
public String[] cssElements;
public String[] cssSelectors;
public ThemeProperty( final String name,
final String inherit,
final QxType defValue,
final String description )
{
this.name = name;
this.inherit = inherit;
this.defValue = defValue;
this.description = description;
this.cssElements = EMPTY;
this.cssSelectors = EMPTY;
}
}