Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a352988ca39cff55e9d2b5c2bac494e915953dee (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
149
150
151
152
153
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

    <extension-point id="parserContribution" 
    	name="Changelog Language Parser Contribution" 
    	schema="schema/parserContribution.exsd"/>
    <extension-point id="formatterContribution" name="Changelog Format Contribution" schema="schema/formatterContribution.exsd"/>
    <extension-point id="editorContribution" name="ChangeLog Editor Contribution" schema="schema/editorContribution.exsd"/>
    <extension-point id="locationContribution" name="ChangeLog location contribution" schema="schema/locationContribution.exsd"/>   
 
    <extension
  		point="org.eclipse.ui.commands">
		
		<category
			name="Changelog"
			description="Changelog key bindings"
			id="org.eclipse.linuxtools.changelog">
		</category>

		<command
        categoryId="org.eclipse.linuxtools.changelog"
        description="%insertCLEntryDesc"
        id="org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand"
        name="%insertCLEntry">
		</command>
  <command
        categoryId="org.eclipse.linuxtools.changelog"
        description="Prepares Changelog"
        id="org.eclipse.linuxtools.changelog.core.preparechangelog"
        name="Prepare Changelog"/>
  <command
        categoryId="org.eclipse.linuxtools.changelog"
        description="Copies latest changelog entry to clipboard"
        id="org.eclipse.linuxtools.changelog.core.prepareCommit"
        name="Prepare Commit"/>
  <command
        categoryId="org.eclipse.linuxtools.changelog"
        description="Formats ChangeLog"
        id="org.eclipse.linuxtools.changelog.core.formatChangeLog"
        name="Format ChangeLog"/>
	</extension>
	
	 <!-- Actions -->	
	<extension point="org.eclipse.ui.actionSets">
 		<actionSet label="%clActionSet" visible="true" id="org.eclipse.linuxtools.changelog.actionSet">
        	<action
            	definitionId="org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand"
				label="%clEntry"
				class="org.eclipse.linuxtools.changelog.core.actions.InsertChangeLogKeyHandler"
				tooltip="%clEntry"
				menubarPath="edit/"
				id="org.eclipse.linuxtools.changelog.core.actions.KeyAction">
 			</action>
		</actionSet>
	</extension>
       
	<extension point = "org.eclipse.ui.preferencePages">
		<page 
			id="org.eclipse.linuxtools.changelog.core.Page1"
			class="org.eclipse.linuxtools.changelog.core.ChangeLogPreferencesPage"
			name="%prefTitle">
       	</page>
	</extension>
   		

    <extension
        point="org.eclipse.linuxtools.changelog.core.formatterContribution">
        <formatter
              inFile="false"
              class="org.eclipse.linuxtools.changelog.core.formatters.GNUFormat"
              id="org.eclipse.linuxtools.changelog.GNUFormat"
              name="%gnuFormatter">
              <fileName name="ChangeLog" />  
        </formatter>        
  </extension>
    <extension
          point="org.eclipse.ui.editors">
       <editor
             class="org.eclipse.linuxtools.changelog.core.editors.ChangeLogEditor"
             default="true"
             filenames="ChangeLog"
             icon="icons/file_obj.gif"
             id="org.eclipse.linuxtools.changelog.core.editor6"
             name="ChangeLog Editor"/>
    </extension>
    <extension
          point="org.eclipse.linuxtools.changelog.core.editorContribution">
       <editor
             class="org.eclipse.linuxtools.changelog.core.editors.GNUEditorConfiguration"
             id="org.eclipse.linuxtools.changelog.core.gnueditor"
             name="GNU Editor"/>
    </extension>
    <extension
          point="org.eclipse.ui.navigator.viewer">
       <viewerActionBinding viewerId="org.eclipse.team.cvs.ui.workspaceSynchronization">
          <includes>
             <actionExtension pattern="org.eclipse.linuxtools.changelog.core.ui.ChangeLogActioniProvider"/>
          </includes>
       </viewerActionBinding>
    </extension>
    <extension
          point="org.eclipse.ui.navigator.navigatorContent">
       <actionProvider
             class="org.eclipse.linuxtools.changelog.core.ui.ChangeLogActionProvider"
             id="org.eclipse.linuxtools.changelog.core.ui.ChangeLogActioniProvider">
          <enablement>
             <adapt type="org.eclipse.core.resources.mapping.ResourceMapping"/>
          </enablement>
       </actionProvider>
    </extension>
    <extension
          point="org.eclipse.ui.bindings">
       <key
             commandId="org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand"
             contextId="org.eclipse.ui.textEditorScope"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="Ctrl+Alt+C"/>
       <scheme
             id="org.eclipse.linuxtools.changelog.keyscheme.default"
             name="default"/>
       <key
             commandId="org.eclipse.linuxtools.changelog.core.preparechangelog"
             contextId="org.eclipse.ui.contexts.window"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="Ctrl+Alt+P"/>
       <key
             commandId="org.eclipse.linuxtools.changelog.core.prepareCommit"
             contextId="org.eclipse.ui.textEditorScope"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="Ctrl+Alt+V"/>
       <key
             commandId="org.eclipse.linuxtools.changelog.core.formatChangeLog"
             contextId="org.eclipse.ui.textEditorScope"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="ESC Ctrl+F"/>
    </extension>
    <extension
          point="org.eclipse.ui.handlers">
       <handler
             class="org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler"
             commandId="org.eclipse.linuxtools.changelog.core.preparechangelog"/>
       <handler
             class="org.eclipse.linuxtools.changelog.core.actions.InsertChangeLogKeyHandler"
             commandId="org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand"/>
       <handler
             class="org.eclipse.linuxtools.changelog.core.actions.PrepareCommitHandler"
             commandId="org.eclipse.linuxtools.changelog.core.prepareCommit"/>
       <handler
             class="org.eclipse.linuxtools.changelog.core.actions.FormatChangeLogAction"
             commandId="org.eclipse.linuxtools.changelog.core.formatChangeLog"/>
    </extension>
</plugin>

Back to the top