Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320050

Summary: Edit button for stereotypes that can't be edited should be disabled
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: UIAssignee: Daniel Johnson <danijoh2>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chrhartl, erdillon
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch_320050.txt none

Description Navid Mehregani CLA 2010-07-15 19:11:47 EDT
Build Identifier: 

See 'Steps to Reproduce'


Reproducible: Always

Steps to Reproduce:
1. Open an Association in editor
2. Under Stereotypes, click on Add > Provisional > OK
3. Select stereotype > Edit > Notice that there is nothing to edit.  An empty dialog pops up!  Edit button for stereotypes that can't be edited should be disabled.
Comment 1 Navid Mehregani CLA 2010-08-16 14:03:21 EDT
Eric, can you please assign this to Dan? It looks like something he'd be able to handle.
Comment 2 Daniel Johnson CLA 2010-08-17 14:23:23 EDT
Created attachment 176825 [details]
patch_320050.txt

Now queries the stereotype selected in the list and only allows you to click the "edit" button, or double-click to edit if the stereotype has at least one attribute.
Class Changed:
StereotypeSectionManager.java
Comment 3 Navid Mehregani CLA 2010-08-24 14:24:43 EDT
Reviewed and submitted patch.