Disable toolbar while operation is running
Are you missing a feature? Request its implementation here.
-
- Posts: 12
- Joined: Fri Sep 05, 2008 12:44 pm
Disable toolbar while operation is running
Hi,
If the toolbar buttons (and the commands) were disabled while a long running operation is ongoing, it would save some frustration for the user that has to close the dialogs saying "wait until I'm done".
best regards,
Vlad
If the toolbar buttons (and the commands) were disabled while a long running operation is ongoing, it would save some frustration for the user that has to close the dialogs saying "wait until I'm done".
best regards,
Vlad
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Disable toolbar while operation is running
Post by sorin_ristache »
Hello,
I assume you use the Eclipse plugin because in Oxygen standalone the actions started by the toolbar buttons do not block the UI. When there is a long operation which the user may want to cancel Oxygen standalone displays a progress dialog with a Cancel button which you can press at any time. Oxygen standalone does not block the UI.
On the Eclipse platform the actions started by the toolbar buttons are executed on the same thread as the user actions (clicking on other toolbar buttons, opening other files, etc) and the Oxygen plugin cannot change that. It is a rule enforced by the Eclipse paltform.
What is the action executed by the Oxygen plugin that blocks the Eclipse UI?
Regards,
Sorin
I assume you use the Eclipse plugin because in Oxygen standalone the actions started by the toolbar buttons do not block the UI. When there is a long operation which the user may want to cancel Oxygen standalone displays a progress dialog with a Cancel button which you can press at any time. Oxygen standalone does not block the UI.
On the Eclipse platform the actions started by the toolbar buttons are executed on the same thread as the user actions (clicking on other toolbar buttons, opening other files, etc) and the Oxygen plugin cannot change that. It is a rule enforced by the Eclipse paltform.
What is the action executed by the Oxygen plugin that blocks the Eclipse UI?
Regards,
Sorin
-
- Posts: 12
- Joined: Fri Sep 05, 2008 12:44 pm
Re: Disable toolbar while operation is running
Hi,
Yes, it's the Eclipse plugin that I use.
The UI is being blocked by the validation, for example, and the message in the status bar is very discrete (i.e. easy to miss). Since the toolbar is being disabled when the current file isn't xml, I think it would be easy and useful to disable it even while an action is running, as they are unusable anyway.
Of course, this is just my opinion
best regards,
Vlad
Yes, it's the Eclipse plugin that I use.
The UI is being blocked by the validation, for example, and the message in the status bar is very discrete (i.e. easy to miss). Since the toolbar is being disabled when the current file isn't xml, I think it would be easy and useful to disable it even while an action is running, as they are unusable anyway.
Of course, this is just my opinion

best regards,
Vlad
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Disable toolbar while operation is running
Post by sorin_ristache »
Hello,
The toolbar is not disabled because other operations available on the toolbar can be executed at the same time with the running operation. For example the actions Clear Validation Markers, Check Spelling, Show Definition can be executed while a transformation started by Apply Transformation Scenario is in progress.
If the current file is not an XML one and the file is not opened with an editor of the Oxygen plugin (Oxygen XML Editor, Oxygen XSL Editor, Oxygen XSD Editor, etc.) then the toolbar is not visible at all and this is done by the Eclipse platform, not by a plugin.
Regards,
Sorin
The toolbar is not disabled because other operations available on the toolbar can be executed at the same time with the running operation. For example the actions Clear Validation Markers, Check Spelling, Show Definition can be executed while a transformation started by Apply Transformation Scenario is in progress.
If the current file is not an XML one and the file is not opened with an editor of the Oxygen plugin (Oxygen XML Editor, Oxygen XSL Editor, Oxygen XSD Editor, etc.) then the toolbar is not visible at all and this is done by the Eclipse platform, not by a plugin.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service