Bug 111610

Summary: Palette not updated when diagram is opened which prompts to enable capability
Product: [Modeling] GMF-Runtime Reporter: Cherie Revells <crevells>
Component: GeneralAssignee: Cherie Revells <crevells>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: schafe
Version: 1.0Keywords: contributed
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Cherie Revells CLA 2005-10-05 10:19:31 EDT
Scenario:
Client has a scenario where a capability is being enabled during the opening of 
a diagram.  Their palette drawer was not being added.

Problem:
In the DiagramEditorWithFlyOutPalette class, the palette gets created and then 
when the editor is initialized I add the listener, but the capability is 
getting enabled between those two.  I need to add the listener as soon as the 
palette is created.
Comment 1 Cherie Revells CLA 2005-10-05 16:22:23 EDT
Purpose: 
- In the DiagramEditorWithFlyOutPalette class, the palette gets created and 
then when the editor is initialized I add the listener, but the capability is 
getting enabled between those two. I now add the listener in the startListening 
method. 

Activities: 
bugzilla 111610 gmf_head sshaw 051005 Palette not updated when diagram is 
opened which prompts to enable capability 

Code Reviewed by: 
Steve 

How tested: 
- tested client scenario.

JUnit Tests:   

Launching org.eclipse.gmf.tests.runtime.diagram.ui 

OK, Runs:        58, Fails:        0, Errors:        0, 
org.eclipse.gmf.tests.runtime.diagram.ui, Time:        54.312 

Impact on QE: 
n/a 

Impact on Doc: 
n/a 

Impact on Build: 
n/a 
Comment 2 Eclipse Webmaster CLA 2010-07-19 21:55:56 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Common was the original product and component for this bug