Community
Participate
Working Groups
If a user is working in multiple views, such as the properties view and outline, each time the mouse moves over the diagram editor en route to another view, the diagram assistants (actionbar and connector handles) pop up. To reduce visual clutter, enable the diagram assistants on the diagram editor only if the diagram editor is active (i.e. it is blue).
Created attachment 28292 [details] Patch Contributed by: Cherie Mahoney
See attached patch. Purpose: Bugzilla 112521 Diagram Assistants should not appear if editor is not active - Created method DiagramAssistantEditPolicy.shouldShowDiagramAssistant which checks the conditions that must be met before showing the diagram assistant. - I moved condition checking spread throughout ActionBarEditPolicy and ConnectorHandleEditPolicy to this new method. - I created a new condition where the diagram assistant will not appear if the currently active part is not the diagram. - Created a new JUnit: org.eclipse.gmf.tests.runtime.diagram.ui.logic.DiagramAssistantTests.testShouldS howDiagramAssistant Activities: Bugzilla 112521 gmf_head sshaw 051013 Diagram Assistants should not appear if editor is not active Code Reviewed by: Steve How tested: Adhoc testing with connector handles and actionbars including - using spacebar to trigger actionbar & connector handles - verify connector handle and actionbar preference still works JUnit Tests: Launching org.eclipse.gmf.tests.runtime.diagram.ui OK, Runs: 64, Fails: 0, Errors: 0, org.eclipse.gmf.tests.runtime.diagram.ui, Time: 83.718
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug