| <?xml version="1.0" encoding="ASCII"?> | |
| <!-- | |
| Copyright (c) 2009 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 | |
| Contributors: | |
| Gregoire DUPE (Mia-Software) - initial API and implementation | |
| Nicolas Guyomar (Mia-Software) - initial API and implementation | |
| --> | |
| <uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/MoDisco/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/MoDisco/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/MoDisco/Java/0.2.incubation/java"> | |
| <types metaclassName="java.TypeDeclaration"> | |
| <customizedFeatures customizedFeature="bold"> | |
| <valueCases> | |
| <value xsi:type="uicustom:StaticFeatureValue" value="true"/> | |
| <condition xsi:type="query:JavaModelQuery" href="modisco:/query/_example_jdkAndEclipseQuerySet#isIndirectEObject"/> | |
| </valueCases> | |
| </customizedFeatures> | |
| <customizedFeatures customizedFeature="color"> | |
| <valueCases> | |
| <value xsi:type="uicustom:StaticFeatureValue" value="(0,0,255)"/> | |
| <condition xsi:type="query:JavaModelQuery" href="modisco:/query/_example_jdkAndEclipseQuerySet#isEObject"/> | |
| </valueCases> | |
| <valueCases> | |
| <value xsi:type="uicustom:StaticFeatureValue" value="(255,128,0)"/> | |
| <condition xsi:type="query:JavaModelQuery" href="modisco:/query/_example_jdkAndEclipseQuerySet#isIndirectEObject"/> | |
| </valueCases> | |
| </customizedFeatures> | |
| </types> | |
| <types metaclassName="java.ClassDeclaration"> | |
| <customizedFeatures customizedFeature="italic"> | |
| <defaultValue xsi:type="uicustom:DerivedFeatureValue"> | |
| <valueCalculator xsi:type="query:JavaModelQuery" href="modisco:/query/modifierJavaQueries#isAbstract"/> | |
| </defaultValue> | |
| </customizedFeatures> | |
| <customizedFeatures customizedFeature="underlined"> | |
| <defaultValue xsi:type="uicustom:DerivedFeatureValue"> | |
| <valueCalculator xsi:type="query:JavaModelQuery" href="modisco:/query/_example_jdkAndEclipseQuerySet#isImpl"/> | |
| </defaultValue> | |
| </customizedFeatures> | |
| </types> | |
| </uicustom:MetamodelView> |