]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Changed SelectionProcessor to receive Collection<?> instead of ISelection as the...
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 4 Aug 2010 13:40:43 +0000 (13:40 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 4 Aug 2010 13:40:43 +0000 (13:40 +0000)
commitf3b494833df4cb7de4268b0c0f17fd1e2dcbb1e5
tree7549401db46c14a683b6f7fb2e202d1d533f58d0
parent15227a4f814d873bffa27df663dec5e3c583ba40
Changed SelectionProcessor to receive Collection<?> instead of ISelection as the input selection.
This is because of Eclipse bug #254570 which causes StructuredSelection to be unusable as a DB query
identity.

Also changed GE mouse doubleclick handlers to pass the direct contents of the GE's selection to the
double click handlers instead of the data behind TreeItem.getData(). This makes double click handling
uniform with respect to other selection testing, which is performed in EditorAdapter implementations
for example.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16942 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java