Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 685ba7d5bbf73a1c7dffc5676a31f58a3c060658 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<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/papyrus/emf/facet/custom/0.2.incubation/custom" xmlns:customQuery="http://www.eclipse.org/papyrus/emf/facet/custom/0.3.incubation/query" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:efacet="http://www.eclipse.org/papyrus/emf/facet/efacet/0.2.incubation/efacet" xmlns:javaQuery="http://www.eclipse.org/papyrus/emf/facet/query/java/0.2.incubation/javaquery" name="OpenedPage">
  <eClassifiers xsi:type="efacet:Facet" name="PapyrusPage" instanceClassName="" documentation="a page can be a table or a diagram for example" conformanceTypedElement="//PapyrusPage/isPage">
    <extendedMetaclass href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
    <facetOperations name="isPage">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
      <query xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.papyrus.views.modelexplorer.queries.IsOpenedPage"/>
    </facetOperations>
  </eClassifiers>
  <eClassifiers xsi:type="custom:FacetCustomization" name="PapyrusPage" extendedFacets="//PapyrusPage">
    <facetOperations name="PageOvelayIcon" documentation="display the icon if the page is opened in the model">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/papyrus/emf/facet/custom/0.2.incubation/custom_primitive_types#//Image"/>
      <eParameters name="eObject">
        <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
      </eParameters>
      <query xsi:type="customQuery:URIImageQuery" uri="platform:/plugin/org.eclipse.papyrus.views.modelexplorer/icons/opened.gif"/>
      <override xsi:type="efacet:FacetOperation" href="../../../plugin/org.eclipse.papyrus.emf.facet.custom.ui/resources/customproperties.efacet#//CustomizedEObject/topRightOverlay"/>
    </facetOperations>
  </eClassifiers>
</custom:Customization>

Back to the top