Mercurial > hg > thermostat-tools-eclipse
view com.redhat.thermostat.tools.eclipse.plugin/src/com/redhat/thermostat/tools/eclipse/plugin/model/SchemaConstants.java @ 94:146a0704ba68
Include a schemaLocation attribute
This will make eclipse automatically validate the
thermostat-plugin.xml file whenever possible.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Thu, 06 Feb 2014 10:37:06 -0500 |
parents | |
children |
line wrap: on
line source
package com.redhat.thermostat.tools.eclipse.plugin.model; public class SchemaConstants { public static final String SCHEMA_NAMESPACE = "http://icedtea.classpath.org/thermostat/plugins/v1.0"; //$NON-NLS-1$ public static final String SCHEMA_URL = "http://icedtea.classpath.org/thermostat/docs/1.0/thermostat-plugin.xsd"; //$NON-NLS-1$ public static String getSchemaLocation() { return SCHEMA_NAMESPACE + " " + SCHEMA_URL; // //$NON-NLS-1$ } }