1.1 --- a/src/org/bina/visualization/StandardControllerViewModeHandler.java Mon Oct 26 15:37:23 2009 +0100
1.2 +++ b/src/org/bina/visualization/StandardControllerViewModeHandler.java Wed Nov 04 15:05:38 2009 +0100
1.3 @@ -35,9 +35,8 @@
1.4
1.5 this.controller = controller;
1.6 }
1.7 -
1.8
1.9 - public void selectionMoving(double width, double height, final Collection<?> selectedElements) {
1.10 + public void selectionMoving(double width, double height, final Collection<?> selectedElements, int modifierMask) {
1.11 IHierarchyComponent commonAncestor = null;
1.12
1.13 for (Object o : selectedElements) {
2.1 --- a/src/org/bina/visualization/model/metabolic/impl/MetabolicThingMappingModel.java Mon Oct 26 15:37:23 2009 +0100
2.2 +++ b/src/org/bina/visualization/model/metabolic/impl/MetabolicThingMappingModel.java Wed Nov 04 15:05:38 2009 +0100
2.3 @@ -209,8 +209,9 @@
2.4 BioCoreDataSource ds = (BioCoreDataSource) controller.getSource();
2.5 if (ds.ready()) {
2.6 QueryHandler<List<SourceDatabase>> h = ds.getThingsByType(SourceDatabase.class);
2.7 - while (!h.hasEvent())
2.8 - Thread.yield();
2.9 + h.waitForResult();
2.10 +// while (!h.hasEvent())
2.11 +// Thread.yield();
2.12
2.13 if (h.isFinished()) {
2.14 for (SourceDatabase sd : h.getResult()) {
3.1 --- a/src/org/bina/visualization/model/regulatory/impl/RegulatoryThingMappingModel.java Mon Oct 26 15:37:23 2009 +0100
3.2 +++ b/src/org/bina/visualization/model/regulatory/impl/RegulatoryThingMappingModel.java Wed Nov 04 15:05:38 2009 +0100
3.3 @@ -196,8 +196,9 @@
3.4 BioCoreDataSource ds = (BioCoreDataSource) controller.getSource();
3.5 if (ds.ready()) {
3.6 QueryHandler<List<SourceDatabase>> h = ds.getThingsByType(SourceDatabase.class);
3.7 - while (!h.hasEvent())
3.8 - Thread.yield();
3.9 + h.waitForResult();
3.10 +// while (!h.hasEvent())
3.11 +// Thread.yield();
3.12
3.13 if (h.isFinished()) {
3.14 for (SourceDatabase sd : h.getResult()) {