From: <fra...@us...> - 2009-03-05 04:28:17
|
Revision: 1250 http://javapathfinder.svn.sourceforge.net/javapathfinder/?rev=1250&view=rev Author: frankrimlinger Date: 2009-03-05 04:28:04 +0000 (Thu, 05 Mar 2009) Log Message: ----------- Introduced GumboCommand. All messages sent to the gumbo router now extend GumboCommand, and a posted GumboCommand executes by passing itself to the gumbo router. This serializes all the calls to the gumbo router, eliminating the ConcurrentModification bug. Introduced the GUMBO priority for these messages, which is very high, to make the gui as responsive as possible. (This strategy may serve as a prototype for introducing jpf functionality.) Realized there is yet another timing issue. It turns out it was not a great idea for pop-up menu creation to short-circuit the command mechanism. The trouble is that decision to display or not display a given menu item is resolved by appealing to the mango model, and so just like in the gumbo case, the model gets trashed by competing threads. Fix by reintroducing the selection logic command. If the popup is sluggish when other stuff is running, oh well, there is no help for it. Modified Paths: -------------- branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/DeprecatedMethods.java branches/mango/extensions/mango/Mango/src/mango/graph/msg/GraphViewCreateCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/graph/msg/MultiGraph3DViewCreateCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/module/definition/msg/AddEquivalenceLocatorMsg.java branches/mango/extensions/mango/Mango/src/mango/source/agent/msg/SourceViewCreateCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/tree/model/FolderViewer.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/ChangeTreeCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/MsgSendAspect.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/TreeNodeAddCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/TreeTabCreateCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/TreeViewCreateCommandMsg.java branches/mango/extensions/mango/Mango/src/mango/tree/msg/UpdateParityModelsMsg.java branches/mango/extensions/mango/Mango/src/mango/workstation/Workstation.java branches/mango/extensions/mango/Mango/src/mango/workstation/interaction/PopUpMenuEnabler.java branches/mango/extensions/mango/Mango/src/mango/workstation/msg/SetAllActionsEnabledMsg.java branches/mango/extensions/mango/Mango/src/mango/workstation/msg/SetEnabledActionsMsg.java branches/mango/extensions/mango/Mango/src/mango/workstation/window/GlobalViewWindow.java branches/mango/extensions/mango/ThreadSupport/src/model/Priority.java Added Paths: ----------- branches/mango/extensions/mango/Mango/src/mango/gumboModel/ branches/mango/extensions/mango/Mango/src/mango/gumboModel/EmbeddedJVMFactory.java branches/mango/extensions/mango/Mango/src/mango/gumboModel/GraphModelFactory.java branches/mango/extensions/mango/Mango/src/mango/gumboModel/ListModelFactory.java branches/mango/extensions/mango/Mango/src/mango/gumboModel/MultiGraphModelFactory.java branches/mango/extensions/mango/Mango/src/mango/gumboModel/SourceModelFactory.java branches/mango/extensions/mango/Mango/src/mango/gumboModel/TreeModelFactory.java branches/mango/extensions/mango/Mango/src/mango/workstation/msg/GumboCommand.java Removed Paths: ------------- branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/EmbeddedJVMFactory.java branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/GraphModelFactory.java branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/ListModelFactory.java branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/MultiGraphModelFactory.java branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/SourceModelFactory.java branches/mango/extensions/mango/Mango/src/mango/deprecatedPackage/factory/TreeModelFactory.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |