Skip to content

Commit 43bb60b

Browse files
Felix-Schmidmerks
authored andcommitted
Add N&N for LTK copy refactoring
1 parent e07d1ee commit 43bb60b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

news/4.41/platform_isv.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@ A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgeme
1616
`ImageDescriptor` now provides `asDisabledDescriptor()`, which returns a lazily created, shared `ImageDescriptor` for the disabled version of the image.
1717
This allows you to use a single descriptor with a `ResourceManager` to share both the original and disabled images, instead of managing two independent descriptors.
1818

19+
## Language Toolkit (LTK)
20+
21+
### Copy Refactoring Support
22+
<details>
23+
<summary>Contributors</summary>
24+
25+
- [Felix Schmid](https://github.com/Felix-Schmid)
26+
</details>
27+
28+
LTK already supported refactoring operations for moving, renaming, and deleting resources, but part of the infrastructure for copying was missing.
29+
Copy participants contributed via the `org.eclipse.ltk.core.refactoring.copyParticipants` extension point are now invoked when resources are copied.
30+
31+
These copy participants can perform refactorings, such as adjusting package names for specific languages.
32+
For example, the Eclipse 4diac IDE includes a participant that updates package names to match the new folder structure when resources are copied.
33+
It can be found [here](https://github.com/eclipse-4diac/4diac-ide/blob/develop/plugins/org.eclipse.fordiac.ide.typemanagement/src/org/eclipse/fordiac/ide/typemanagement/refactoring/copy/CopyTypeParticipant.java).
34+
1935
<!--
2036
---
2137
## SWT Changes

0 commit comments

Comments
 (0)