Bug 201966 - [Schema][Editors] Buttons should not be enabled with editor is not editable
Summary: [Schema][Editors] Buttons should not be enabled with editor is not editable
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Brian Bauman CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
: 202284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-31 17:44 EDT by Mike Pawlowski CLA
Modified: 2007-09-18 17:49 EDT (History)
2 users (show)

See Also:


Attachments

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