Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7c773e27a25fba00c983b1e40e87dba3adbf3f11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<!--
Copyright (c) 2006, 2009 Obeo.
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:
    Obeo - initial API and implementation
-->

<plugin>

  <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
    <factory 
       uri = "http://www.eclipse.org/emf/compare/examples/addressbook" 
       class = "org.eclipse.emf.compare.examples.addressbook.addressbook.provider.AddressbookItemProviderAdapterFactory"
       supportedTypes = 
         "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
          org.eclipse.emf.edit.provider.IStructuredItemContentProvider
          org.eclipse.emf.edit.provider.ITreeItemContentProvider
          org.eclipse.emf.edit.provider.IItemLabelProvider
          org.eclipse.emf.edit.provider.IItemPropertySource" />
  </extension>
  
  <extension point="org.eclipse.emf.ecore.generated_package">
    <package
       uri = "http://www.eclipse.org/emf/compare/examples/addressbook"
       class = "org.eclipse.emf.compare.examples.addressbook.addressbook.AddressbookPackage"
       genModel = "model/addressbook.genmodel" /> 
  </extension>


  <extension
    point = "org.eclipse.ui.newWizards">
    <category
      id = "org.eclipse.emf.ecore.Wizard.category.ID"
      name="%_UI_Wizard_category">
    </category>
    <wizard
      id = "addressbook.presentation.AddressbookModelWizardID"
      name = "%_UI_AddressbookModelWizard_label"
      class = "org.eclipse.emf.compare.examples.addressbook.addressbook.presentation.AddressbookModelWizard"
      category = "org.eclipse.emf.ecore.Wizard.category.ID"
      icon = "icons/full/obj16/AddressbookModelFile.gif">
      <description>%_UI_AddressbookModelWizard_description</description>
      <selection class = "org.eclipse.core.resources.IResource" />
    </wizard>
  </extension>

  <extension point = "org.eclipse.ui.editors">
    <editor
        id = "addressbook.presentation.AddressbookEditorID"
        name = "%_UI_AddressbookEditor_label"
        icon = "icons/full/obj16/AddressbookModelFile.gif"
        extensions = "addressbook"
        class = "org.eclipse.emf.compare.examples.addressbook.addressbook.presentation.AddressbookEditor" 
        contributorClass="org.eclipse.emf.compare.examples.addressbook.addressbook.presentation.AddressbookActionBarContributor" >
    </editor>
  </extension>
  <extension
        point="org.eclipse.emf.compare.match.engine">
     <matchengine
           engineClass="org.eclipse.emf.compare.examples.addressbook.service.AddressBookMatcher"
           fileExtension="addressbook"
           label="Address Book">
     </matchengine>
  </extension>    
</plugin>

Back to the top