Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6b4ef4cd01897df686b2f12ee4942327289ec760 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?><!--
    Copyright (c) 2009 Tasktop Technologies 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:
         Tasktop Technologies - initial API and implementation
 -->

<plugin>
   <extension-point id="pluginRepositoryMappings" name="Plug-in to Repository Mappings" schema="schema/pluginRepositoryMappings.exsd"/>
   <extension-point id="support" name="Integrated Support" schema="schema/support.exsd"/>
   <extension-point id="taskContributors" name="Task Contributors" schema="schema/taskContributors.exsd"/>
   
   <extension point="org.eclipse.ui.popupMenus">
        <objectContribution
              adaptable="false"
              id="org.eclipse.mylyn.internal.provisional.tasks.bugs.objectContribution"
              objectClass="org.eclipse.ui.internal.views.log.LogEntry">
			<action
		         class="org.eclipse.mylyn.internal.tasks.bugs.actions.NewTaskFromErrorAction"
		         enablesFor="1"
		         icon="icons/etool16/task-bug-new.gif"
		         menubarPath="org.eclipse.pde.runtime.LogView"
		         id="org.eclipse.mylyn.tasklist.actions.newTaskFromErrorLog"
		         label="%NewTaskFromErrorAction.label">
             </action>
        </objectContribution>
   </extension>

   <extension point="org.eclipse.ui.actionSets">
		<actionSet
            id="org.eclipse.mylyn.doc.actionSet"
            label="%actionSet.label"
            visible="true"> 
        <action
              class="org.eclipse.mylyn.internal.tasks.bugs.actions.ReportBugAction"
              icon="icons/etool16/task-bug-new.gif"
              id="org.eclipse.mylyn.tasks.ui.bug.report"
              label="%ReportBugAction.label"
              menubarPath="help/helpStart"
              style="push"
              tooltip="%ReportBugAction.tooltip"/> 
    	</actionSet>
   </extension>
  
   <extension
         point="org.eclipse.ui.handlers">
       <handler
            class="org.eclipse.mylyn.internal.tasks.bugs.actions.NewTaskFromMarkerHandler"
            commandId="org.eclipse.mylyn.tasks.bugs.commands.newTaskFromMarker">
            <activeWhen>
                <with variable="activePart">
                    <test
                         args="any"
                         property="org.eclipse.ui.ide.contentGenerator">
                    </test>
                </with>
            </activeWhen>
            <enabledWhen>
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate
                           ifEmpty="false"
                           operator="and">
                        <instanceof
                              value="org.eclipse.ui.internal.views.markers.MarkerEntry">
                        </instanceof>
                     </iterate>
                  </and>
            </enabledWhen>       
      </handler>
   </extension>
 
   <extension
         point="org.eclipse.ui.commands">
      <command
            description="%commands.newTaskFromMarker.description"
            id="org.eclipse.mylyn.tasks.bugs.commands.newTaskFromMarker"
            name="%commands.newTaskFromMarker.name">
      </command>
   </extension>
 
   <extension
         point="org.eclipse.ui.menus">
       <menuContribution
            locationURI="popup:org.eclipse.ui.ide.MarkersView?after=org.eclipse.ui.ide.markCompleted">
            <command
                  commandId="org.eclipse.mylyn.tasks.bugs.commands.newTaskFromMarker"
                  icon="icons/etool16/task-new.gif"
                  mnemonic="%commands.newTaskFromMarker.mnemonic"
                  style="push">
              <visibleWhen
                    checkEnabled="true">
              </visibleWhen>
           </command>
      </menuContribution>
   </extension>
   
   <extension
         point="org.eclipse.mylyn.commons.core.errorReporters">
      <errorReporter
            class="org.eclipse.mylyn.internal.tasks.bugs.TasksBugsPlugin$BugReporter"
            id="org.eclipse.mylyn.tasks.bugs.taskReporter"
            label="%BugReporter.label">
      </errorReporter>
   </extension>
  
</plugin>

Back to the top