Community
Participate
Working Groups
To reproduce: 1. Create a new geoshapes diagram. RESULT -- The zoom toolbar item where you specify the zoom percentage is disabled. It should be enabled. 2. Create a second geoshapes diagram. RESULT -- The zoom toolbar item is enabled as expected. 3. Switch back to the first diagram. RESULT -- The zoom toolbar item is enabled as expected.
Is this a Contribution item service issue?
Changing component to "Runtime Diagram"
Created attachment 28291 [details] AbstractContributionItemProvider fix and LogicDiagramTests Contributed by Cherie Mahoney
Purpose: Bugzilla 110815 Zoom toolbar item not enabled until multiple diagrams are open - Small change to AbstractContributionItemProvider so that when the init() is not called on a custom contribution item when it is retrieved from the adapter. - Added a new JUnit for this scenario: org.eclipse.gmf.tests.runtime.diagram.ui.logic.LogicDiagramTests.testZoomToolbar Enablement Activities: Bugzilla 110815 gmf_head sshaw 051013 Zoom toolbar item not enabled until multiple diagrams are open Code Reviewed by: Steve How tested: - Verified the zoom toolbar items and color toolbar items are enabled when the first diagram is opened. - Adhoc zoom tests with the zoom toolbar item. 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