Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c79daf007cda9553f389268d5a6787c71624bc05 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
	Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
	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:
	  Eike Stepper - initial API and implementation
-->

<plugin>

  <extension
        point="org.eclipse.net4j.util.elementProcessors">
     <elementProcessor class="org.eclipse.emf.cdo.ui.CDOInteractiveExceptionHandler"/>
  </extension>

   <extension
         point="org.eclipse.ui.views">
      <category
            id="org.eclipse.emf.cdo"
            name="%category.name.0">
      </category>
      <view
            category="org.eclipse.emf.cdo"
            class="org.eclipse.emf.cdo.internal.ui.views.CDOSessionsView"
            icon="platform:/plugin/org.eclipse.emf.cdo.ui.shared/icons/full/view16/cdo_sessions.gif"
            id="org.eclipse.emf.cdo.ui.CDOSessionsView"
            name="%view.name.0">
      </view>
      <view
            category="org.eclipse.emf.cdo"
            class="org.eclipse.emf.cdo.internal.ui.views.CDOWatchListView"
            icon="platform:/plugin/org.eclipse.emf.cdo.ui.shared/icons/full/view16/watch_list.gif"
            id="org.eclipse.emf.cdo.ui.CDOWatchListView"
            name="%view.name.1">
      </view>
      <view
            category="org.eclipse.emf.cdo"
            class="org.eclipse.emf.cdo.internal.ui.views.CDORemoteSessionsView"
            icon="platform:/plugin/org.eclipse.emf.cdo.ui.shared/icons/full/view16/watch_list.gif"
            id="org.eclipse.emf.cdo.ui.CDORemoteSessionsView"
            name="%view.name.2">
      </view>
   </extension>

   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <view
               id="org.eclipse.emf.cdo.ui.CDOSessionsView"
               ratio="0.2"
               relationship="bottom"
               relative="org.eclipse.ui.views.ResourceNavigator">
         </view>
      </perspectiveExtension>
   </extension>

  <extension point = "org.eclipse.ui.editors">
    <editor
        id = "org.eclipse.emf.cdo.ui.CDOEditor"
        name = "%editor.name.0"
        icon = "platform:/plugin/org.eclipse.emf.cdo.ui.shared/icons/full/obj16/cdo_editor.gif"
        extensions = "*"
        class = "org.eclipse.emf.cdo.internal.ui.editor.CDOEditor"
        contributorClass="org.eclipse.emf.cdo.internal.ui.editor.CDOActionBarContributor" >
    </editor>
  </extension>

  <extension
        point="org.eclipse.ui.preferencePages">
     <page
           class="org.eclipse.emf.cdo.internal.ui.preferences.CDOPreferencePage"
           id="org.eclipse.emf.cdo.ui.CDOPreferencePage"
           name="%page.name.0">
     </page>
     <page
           category="org.eclipse.emf.cdo.ui.CDOPreferencePage"
           class="org.eclipse.emf.cdo.internal.ui.preferences.CDOUIPreferencePage"
           id="org.eclipse.emf.cdo.ui.CDOUIPreferencePage"
           name="%page.name.1">
     </page>
  </extension>

  <extension
        point="org.eclipse.ui.decorators">
     <decorator
           class="org.eclipse.emf.cdo.ui.CDOLabelDecorator"
           id="org.eclipse.emf.cdo.ui.CDOLabelDecorator"
           label="%_UI_CDOLabelDecorator_label"
           lightweight="false"
           state="true">
        <enablement>
           <objectClass
                 name="org.eclipse.emf.cdo.CDOObject">
           </objectClass>
        </enablement>
        <description>
           %_UI_CDOLabelDecorator_description
        </description>
     </decorator>
     <!--
     <decorator
           icon="icons/full/ovr16/error.gif"
           id="org.eclipse.emf.cdo.ui.CDOSessionLabelDecorator"
           label="CDOSession Offline Label Decorator"
           lightweight="true"
           location="BOTTOM_LEFT"
           state="true">
        <enablement>
           <and>
              <objectClass name="org.eclipse.emf.cdo.session.CDOSession"/>
  						<test property="org.eclipse.emf.cdo.session.repositoryState" value="OFFLINE"/>
           </and>
        </enablement>
     </decorator>
     -->
  </extension>

  <extension
        point="org.eclipse.ui.perspectives">
     <perspective
           class="org.eclipse.emf.cdo.internal.ui.perspectives.CDOExplorerPerspective"
           icon="platform:/plugin/org.eclipse.emf.cdo.ui.shared/icons/full/view16/cdo_sessions.gif"
           id="org.eclipse.emf.cdo.ui.CDOExplorerPerspective"
           name="%perspective.name">
     </perspective>
  </extension>
  
  <extension
        point="org.eclipse.core.runtime.adapters">
     <factory
           adaptableType="org.eclipse.emf.cdo.session.CDOSession"
           class="org.eclipse.emf.cdo.internal.ui.CDOPropertyAdapterFactory">
        <adapter type="org.eclipse.ui.views.properties.IPropertySourceProvider"/>
     </factory>
     <factory
           adaptableType="org.eclipse.emf.cdo.view.CDOView"
           class="org.eclipse.emf.cdo.internal.ui.CDOPropertyAdapterFactory">
        <adapter type="org.eclipse.ui.views.properties.IPropertySourceProvider"/>
     </factory>
  </extension>

</plugin>

Back to the top