File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
durian-swt/src/main/java/com/diffplug/common/swt Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
# DurianSwt releases
2
2
3
3
## [ Unreleased]
4
+ ### Added
5
+ - ` CoatMux.Layer ` now exposes its root ` Control ` instance ([ #12 ] ( https://github.com/diffplug/durian-swt/issues/12 ) ).
4
6
### Removed
5
7
- ** BREAKING** Removed ` ColorPool.getSystemColor() ` ([ #8 ] ( https://github.com/diffplug/durian-swt/issues/8 ) ).
6
8
- ** BREAKING** Switched type arguments of ` TypedDataField ` ([ #3 ] ( https://github.com/diffplug/durian-swt/issues/3 ) ).
Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ public RxGetter<Boolean> rxOnTop() {
82
82
return currentLayer .map (opt -> opt .isPresent () && opt .get () == this );
83
83
}
84
84
85
+ /** The control at the root of this layer. */
86
+ public Control getControl () { return control ; }
87
+
85
88
/** The handle which was returned by the {@link Coat.Returning}. */
86
89
public T getHandle () {
87
90
return handle ;
You can’t perform that action at this time.
0 commit comments