Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320050 - Edit button for stereotypes that can't be edited should be disabled
Summary: Edit button for stereotypes that can't be edited should be disabled
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Daniel Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 19:11 EDT by Navid Mehregani CLA
Modified: 2010-08-24 14:24 EDT (History)
2 users (show)

See Also:


Attachments
patch_320050.txt (1.51 KB, patch)
2010-08-17 14:23 EDT, Daniel Johnson CLA
no flags Details | Diff

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