Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2ffd9b035aa6dfda240ec1a4d1b1e510c389b816 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
   <extension-point id="pluginRepositoryMappings" name="Plug-in to Repository Mappings" schema="schema/pluginRepositoryMappings.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-repository-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/report-bug.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