<?xml version="1.0" encoding="ASCII"?><!-- | |
Copyright (c) 2015 Soft-Maint. | |
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 | |
Contributors: | |
Thomas Cicognani (Soft-Maint) - Bug 471597 - [New Browser] Add a customization to display subclasses from an EClass | |
--> | |
<custom:Customization | |
xmi:version="2.0" | |
xmlns:xmi="http://www.omg.org/XMI" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:custom="http://www.eclipse.org/emf/facet/custom/0.2.incubation/custom" | |
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | |
xmlns:efacet="http://www.eclipse.org/emf/facet/efacet/0.2.incubation/efacet" | |
xmlns:javaQuery="http://www.eclipse.org/emf/facet/query/java/0.2.incubation/javaquery" | |
name="org.eclipse.modisco.infra.browser.ecore.core.hierarchicalEClass.custom" | |
nsURI="http://www.eclipse.org/MoDisco/infra/browser/ecore/0.13.0.incubation/hierarchicalEClass/" | |
nsPrefix="hierarchicalEClass"> | |
<eClassifiers xsi:type="custom:EClassCustomization" name="EClass null"> | |
<extendedMetaclass href="http://www.eclipse.org/emf/2002/Ecore#//EClass"/> | |
<facetOperations name="children" upperBound="-1"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature"/> | |
<eParameters name="eStructuralFeature"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//ETypedElement"/> | |
</eParameters> | |
<query xsi:type="custom:ETypedElementSwitchQuery"> | |
<cases> | |
<value xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.modisco.infra.browser.ecore.core.internal.hierarchicaleclass.HierarchicalEClassCustomQuery"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EReference" href="http://www.eclipse.org/emf/2002/Ecore#//EModelElement/eAnnotations"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EAttribute" href="http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EAttribute" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/nsURI"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EAttribute" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/nsPrefix"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EReference" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/eFactoryInstance"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EReference" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/eClassifiers"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EReference" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/eSubpackages"/> | |
</cases> | |
<cases> | |
<case xsi:type="ecore:EReference" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage/eSuperPackage"/> | |
</cases> | |
</query> | |
<override xsi:type="efacet:FacetOperation" href="../../../plugin/org.eclipse.emf.facet.custom.ui/resources/customproperties.efacet#//CustomizedEObject/children"/> | |
</facetOperations> | |
<extendedFacets href="../../../plugin/org.eclipse.emf.facet.custom.ui/resources/customproperties.efacet#//CustomizedEObject"/> | |
</eClassifiers> | |
</custom:Customization> |