Skip to content
Snippets Groups Projects
Commit 2575a47a authored by Simon Barner's avatar Simon Barner
Browse files

Add observeVisible()

* As replacement for the now deprecated
  SWTObservables.observeVisible()

Issue-Ref: 3569
Issue-Url: https://af3-developer.fortiss.org/issues/3569



Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parent 8f112fc1
No related branches found
No related tags found
1 merge request!323569: Avoid warnings
ActionUtils.java 4553e487264e3d1f86f4767da4a7400cce4b9a5d GREEN ActionUtils.java 4553e487264e3d1f86f4767da4a7400cce4b9a5d GREEN
ConstraintsUIUtils.java 69d5e08bbf768baf2790380e36f1020ef826a33e GREEN ConstraintsUIUtils.java 69d5e08bbf768baf2790380e36f1020ef826a33e GREEN
CopyPasteUtils.java bbc5cf9c9dc03ebf8dc75d42c919fe6eb60b388e GREEN CopyPasteUtils.java bbc5cf9c9dc03ebf8dc75d42c919fe6eb60b388e GREEN
DataBindingUtils.java 3a51d9b5681762dd40751e477aa4862baaed4052 YELLOW DataBindingUtils.java 631c47881caa13fc567679a7e4416eb777af0713 YELLOW
DragAndDropUtils.java 7aab91518aa12d76533a345bf6ed0be9ac7ff0e5 GREEN DragAndDropUtils.java 7aab91518aa12d76533a345bf6ed0be9ac7ff0e5 GREEN
EObjectSelectionUtils.java 128cf8f96c6b9478171dff3deda662d5934f5f44 GREEN EObjectSelectionUtils.java 128cf8f96c6b9478171dff3deda662d5934f5f44 GREEN
HierarchicalNameViewerComparator.java 199d82e392d4e437810cc65c0fc521dab52038e0 GREEN HierarchicalNameViewerComparator.java 199d82e392d4e437810cc65c0fc521dab52038e0 GREEN
......
...@@ -234,6 +234,19 @@ public final class DataBindingUtils { ...@@ -234,6 +234,19 @@ public final class DataBindingUtils {
return WidgetProperties.selection().observe(widget); return WidgetProperties.selection().observe(widget);
} }
/**
* Returns an observable value tracking the visible state of the given
* {@link Control}.
*
* @param control
* the {@link Control}
* @return an observable value tracking the visible state of the given
* {@link Control}.
*/
public static ISWTObservableValue observeVisible(Control control) {
return WidgetProperties.visible().observe(control);
}
/** /**
* Performs a complex binding of a cell editor control to a model element. The * Performs a complex binding of a cell editor control to a model element. The
* validation is performed on modification (i.e. always), while model * validation is performed on modification (i.e. always), while model
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment