1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.2"?>
3<plugin>
4   <extension-point id="toolsLocator" name="%extension-point.name.Tools_Locator" schema="schema/toolsLocator.exsd"/>
5   <extension-point id="debuggerConnector" name="%extension-point.name.Debugger_Connector" schema="schema/debuggerConnector.exsd"/>
6   <extension-point id="sourceRevealer" name="%extension-point.name.Source_Revealer" schema="schema/sourceRevealer.exsd"/>
7   <extension-point id="traceviewLauncher" name="%extension-point.name.TreeView_Laucher" schema="schema/traceviewLauncher.exsd"/>
8   <extension-point id="clientAction" name="%extension-point.name.ClientAction" schema="schema/clientAction.exsd"/>
9
10   <extension
11         point="org.eclipse.ui.views">
12      <category
13            name="%category.name"
14            id="com.android.ide.eclipse.ddms.views.category">
15      </category>
16      <view
17            allowMultiple="false"
18            category="com.android.ide.eclipse.ddms.views.category"
19            class="com.android.ide.eclipse.ddms.views.DeviceView"
20            icon="icons/device.png"
21            id="com.android.ide.eclipse.ddms.views.DeviceView"
22            name="%view.name.Devices">
23      </view>
24      <!-- Deprecate the old logcat view. It should be removed entirely
25           after the preview release -->
26      <view
27            allowMultiple="false"
28            category="com.android.ide.eclipse.ddms.views.category"
29            class="com.android.ide.eclipse.ddms.views.OldLogCatView"
30            icon="icons/android.png"
31            id="com.android.ide.eclipse.ddms.views.OldLogCatView"
32            name="LogCat (deprecated)"/>
33      <view
34            allowMultiple="false"
35            category="com.android.ide.eclipse.ddms.views.category"
36            class="com.android.ide.eclipse.ddms.views.LogCatView"
37            icon="icons/logcat.png"
38            id="com.android.ide.eclipse.ddms.views.LogCatView"
39            name="%view.name.LogCat"/>
40      <!-- Disabled for now due to AWT/SWT bridge issue on Leopard.
41      <view
42            allowMultiple="false"
43            category="com.android.ide.eclipse.ddms.views.category"
44            class="com.android.ide.eclipse.ddms.views.EventLogView"
45            icon="icons/android.png"
46            id="com.android.ide.eclipse.ddms.views.EventLogView"
47            name="Event Log"/> -->
48      <view
49            allowMultiple="false"
50            category="com.android.ide.eclipse.ddms.views.category"
51            class="com.android.ide.eclipse.ddms.views.ThreadView"
52            icon="icons/thread.png"
53            id="com.android.ide.eclipse.ddms.views.ThreadView"
54            name="%view.name.Threads"/>
55      <view
56            allowMultiple="false"
57            category="com.android.ide.eclipse.ddms.views.category"
58            class="com.android.ide.eclipse.ddms.views.HeapView"
59            icon="icons/heap.png"
60            id="com.android.ide.eclipse.ddms.views.HeapView"
61            name="%view.name.Heap"/>
62      <view
63            allowMultiple="false"
64            category="com.android.ide.eclipse.ddms.views.category"
65            class="com.android.ide.eclipse.ddms.views.FileExplorerView"
66            icon="icons/android.png"
67            id="com.android.ide.eclipse.ddms.views.FileExplorerView"
68            name="%view.name.File_Explorer"/>
69      <view
70            allowMultiple="false"
71            category="com.android.ide.eclipse.ddms.views.category"
72            class="com.android.ide.eclipse.ddms.views.EmulatorControlView"
73            icon="icons/emulator-16.png"
74            id="com.android.ide.eclipse.ddms.views.EmulatorControlView"
75            name="%view.name.Emulator_Control"/>
76      <view
77            allowMultiple="false"
78            category="com.android.ide.eclipse.ddms.views.category"
79            class="com.android.ide.eclipse.ddms.views.AllocTrackerView"
80            icon="icons/heap.png"
81            id="com.android.ide.eclipse.ddms.views.AllocTrackerView"
82            name="%view.name.Allocation_Tracker"/>
83      <view
84            category="com.android.ide.eclipse.ddms.views.category"
85            class="com.android.ide.eclipse.ddms.views.NetworkStatisticsView"
86            icon="icons/networkstats.png"
87            id="com.android.ide.eclipse.ddms.views.NetworkStatsView"
88            name="%view.name.Network_Stats"
89            restorable="true">
90      </view>
91      <view
92            category="com.android.ide.eclipse.ddms.views.category"
93            class="com.android.ide.eclipse.ddms.views.SysInfoView"
94            id="com.android.ide.eclipse.ddms.views.SysInfoView"
95            name="%view.name.SysInfo"
96            restorable="true">
97      </view>
98   </extension>
99   <extension
100         point="org.eclipse.ui.editors">
101      <editor
102            class="com.android.ide.eclipse.ddms.editors.UiAutomatorViewer"
103            default="true"
104            extensions="uix"
105            icon="icons/uiautomator.png"
106            id="com.android.ide.eclipse.ddms.editors.UiAutomatorViewer"
107            name="UI Automator Hierarchy Viewer">
108      </editor>
109   </extension>
110   <extension
111         point="org.eclipse.ui.perspectives">
112      <perspective
113            class="com.android.ide.eclipse.ddms.Perspective"
114            icon="icons/ddms-16.png"
115            id="com.android.ide.eclipse.ddms.Perspective"
116            name="%perspective.name.DDMS"/>
117   </extension>
118   <extension
119         point="org.eclipse.core.runtime.preferences">
120      <initializer class="com.android.ide.eclipse.ddms.preferences.PreferenceInitializer"/>
121   </extension>
122   <extension
123         point="org.eclipse.ui.perspectiveExtensions">
124      <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">
125         <perspectiveShortcut id="com.android.ide.eclipse.ddms.Perspective"/>
126      </perspectiveExtension>
127      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
128         <perspectiveShortcut id="com.android.ide.eclipse.ddms.Perspective"/>
129      </perspectiveExtension>
130      <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
131         <perspectiveShortcut id="com.android.ide.eclipse.ddms.Perspective"/>
132         <view id="com.android.ide.eclipse.ddms.views.LogCatView"
133           relative="org.eclipse.ui.views.ProblemView"
134           relationship="stack" />
135      </perspectiveExtension>
136   </extension>
137   <extension
138         point="org.eclipse.ui.preferencePages">
139      <page
140            category="com.android.ide.eclipse.preferences.main"
141            class="com.android.ide.eclipse.ddms.preferences.PreferencePage"
142            id="com.android.ide.eclipse.ddms.preferences.PreferencePage"
143            name="%page.name.DDMS"/>
144      <page
145            category="com.android.ide.eclipse.preferences.main"
146            class="com.android.ide.eclipse.ddms.preferences.LogCatPreferencePage"
147            id="com.android.ide.eclipse.ddms.preferences.LogCatPreferencePage"
148            name="%page.name.LogCat"/>
149      <page
150            category="com.android.ide.eclipse.ddms.preferences.LogCatPreferencePage"
151            class="com.android.ide.eclipse.ddms.preferences.LogCatColorsPage"
152            id="com.android.ide.eclipse.ddms.preferences.LogCatColorsPage"
153            name="Colors">
154      </page>
155   </extension>
156</plugin>
157