[
https://issues.jboss.org/browse/JBIDE-22386?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich edited comment on JBIDE-22386 at 5/19/16 5:19 PM:
------------------------------------------------------------------------
I suggest enhancing WizardUtils class that has methods WizardUtils.runInWizard(...
IWizardContainer ...) by adding to it new methods WizardUtils.runInUI(... IRunnableContext
...). Old methods may be implemented by calls to the new ones because IWizardContainer
extends IRunnableContext. Then we may call runInUI from editors using the application
window as the runnable context.
For this issue, call WizardUtils.runInUI(new UIJob("Select a service") { /* call
dialog here*/ }, PlatformUI.getWorkbench().getActiveWorkbenchWindow()) will disable the
button while the dialog is starting, and show progress for the job.
was (Author: scabanovich):
I suggest enhancing WizardUtils class that has methods WizardUtils.runInWizard(...
IWizardContainer ...) by adding to it new methods WizardUtils.runInUI(... IRunnableContext
...). Old methods may be implemented by calls to the new ones because IWizardContainer
extends IRunnableContext. Then we may call runInUI from editors using the application
window as the runnable context.
For this issue, call WizardUtils.runInUI(new UIJob("Select a wiard") { /* call
dialog here*/ }, PlatformUI.getWorkbench().getActiveWorkbenchWindow()) will disable the
button while the dialog is starting, and show progress for the job.
Server Editor: Select different service takes too long
------------------------------------------------------
Key: JBIDE-22386
URL:
https://issues.jboss.org/browse/JBIDE-22386
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.0.Alpha1
Reporter: Marián Labuda
Labels: openshift_v3, server_editor
Trying to select a different service for an OpenShift 3 Server Adapter in Server Editor
takes too long. After click on the Select... button it takes ~2-3 seconds to open dialog
to select a different service. It would be ok to take it that time if there would be some
indication that something is happening, but there is no job while "something" is
happening.
Also clicking on the button multiple times (if it is not responsible, I clicked again and
again and again), it takes a bit longer and open multiple dialogs.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)