ProgressBar with Background button
Im developing an webservice deployment tool and using the
ApplicationManager.getApplication().runProcessWithProgressSynchronously(.......)
to run the job with the progress bar.
want to enable the background button on the progress bar. Couldn't find the API to do this.
Help me to get on with this
Thanks in advance
Ruwan
Please sign in to leave a comment.
There is no OpenAPI for this. However you can have a look at com.intellij.openapi.progress.ProgressManager as well as com.intellij.openapi.progress.ProgressIndicator which you'd have to implement. There's some non-official classes in idea.jar that you could inherit from to build your own indicator though. Looking at com.intellij.usages.impl.UsageViewImplUtil and its usages in the OpenAPI could help as well.
Sascha
thanks,..... seems need to find another way of doing this
Hello,
You can try this:
final FindProgressIndicator progressIndicator = new FindProgressIndicator(project, "");
progressIndicator.setTitle("My name");
UsageViewImplUtil.runProcessWithProgress(progressIndicator, new Runnable() {
public void run() {}},public void run() {]]>}});
great... it works
thanks