Bug 201966

Summary: [Schema][Editors] Buttons should not be enabled with editor is not editable
Product: [Eclipse Project] PDE Reporter: Mike Pawlowski <mike.pawlowski>
Component: UIAssignee: Brian Bauman <baumanbr>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: baumanbr, caniszczyk
Version: 3.4Keywords: bugday
Target Milestone: 3.4 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mike Pawlowski CLA 2007-08-31 17:44:00 EDT
Eclipse version >= Build id: I20070828-0800

Steps To Reproduce:

(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
    -> BUG:  The following buttons are enabled:
       - "New Choice"
       - "New Sequence"
       - "Remove"
    -> EXPECTED:  The buttons should be disabled if the editor is not
       editable
Comment 1 Brian Bauman CLA 2007-09-05 17:25:32 EDT
*** Bug 202284 has been marked as a duplicate of this bug. ***
Comment 2 Brian Bauman CLA 2007-09-18 17:48:28 EDT
Since I created a duplicate bug a while back, I figured I would just go ahead and fix the problem for M2.
Comment 3 Brian Bauman CLA 2007-09-18 17:49:46 EDT
Modified org.eclipse.pde.internal.ui.editors.schema.ElementSection to fix this behavior