Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311950 - [EditorMgmt] NotEnabledException from Command framework in the MultipageEditor
Summary: [EditorMgmt] NotEnabledException from Command framework in the MultipageEditor
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 14:36 EDT by saurav sarkar CLA
Modified: 2021-11-29 12:36 EST (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 saurav sarkar CLA 2010-05-06 14:36:20 EDT
Build Identifier: I20090611-1540

Hi All,

I have a MultipageEditor implementation.Then i try to add the pages dynamically during my application opeations.The dynamically added page does not respond to the ctrl-s.My editor page is a StructuredTextEditor instance.
By debugging i found that the SaveAction is not enabled, hence its throwing the exeption from the Command class.
The exception is
Trying to execute the disabled command 'org.eclipse.ui.file.save'

I checked that the editor is getting dirty and property change event is fired.

More Details could be found in these forum threads where both of them seem to be the same problem

http://www.eclipse.org/forums/index.php?t=msg&th=167717&start=0&
http://www.eclipse.org/forums/index.php?&t=msg&th=10 9900.

I may be wrong in my understanding, please close the bug if it is not appropriate.

Thanks and Regards,
Saurav


Reproducible: Always
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:12:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-11-29 12:36:18 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.