Revert "Usability fixes for GraphExplorerImpl -related WB selection propagation" This reverts commit 270834ce3962a4bca3945d06e642a99d21688c16.
Fixed GraphExplorerImpl to set selection upon keyboard-based selection Previously scrolling the selection using the keyboard and then pressing Enter to open the selected resource would result in the wrong resource being opened because the selection hadn't yet propagated through the postSelection event. gitlab #184 Change-Id: Ib1f837b3cb8eb70b32508e4abee36cfa995886ed
Usability fixes for GraphExplorerImpl -related WB selection propagation GraphExplorerImpl now uses JFace's OpenStrategy to implement the post selection provider mechanism which should work just like in JFace Viewers. SWTExplorer no longer listens to both selection and postSelection changes, which caused large amounts of unnecessary selection propagation to happen. It listens to postSelection if IPostSelectionProvider is available and selection if not. ModelledView did not implement IPostSelectionProvider at all and provided just an ISelectionProvider to the workbench. This partially caused other parts, like the property view to always react to model browser selection changes via immediate selection events instad of post selection events. The important lesson here is to just listen to either postSelection or selection, not both. gitlab #184 gitlab #185 Change-Id: I57fd7b6663bfa06f05105f6fa01e8d9a710c0ce0
Added possibility to directly schedule filter setting type URI Also changed the typeURI load to directly set the filter text instead of scheduling it to be set after a quiet time (500ms). This makes way for a bit cleaner UI experience. gitlab #140 Change-Id: If999ccf69182e56da2f520e2922ba2a7ed26ffdc
UI locking fixes for GraphExplorer implementations GraphExplorer implementations contained ExplorerState restore code that was ran synchronously in the UI thread. It will possibly require DB read transactions which locks the UI up. Persisted explorer state loading has now been moved into a Job from GraphExplorer implementations and GraphExplorerComposite. Also contains fixes for doSetColumns of all graph explorer implementations which was using a Map with the wrong keys. gitlab #160 Change-Id: I879fe4a099db70d5d8bbba185b4dc9d745c80911
Type specific graph explorer filter area gitlab #140 Change-Id: I62c0323cabfcf448f037f7cf3cc4fd3f7d2b65d6
Remove usage of deprecated SimanticsUI-methods gitlab #95 Change-Id: Ia5a4dfc13d4a9ecce0b3182ee1b38f63fb67731d
Add workbenchselection json fetcher to SCL interface Requires some small refactoring changes to AdaptableHintContext and classes using it, which is why so many files were affected. gitlab #41 Change-Id: I35bc8abe9e1eca8ff34ee503925645ee14d41664
DefaultMouseListener was added twice in GraphExplorerComposite Changed ExpandNodeHandler double click action to perform its search for editor adapters based on the input object provided in the double click event instead of the NodeContext potentially contained by the input object. This makes it use the same logic as OpenDefaultEditor adapter. refs #7434 Change-Id: Ic22bbd98406f61df55817e76e5b2feabe0aedd5e
Fixed NPE problem from org.simantics.browsing.ui.swt.widgets.Button Also fixed org.simatnics.modeling.ui.chart.property.BooleanPropertyFactory to not return null as Boolean selected. refs #7527 Change-Id: I5f641141ce23ae214b775ccdf57cf55193491a61