[jbosstools-issues] [JBoss JIRA] (JBIDE-17268) Forge wizards block eclipse UI while executing - need to be stoppable/canceble
Max Rydahl Andersen (JIRA)
issues at jboss.org
Wed Jun 25 16:45:26 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated JBIDE-17268:
----------------------------------------
Summary: Forge wizards block eclipse UI while executing - need to be stoppable/canceble (was: Forge wizards block eclipse UI while executing - need to be backgroundable)
Description:
Forge wizards currently can block the eclipse UI. Run any non-trivial command and the Eclipse interface will be completely blocked until the forge command is cancelled, which may not be possible if the command is not using a fine-grained progress monitor and checks frequently.
Introducing a threaded command execution would allow the use of {code}commandThread.interrupt(){code}
And should allow both backgrounding of running wizards, but also more reliable cancellation with Forge's proxy support for thread interrupt handling.
Alternative is to:
provide method to cancel progress.
on first try cancel if command is "CanCancel" then use progress monitor cancel, if not use thread.interrupt() that will stop the progress on proxy boundaries.
was:
Forge wizards currently can block the eclipse UI. Run any non-trivial command and the Eclipse interface will be completely blocked until the forge command is cancelled, which may not be possible if the command is not using a fine-grained progress monitor and checks frequently.
Introducing a threaded command execution would allow the use of {code}commandThread.interrupt(){code}
And should allow both backgrounding of running wizards, but also more reliable cancellation with Forge's proxy support for thread interrupt handling.
> Forge wizards block eclipse UI while executing - need to be stoppable/canceble
> ------------------------------------------------------------------------------
>
> Key: JBIDE-17268
> URL: https://issues.jboss.org/browse/JBIDE-17268
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: forge
> Affects Versions: 4.2.0.Beta1
> Reporter: Lincoln Baxter III
> Assignee: Koen Aers
> Priority: Critical
> Fix For: 4.2.0.Beta3
>
>
> Forge wizards currently can block the eclipse UI. Run any non-trivial command and the Eclipse interface will be completely blocked until the forge command is cancelled, which may not be possible if the command is not using a fine-grained progress monitor and checks frequently.
> Introducing a threaded command execution would allow the use of {code}commandThread.interrupt(){code}
> And should allow both backgrounding of running wizards, but also more reliable cancellation with Forge's proxy support for thread interrupt handling.
> Alternative is to:
> provide method to cancel progress.
> on first try cancel if command is "CanCancel" then use progress monitor cancel, if not use thread.interrupt() that will stop the progress on proxy boundaries.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list