Bug 111610 - Palette not updated when diagram is opened which prompts to enable capability
Summary: Palette not updated when diagram is opened which prompts to enable capability
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 major
Target Milestone: ---   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-10-05 10:19 EDT by Cherie Revells CLA
Modified: 2010-07-19 21:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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