diff options
Diffstat (limited to 'plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd')
-rw-r--r-- | plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd | 306 |
1 files changed, 167 insertions, 139 deletions
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd b/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd index 1a8c125efa6..8cec839e23e 100644 --- a/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd +++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/context.exsd @@ -1,139 +1,167 @@ -<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.papyrus.views.properties" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.papyrus.views.properties" id="Context" name="Context"/>
- </appInfo>
- <documentation>
- Extension point used to provide new Contexts to the Papyrus Property View. A Context is an EMF Model conforming to http://www.eclipse.org/papyrus/properties (From org.eclipse.papyrus.views.properties.model), defining a set of Constraint descriptors, and the view to display for each.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="context" minOccurs="1" maxOccurs="unbounded"/>
- </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="context">
- <complexType>
- <attribute name="contextModel" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute kind="resource"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="isCustomizable" type="boolean" use="default" value="true">
- <annotation>
- <documentation>
- Indicates whether this property view configuration is customizable. Default is true. If this configuration is not marked as customizable, it won't appear in the Property view customization tools, and the user won't be able to disable this configuration. Use this option when the user shouldn't be allowed to modify this configuration (e.g. when the property view configuration is used in a Wizard).
- </documentation>
- </annotation>
- </attribute>
- <attribute name="appliedByDefault" type="boolean">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 0.8.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- <extension
- point="org.eclipse.papyrus.views.properties.Context">
- <context contextModel="Model/UML.xmi">
- </context>
-</extension>
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiinfo"/>
- </appInfo>
- <documentation>
- There is no API associated with this extension point.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- Sample Implementation :
-org.eclipse.papyrus.views.properties.uml
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- /*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.papyrus.views.properties" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.papyrus.views.properties" id="Context" name="Context"/> + </appInfo> + <documentation> + Extension point used to provide new Contexts to the Papyrus Property View. A Context is an EMF Model conforming to http://www.eclipse.org/papyrus/properties (From org.eclipse.papyrus.views.properties.model), defining a set of Constraint descriptors, and the view to display for each. + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appInfo> + <meta.element /> + </appInfo> + </annotation> + <complexType> + <choice minOccurs="1" maxOccurs="unbounded"> + <element ref="context"/> + <element ref="preferencePageBinding"/> + </choice> + <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="context"> + <complexType> + <attribute name="contextModel" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + <appInfo> + <meta.attribute kind="resource"/> + </appInfo> + </annotation> + </attribute> + <attribute name="isCustomizable" type="boolean" use="default" value="true"> + <annotation> + <documentation> + Indicates whether this property view configuration is customizable. Default is true. If this configuration is not marked as customizable, it won't appear in the Property view customization tools, and the user won't be able to disable this configuration. Use this option when the user shouldn't be allowed to modify this configuration (e.g. when the property view configuration is used in a Wizard). + </documentation> + </annotation> + </attribute> + <attribute name="appliedByDefault" type="boolean"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="preferencePageBinding"> + <annotation> + <documentation> + Specifies a binding of a particular registered Properties context model to some preference page (usually different than the default Papyrus Properties View preference page). + </documentation> + </annotation> + <complexType> + <attribute name="context" type="string" use="required"> + <annotation> + <documentation> + References the Properties Context (by name) to associate with a preference page. The name is used instead of the URI because that is what the enablement preferences use to identify contexts and it is how (temporarily) missing contexts are tracked. + </documentation> + </annotation> + </attribute> + <attribute name="page" type="string" use="required"> + <annotation> + <documentation> + Indicates the preference page in which to present the customization of the referenced properties context. + </documentation> + <appInfo> + <meta.attribute kind="identifier" basedOn="org.eclipse.ui.preferencePages/page/@id"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="since"/> + </appInfo> + <documentation> + 0.8.0 + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + <extension + point="org.eclipse.papyrus.views.properties.Context"> + <context contextModel="Model/UML.xmi"> + </context> +</extension> + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiinfo"/> + </appInfo> + <documentation> + There is no API associated with this extension point. + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="implementation"/> + </appInfo> + <documentation> + Sample Implementation : +org.eclipse.papyrus.views.properties.uml + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="copyright"/> + </appInfo> + <documentation> + /***************************************************************************** + * Copyright (c) 2010 CEA LIST. + * + * 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: + * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation + *****************************************************************************/ + </documentation> + </annotation> + +</schema> |