|
Lines 8-14
Link Here
|
| 8 |
icon="icons//full/obj16/sourceEditor.gif" |
8 |
icon="icons//full/obj16/sourceEditor.gif" |
| 9 |
extensions="jsp, jsf, jspf, jspx, tag, tagf" |
9 |
extensions="jsp, jsf, jspf, jspx, tag, tagf" |
| 10 |
contributorClass="org.eclipse.jst.jsp.ui.internal.editor.ActionContributorJSP" |
10 |
contributorClass="org.eclipse.jst.jsp.ui.internal.editor.ActionContributorJSP" |
| 11 |
class="org.eclipse.jst.jsp.ui.internal.editor.StructuredTextEditorJSP" |
11 |
class="org.eclipse.wst.sse.ui.internal.StructuredTextEditor" |
| 12 |
symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
12 |
symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
| 13 |
id="org.eclipse.jst.jsp.core.jspsource.source"> |
13 |
id="org.eclipse.jst.jsp.core.jspsource.source"> |
| 14 |
<contentTypeBinding |
14 |
<contentTypeBinding |
|
Lines 277-315
Link Here
|
| 277 |
<!-- JSP Editor specific actions --> |
277 |
<!-- JSP Editor specific actions --> |
| 278 |
<!--======================================================================================--> |
278 |
<!--======================================================================================--> |
| 279 |
<extension point="org.eclipse.ui.commands"> |
279 |
<extension point="org.eclipse.ui.commands"> |
| 280 |
<scope |
|
|
| 281 |
name="%scope.structured.text.editor.jsp.name" |
| 282 |
parent="org.eclipse.ui.textEditorScope" |
| 283 |
description="%scope.structured.text.editor.jsp.description" |
| 284 |
id="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" /> |
| 285 |
|
| 286 |
<!-- dmw 6/6 removed from 'scope' parentId="org.eclipse.ui.textEditorScope" --> |
| 287 |
<!-- rename refactor --> |
280 |
<!-- rename refactor --> |
| 288 |
<command |
281 |
<command |
| 289 |
name="%command.jsp.refactor.rename.name" |
282 |
name="%command.jsp.refactor.rename.name" |
| 290 |
description="%command.jsp.refactor.rename.description" |
283 |
description="%command.jsp.refactor.rename.description" |
| 291 |
category="org.eclipse.ui.category.edit" |
284 |
categoryId="org.eclipse.ui.category.edit" |
| 292 |
id="org.eclipse.jst.jsp.ui.refactor.rename" /> |
285 |
id="org.eclipse.jst.jsp.ui.refactor.rename" /> |
| 293 |
|
286 |
|
| 294 |
<keyBinding |
|
|
| 295 |
string="Alt+Shift+R" |
| 296 |
scope="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
| 297 |
command="org.eclipse.jst.jsp.ui.refactor.rename" |
| 298 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration" /> |
| 299 |
|
| 300 |
<!-- move refactor --> |
287 |
<!-- move refactor --> |
| 301 |
<command |
288 |
<command |
| 302 |
name="%command.jsp.refactor.move.name" |
289 |
name="%command.jsp.refactor.move.name" |
| 303 |
description="%command.jsp.refactor.move.description" |
290 |
description="%command.jsp.refactor.move.description" |
| 304 |
category="org.eclipse.ui.category.edit" |
291 |
categoryId="org.eclipse.ui.category.edit" |
| 305 |
id="org.eclipse.jst.jsp.ui.refactor.move" /> |
292 |
id="org.eclipse.jst.jsp.ui.refactor.move" /> |
|
|
293 |
</extension> |
| 294 |
|
| 295 |
<!-- Keybinding scope for jsp source editor --> |
| 296 |
<extension point="org.eclipse.ui.contexts"> |
| 297 |
<context |
| 298 |
name="%scope.structured.text.editor.jsp.name" |
| 299 |
parentId="org.eclipse.ui.textEditorScope" |
| 300 |
description="%scope.structured.text.editor.jsp.description" |
| 301 |
id="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"> |
| 302 |
</context> |
| 303 |
</extension> |
| 304 |
|
| 305 |
<!-- Keybindings for jsp source editor --> |
| 306 |
<extension point="org.eclipse.ui.bindings"> |
| 307 |
<!-- rename refactor --> |
| 308 |
<key |
| 309 |
sequence="Alt+Shift+R" |
| 310 |
contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
| 311 |
commandId="org.eclipse.jst.jsp.ui.refactor.rename" |
| 312 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 313 |
</key> |
| 306 |
|
314 |
|
| 307 |
<keyBinding |
315 |
<!-- move refactor --> |
| 308 |
string="Alt+Shift+V" |
316 |
<key |
| 309 |
scope="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
317 |
sequence="Alt+Shift+V" |
| 310 |
command="org.eclipse.jst.jsp.ui.refactor.move" |
318 |
contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
| 311 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration" /> |
319 |
commandId="org.eclipse.jst.jsp.ui.refactor.move" |
| 312 |
|
320 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
|
|
321 |
</key> |
| 313 |
</extension> |
322 |
</extension> |
| 314 |
|
323 |
|
| 315 |
<!--======================================================================================--> |
324 |
<!--======================================================================================--> |
|
Lines 434-438
Link Here
|
| 434 |
</viewerContribution> |
443 |
</viewerContribution> |
| 435 |
</extension> |
444 |
</extension> |
| 436 |
|
445 |
|
| 437 |
|
446 |
<extension point="org.eclipse.ui.editorActions"> |
|
|
447 |
<editorContribution |
| 448 |
id="org.eclipse.jst.jsp.core.jspsource.source.editorActions" |
| 449 |
targetID="org.eclipse.jst.jsp.core.jspsource.source"> |
| 450 |
<action |
| 451 |
id="CleanupDocument" |
| 452 |
label="%CleanupDocument_label" |
| 453 |
definitionId="org.eclipse.wst.sse.ui.cleanup.document" |
| 454 |
tooltip="%CleanupDocument_tooltip" |
| 455 |
class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate" |
| 456 |
actionID="CleanupDocument"> |
| 457 |
</action> |
| 458 |
<action |
| 459 |
id="ToggleComment" |
| 460 |
label="%ToggleComment_label" |
| 461 |
definitionId="org.eclipse.wst.sse.ui.toggle.comment" |
| 462 |
tooltip="%ToggleComment_tooltip" |
| 463 |
class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate" |
| 464 |
actionID="ToggleComment"> |
| 465 |
</action> |
| 466 |
<action |
| 467 |
id="AddBlockComment" |
| 468 |
label="%AddBlockComment_label" |
| 469 |
definitionId="org.eclipse.wst.sse.ui.add.block.comment" |
| 470 |
tooltip="%AddBlockComment_tooltip" |
| 471 |
class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate" |
| 472 |
actionID="AddBlockComment"> |
| 473 |
</action> |
| 474 |
<action |
| 475 |
id="RemoveBlockComment" |
| 476 |
label="%RemoveBlockComment_label" |
| 477 |
definitionId="org.eclipse.wst.sse.ui.remove.block.comment" |
| 478 |
tooltip="%RemoveBlockComment_tooltip" |
| 479 |
class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate" |
| 480 |
actionID="RemoveBlockComment"> |
| 481 |
</action> |
| 482 |
<action |
| 483 |
id="RenameElement" |
| 484 |
label="%RenameElement_label" |
| 485 |
definitionId="org.eclipse.jst.jsp.ui.refactor.rename" |
| 486 |
class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPRenameElementActionDelegate" |
| 487 |
actionID="RenameElement"> |
| 488 |
</action> |
| 489 |
<action |
| 490 |
id="MoveElement" |
| 491 |
label="%MoveElement_label" |
| 492 |
definitionId="org.eclipse.jst.jsp.ui.refactor.move" |
| 493 |
class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMoveElementActionDelegate" |
| 494 |
actionID="MoveElement"> |
| 495 |
</action> |
| 496 |
<action |
| 497 |
id="FindOccurrences" |
| 498 |
label="%FindOccurrences_label" |
| 499 |
definitionId="org.eclipse.wst.sse.ui.search.find.occurrences" |
| 500 |
class="org.eclipse.jst.jsp.ui.internal.java.search.JSPFindOccurrencesActionDelegate" |
| 501 |
actionID="FindOccurrences"> |
| 502 |
</action> |
| 503 |
<action |
| 504 |
id="StructureSelectEnclosing" |
| 505 |
label="%StructureSelectEnclosing_label" |
| 506 |
definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing" |
| 507 |
tooltip="%StructureSelectEnclosing_tooltip" |
| 508 |
class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate" |
| 509 |
actionID="StructureSelectEnclosing"> |
| 510 |
</action> |
| 511 |
<action |
| 512 |
id="StructureSelectNext" |
| 513 |
label="%StructureSelectNext_label" |
| 514 |
definitionId="org.eclipse.wst.sse.ui.structure.select.next" |
| 515 |
tooltip="%StructureSelectNext_tooltip" |
| 516 |
class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate" |
| 517 |
actionID="StructureSelectNext"> |
| 518 |
</action> |
| 519 |
<action |
| 520 |
id="StructureSelectPrevious" |
| 521 |
label="%StructureSelectPrevious_label" |
| 522 |
definitionId="org.eclipse.wst.sse.ui.structure.select.previous" |
| 523 |
tooltip="%StructureSelectPrevious_tooltip" |
| 524 |
class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate" |
| 525 |
actionID="StructureSelectPrevious"> |
| 526 |
</action> |
| 527 |
<action |
| 528 |
id="StructureSelectHistory" |
| 529 |
label="%StructureSelectHistory_label" |
| 530 |
definitionId="org.eclipse.wst.sse.ui.structure.select.last" |
| 531 |
tooltip="%StructureSelectHistory_tooltip" |
| 532 |
class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate" |
| 533 |
actionID="StructureSelectHistory"> |
| 534 |
</action> |
| 535 |
</editorContribution> |
| 536 |
</extension> |
| 438 |
</plugin> |
537 |
</plugin> |