blob: 7d73ee4d75357fe5cbe83e0274637524d3c85bd3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
<copyright>
</copyright>
$Id: plugin.xml,v 1.12 2008/09/04 04:29:27 ystrot Exp $
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
class = "org.eclipse.tigerstripe.annotation.core.test.model.ModelPackage"
genModel = "model/model.genmodel" />
</extension>
<extension point="org.eclipse.tigerstripe.annotation.core.annotationType">
<definition
name="Author"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
description="Author Annotation"
eclass="Author">
</definition>
</extension>
<extension point="org.eclipse.tigerstripe.annotation.core.annotationType">
<definition
name="Hibernate"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
description="Hibernate Annotation"
eclass="Hibernate">
<target
type="org.eclipse.jdt.core.IJavaElement"/>
</definition>
</extension>
<extension point="org.eclipse.tigerstripe.annotation.core.annotationType">
<definition
name="Custom Month"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
description="CustomMonth"
eclass="CustomMonth">
</definition>
</extension>
<extension point="org.eclipse.tigerstripe.annotation.core.annotationType">
<definition
name="Project Description"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
description="Project Description Annotation"
eclass="ProjectDescription">
<target
type="org.eclipse.core.resources.IProject"/>
</definition>
</extension>
<extension point="org.eclipse.tigerstripe.annotation.core.annotationType">
<definition
name="MIME Type"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
description="MIME Type Annotation"
eclass="MimeType">
<target
type="org.eclipse.core.resources.IResource" unique="false"/>
</definition>
</extension>
<extension
point="org.eclipse.tigerstripe.annotation.core.packageLabel">
<label
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
name="Test Annotations"/>
</extension>
<extension
point="org.eclipse.tigerstripe.annotation.ui.annotationLabelProvider">
<provider
class="org.eclipse.tigerstripe.annotation.core.test.model.LabelProvider"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
eclass="Author"/>
<provider
class="org.eclipse.tigerstripe.annotation.core.test.model.LabelProvider"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
eclass="Hibernate"/>
<provider
class="org.eclipse.tigerstripe.annotation.core.test.model.LabelProvider"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
eclass="MimeType"/>
<provider
class="org.eclipse.tigerstripe.annotation.core.test.model.LabelProvider"
epackage-uri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"
eclass="CustomMonth"/>
</extension>
<extension
point="org.eclipse.tigerstripe.annotation.core.annotationProvider">
<provider
class="org.eclipse.tigerstripe.annotation.core.test.provider.ResourcePathProvider"
targetDescription="Resource Path"
type="org.eclipse.tigerstripe.annotation.core.test.provider.IResourcePath"/>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.core.resources.IResource"
class="org.eclipse.tigerstripe.annotation.core.test.provider.ResourceAdapterFactory">
<adapter
type="org.eclipse.tigerstripe.annotation.core.test.provider.IResourcePath"/>
</factory>
</extension>
<extension
point="org.eclipse.emf.validation.constraintProviders">
<constraintProvider cache="true">
<package namespaceUri="http:///org/eclipse/tigerstripe/annotation/core/test/model.ecore"/>
<constraints categories="org.eclipse.tigerstripe.annotation.validation.category">
<constraint
lang="Java"
class="org.eclipse.tigerstripe.annotation.core.test.validation.MimeTypeValidator"
severity="ERROR"
mode="Live"
name="Valid Mime Type"
id="org.eclipse.tigerstripe.annotation.core.test.validMimeType"
statusCode="1">
<description>
Invalid mime type
</description>
<message>
Invalid mime type: text/plain
</message>
<target class="MimeType">
<event name="Set">
<feature name="mimeType"/>
</event>
</target>
</constraint>
</constraints>
</constraintProvider>
</extension>
<extension
point="org.eclipse.tigerstripe.annotation.core.constraints">
<constraint
class="org.eclipse.tigerstripe.annotation.core.test.constraint.AnnotationConstraintExample"/>
</extension>
</plugin>