Skip to content

Commit 2b12ab1

Browse files
committed
New entry for The PerspectiveSwitcher respects the
IPresentationEngine.NO_MOVE tag
1 parent 05cd6ce commit 2b12ab1

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

news/4.39/platform_isv.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,30 @@
22

33
A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgements.md#eclipse-platform) or [contributed to Equinox](acknowledgements.md#equinox) in this release!
44

5-
<!--
65
---
76
## Platform Changes
8-
-->
7+
8+
### Perspective Switcher Respects IPresentationEngine.NO_MOVE
9+
10+
<details>
11+
<summary>Contributors</summary>
12+
13+
- [Lars Vogel](https://github.com/vogella)
14+
</details>
15+
16+
The perspective switcher now respects the `IPresentationEngine.NO_MOVE` tag.
17+
This enhancement prevents drag-and-drop reordering of perspective items if the perspective switcher tool control has this tag applied.
18+
Developers can programmatically lock or unlock this reordering feature by adding or removing the `IPresentationEngine.NO_MOVE` tag to the tool control.
19+
20+
Example usage (programmatic):
21+
22+
```java
23+
// To lock the perspective switcher reordering:
24+
toolControl.getTags().add(IPresentationEngine.NO_MOVE);
25+
// To unlock:
26+
toolControl.getTags().remove(IPresentationEngine.NO_MOVE);
27+
```
28+
929

1030
<!--
1131
---

0 commit comments

Comments
 (0)