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

0
4 comments
Avatar
Permanently deleted user

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

0

thanks,..... seems need to find another way of doing this

0
Avatar
Permanently deleted user

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() {]]>}});

0

Please sign in to leave a comment.