summaryrefslogtreecommitdiff
path: root/org.tizen.nativeapp.assignmenttracing/fragment.xml
blob: b41938f02e88953df5f48043af51ae9c7fc0e6e4 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<fragment>
   <extension
         point="org.eclipse.ui.editors.annotationTypes">
      <type
            name="org.tizen.nativeapp.assignmenttracing.def">
      </type>
      <type
            name="org.tizen.nativeapp.assignmenttracing.use">
      </type>
      <type
            name="org.tizen.nativeapp.assignmenttracing.sel">
      </type>
   </extension>
   <extension
         point="org.eclipse.ui.editors.markerAnnotationSpecification">
      <specification
            annotationType="org.tizen.nativeapp.assignmenttracing.def"
            colorPreferenceKey="du.def.color"
            colorPreferenceValue="220,30,30"
            contributesToHeader="true"
            highlightPreferenceKey="du.def.highlight"
            highlightPreferenceValue="false"
            includeOnPreferencePage="true"
            label="Assignment Tracing - Assignment"
            overviewRulerPreferenceKey="du.def.rulers.overview"
            overviewRulerPreferenceValue="true"
            presentationLayer="6"
            textPreferenceKey="du.def.text"
            textPreferenceValue="true"
            textStylePreferenceKey="du.def.textstyle"
            textStylePreferenceValue="BOX"
            verticalRulerPreferenceKey="du.def.rulers.vertical"
            verticalRulerPreferenceValue="false">
      </specification>
      <specification
            annotationType="org.tizen.nativeapp.assignmenttracing.use"
            colorPreferenceKey="du.use.color"
            colorPreferenceValue="0,0,250"
            contributesToHeader="true"
            highlightPreferenceKey="du.use.highlight"
            highlightPreferenceValue="false"
            includeOnPreferencePage="true"
            label="Assignment Tracing - Use"
            overviewRulerPreferenceKey="du.use.rulers.overview"
            overviewRulerPreferenceValue="true"
            presentationLayer="5"
            textPreferenceKey="du.use.text"
            textPreferenceValue="true"
            textStylePreferenceKey="du.use.textstyle"
            textStylePreferenceValue="BOX"
            verticalRulerPreferenceKey="du.use.rulers.vertical"
            verticalRulerPreferenceValue="false">
      </specification>
      <specification
            annotationType="org.tizen.nativeapp.assignmenttracing.sel"
            colorPreferenceKey="du.sel.color"
            colorPreferenceValue="150,150,250"
            contributesToHeader="true"
            highlightPreferenceKey="du.sel.highlight"
            highlightPreferenceValue="true"
            includeOnPreferencePage="true"
            label="Assignment Tracing - Selection"
            overviewRulerPreferenceKey="du.sel.rulers.overview"
            overviewRulerPreferenceValue="true"
            presentationLayer="7"
            textPreferenceKey="du.sel.text"
            textPreferenceValue="true"
            textStylePreferenceKey="du.sel.textstyle"
            textStylePreferenceValue="BOX"
            verticalRulerPreferenceKey="du.sel.rulers.vertical"
            verticalRulerPreferenceValue="false">
      </specification>
   </extension>

   <extension
         point="org.eclipse.ui.editorActions">
      <editorContribution
            id="org.tizen.nativeapp.assignmenttracing.duchain-action"
            targetID="org.tizen.nativeapp.contentassist.SLPCEditor">
         <action
               class="org.tizen.nativeapp.assignmenttracing.ui.TracingActionDelegate"
               icon="icons/duchain.gif"
               id="org.tizen.nativeapp.assignmenttracing.mark-duchain"
               label="Assignment Tracing"
               state="true"
               style="toggle"
               tooltip="Toggle Assignment Tracing">
         </action>
      </editorContribution>
   </extension>
   
      <extension
         point="org.eclipse.ui.editorActions">
      <editorContribution
            id="org.tizen.nativeapp.assignmenttracing.duchain-action-c"
            targetID="org.eclipse.cdt.ui.editor.CEditor">
         <action
               class="org.tizen.nativeapp.assignmenttracing.ui.TracingActionDelegate"
               icon="icons/duchain.gif"
               id="org.tizen.nativeapp.assignmenttracing.mark-duchain"
               label="Assignment Tracing"
               state="true"
               style="toggle"
               tooltip="Toggle Assignment Tracing">
         </action>
      </editorContribution>
   </extension>
   
   <!-- Accelerator key -->
 <extension point="org.eclipse.ui.commands">
 <category
           id="org.tizen.nativeapp.assignmenttracing.commands"
           name="Assignment Tracing"
           description="Assignment Tracing Commands"/>
   <command name="Assignment Tracing - Previous"
        description="Move cursor to the previous Assignment Tracing Result"
        categoryId="org.tizen.nativeapp.assignmenttracing.commands"
        defaultHandler="org.tizen.nativeapp.assignmenttracing.ui.TracingCommandHandler"
        id="org.tizen.nativeapp.assignmenttracing.moveprevious">
   </command>
   <command name="Assignment Tracing - Next"
        description="Move cursor to the next Assignment Tracing Result"
        categoryId="org.tizen.nativeapp.assignmenttracing.commands"
        defaultHandler="org.tizen.nativeapp.assignmenttracing.ui.TracingCommandHandler"
        id="org.tizen.nativeapp.assignmenttracing.movenext">
   </command>
</extension>

<extension point="org.eclipse.ui.bindings">
    <key sequence="Ctrl+["
        commandId="org.tizen.nativeapp.assignmenttracing.moveprevious"
        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
        contextId="org.eclipse.cdt.ui.cEditorScope"/>
    <key sequence="Ctrl+]"
        commandId="org.tizen.nativeapp.assignmenttracing.movenext"
        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
        contextId="org.eclipse.cdt.ui.cEditorScope"/>
</extension>
      
</fragment>