Bug 202284 - [Schema][Editors] Extensions Point Element's section's button shouldn't be enabled when read-only
Summary: [Schema][Editors] Extensions Point Element's section's button shouldn't be en...
Status: RESOLVED DUPLICATE of bug 201966
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2007-09-05 11:20 EDT by Brian Bauman CLA
Modified: 2007-09-05 17:25 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 Brian Bauman CLA 2007-09-05 11:20:39 EDT
The Extension Point Element Section on the Definition page of the Schema Editor has buttons to allow users to add/remove elements.  When the schema is opened on a read-only file, these buttons should be disabled. 

Steps (copied from bug 201964 from Mike)

(1) Open "org.eclipse.pde.doc.user" manifest file
(2) Go to "Extensions" page
(3) Select "org.eclipse.help.toc"
(4) Click the "Open extension point schema" hyperlink
(5) Go to the "Definition" page

Expected: Since file is read-only New Choice, New Sequence and Remove buttons should not be enabled.

Since I don't have mylyn installed, I am not going to attach a mylyn context.  But the implementation for the section in question is in class org.eclipse.pde.internal.ui.editor.schema.ElementSection.
Comment 1 Brian Bauman CLA 2007-09-05 17:25:32 EDT
Opps, Mike already has it under control :)

*** This bug has been marked as a duplicate of bug 201966 ***