<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.modisco.infra.facet.core" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<annotation> | |
<appinfo> | |
<meta.schema plugin="org.eclipse.modisco.infra.facet.core" id="facetRefreshStrategy" name="Facet refresh strategy"/> | |
</appinfo> | |
<documentation> | |
This extension point can be used to provide strategies to refresh Facets when model elements are modified. | |
If a Facet should be applied to an element if this element has a certain property, the refresh strategy should determine whether the model change that occurred impacted this property. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<annotation> | |
<appinfo> | |
<meta.element /> | |
</appinfo> | |
</annotation> | |
<complexType> | |
<sequence minOccurs="1" maxOccurs="unbounded"> | |
<element ref="refreshStrategy"/> | |
</sequence> | |
<attribute name="point" type="string" use="required"> | |
<annotation> | |
<documentation> | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string"> | |
<annotation> | |
<documentation> | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string"> | |
<annotation> | |
<documentation> | |
</documentation> | |
<appinfo> | |
<meta.attribute translatable="true"/> | |
</appinfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="refreshStrategy"> | |
<complexType> | |
<attribute name="class" type="string" use="required"> | |
<annotation> | |
<documentation> | |
</documentation> | |
<appinfo> | |
<meta.attribute kind="java" basedOn=":org.eclipse.modisco.infra.facet.core.extensions.RefreshStrategy"/> | |
</appinfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appinfo> | |
<meta.section type="since"/> | |
</appinfo> | |
<documentation> | |
0.9 M2 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="examples"/> | |
</appinfo> | |
<documentation> | |
<pre> | |
<extension point="org.eclipse.modisco.infra.facet.core.facetRefreshStrategy"> | |
<refreshStrategy class="com.example.RefreshStrategy1"/> | |
</extension> | |
</pre> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="copyright"/> | |
</appinfo> | |
<documentation> | |
Copyright (c) 2010 Mia-Software and others. | |
All rights reserved. This program and the accompanying materials | |
are made available under the terms of the Eclipse Public License v2.0 | |
which accompanies this distribution, and is available at | |
http://www.eclipse.org/legal/epl-v20.html | |
</documentation> | |
</annotation> | |
</schema> |